Files
allwpilib/simulation/halsim_ws_client
Peter Johnson b2c3b2dd8e Use std::string_view and fmtlib across all libraries (#3402)
- Twine, StringRef, Format, and NativeFormatting have been removed
- Logging now uses fmtlib style formatting
- Nearly all uses of wpi::outs/errs have been replaced with fmt::print() or
std::puts()/std::fputs() (for unformatted strings).
- A wpi/fmt/raw_ostream.h header has been added to enable
fmt::print() with wpi::raw_ostream
2021-06-06 16:13:58 -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".