1. How the settings are organized
1.1 Five places
| Place | File | What goes there |
|---|---|---|
| Robot profile | x30_bringup/config/robot.yaml | the body and its motion limits, read by every node under robot/; read-only at runtime |
| Node settings | x30_<package>/config/*.yaml | each node’s own parameters (Appendix A) |
| Launch arguments | /etc/x30/<role>.env, X30_LAUNCH_ARGS | which parts run on a host and with what: the site, the controller, NETRA, the camera hosts |
| Secrets | /etc/x30/<role>.env | tokens and camera passwords, as environment variables only (never parameters: roslaunch prints parameters) |
| Sites | ~/x30/map/<site>/ | routes, stop points, tags and inspection points of a substation: taught, not tuned |
The profile is the one place for numbers several nodes must agree on: the footprint, the speeds, the braking. A node never keeps its own copy of them; where a node needs a stricter value (the follower’s cruise speed below max_vx), its own parameter can only lower it.
1.2 Live and start-only parameters
Every parameter is declared in a configuration dataclass with its unit, range and description, and validated when the node starts: a value outside its range or a contradiction (an approach speed above the cruise speed) stops the node with the reason. The tables of Appendix A come from the same declarations.
A live parameter is read again every second. Changing it on the parameter server takes effect within that second; an invalid value is rejected with a log line and the old value stays.
A parameter marked
is read at start only: change it in the YAML file and restart the host’s service.
rosparam set /control_mux_node/field/margin 0.2
rosparam get /control_mux_node/fieldThe first is live, in effect within 1 s; the second shows what the node runs with.
A live change does not survive a restart
The parameter server is filled from the YAML files at every start. Try a value live, then write it into the YAML file of the workspace (or the package’s) so the next start keeps it.
1.3 Where to start
Tune from the bottom up: each layer relies on the one below being right.
The profile: measure the base height, the braking and the reaction time (Chapter 2). Every safety distance follows from them.
The driver: the signs of the axes and the gait’s speed limits (Chapter 3).
The scans: the LiDAR’s mount and the height band; a scan that misses an obstacle or sees the floor makes every layer above wrong (Chapter 5).
The protective field: its margins on the measured braking (Chapter 4).
Odometry and localization: the drift and the tags (Chapters 6 and 7).
Record before and after
A change is judged on data, not on a feeling: rosbag record the topics of the layer before and after the change, on the same route, and compare. The trip meter (odometry/trip) and navigation/status give the time per lap and the stops.