🛰️ Supported Servers¶
RRC (ROS2 Remote Control) supports two types of servers:
- Synchronous TCP server
- Synchronous UDP server
- Synchronous HTTP v1.1 server
The active server is selected via the server_type
parameter in the YAML configuration file.
🔧 Configuration Example¶
server_type: udp
servers:
tcp_server:
type: tcp
port: 59374
udp_server:
type: udp
port: 59374
http1_server:
type: http-1.1
port: 59374
📘 Configuration Parameters¶
Parameter | Description |
---|---|
server_type |
Selects which server to launch |
servers |
List of available servers and their configuration |
type |
Type of server |
port |
Port number the server listens on |
You can define both TCP and UDP servers, but only the one specified by server_type
will be used during runtime.