Files
allwpilib/simulation/halsim_ws_client
Peter Johnson f620141e0d [wpiutil] Replace LLVM StringMap impl with std::map
As string_view operations on std::map<std::string> won't be integrated
until C++26, placeholder implementations are used which are less efficient
in a couple of situations (e.g. insert with hint).
2024-10-31 22:04:13 -07:00
..

HAL WebSockets Client

This is an extension that provides a client version of a WebSockets API for transmitting robot hardware interface state over a network. See the Robot Hardware Interface WebSockets API specification for more details on the protocol.

Configuration

The WebSockets client has a number of configuration options available through environment variables.

HALSIMWS_HOST: The host to connect to. Defaults to localhost.

HALSIMWS_PORT: The port number to connect to. Defaults to 3300.

HALSIMWS_URI: The URI path to connect to. Defaults to "/wpilibws".