Skip to content

1. How the settings are organized ​

1.1 Five places ​

PlaceFileWhat goes there
Robot profilex30_bringup/config/robot.yamlthe body and its motion limits, read by every node under robot/; read-only at runtime
Node settingsx30_<package>/config/*.yamleach node’s own parameters (Appendix A)
Launch arguments/etc/x30/<role>.env, X30_LAUNCH_ARGSwhich parts run on a host and with what: the site, the controller, NETRA, the camera hosts
Secrets/etc/x30/<role>.envtokens 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.

bash
rosparam set /control_mux_node/field/margin 0.2
rosparam get /control_mux_node/field

The 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.

  1. The profile: measure the base height, the braking and the reaction time (Chapter 2). Every safety distance follows from them.

  2. The driver: the signs of the axes and the gait’s speed limits (Chapter 3).

  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).

  4. The protective field: its margins on the measured braking (Chapter 4).

  5. Odometry and localization: the drift and the tags (Chapters 6 and 7).

  6. Route following and avoidance last (Chapters 8 and 9).

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.