2. The robot profile and its braking model
2.1 The profile
x30_bringup/config/robot.yaml describes the X30 once for the whole stack. Its values come from Deep Robotics’ manuals and from measurements on the robot:
| Parameter | X30 | Where it comes from |
|---|---|---|
kinematics | omni | legged: forward, sideways and turning at once |
footprint.front, rear | 0.50 m | standing length 1000 mm, base_link in the middle of the body |
footprint.half_width | 0.235 m | standing width 470 mm |
base_height | 0.48 m | base_link above the floor when standing: measure |
limits.max_vx | 0.75 m/s | Walk gait: 1.2 m/s forward, 0.75 m/s backward |
limits.max_vy | 0.15 m/s | Walk gait sideways (L-Walk 0.5 m/s) |
limits.max_wz | 0.45 rad/s | Walk gait (L-Walk 1.2 rad/s) |
limits.max_accel | 0.5 m/s2 | comfortable start |
limits.max_decel | 0.6 m/s2 | braking: measure (Section 2.3) |
limits.max_yaw_accel | 1.5 rad/s2 | yaw braking: measure |
limits.reaction_time | 0.3 s | a 10 Hz LiDAR, the scan, the mux, the 50 Hz axis stream |
The limits are what the stack may command, so every gait the robot walks in must reach them: the Walk gait’s 0.15 m/s sideways is why max_vy is low. The profile is read-only at runtime; a change needs a restart of every host.
2.2 One braking model
Every speed limit of the stack (the protective field, the follower’s guard, the speed profile before a stop point, path shift) uses one model of how far the robot travels from the moment a command at speed
with reaction_time: sensing, transport, the robot’s own latency) and max_decel). Read backwards, it gives the highest speed that still stops within a free distance
The same two equations hold for turning, with the yaw rate max_yaw_accel) and the free angle
Why the reaction time matters most at low speed
At 0.25 m/s the reaction term
2.3 Measuring the braking
Measure on the substation’s own ground, with the payload mounted and a charged battery: a heavier robot or a slippery surface brakes later.
Mark a straight, free 10 m lane. Record the command and the odometry:
bashrosbag record -O brake.bag /x30/cmd_vel /OdometryIn REMOTE, walk the robot along the lane at a steady speed
for at least 3 m, then let go of the stick at once (the command drops to zero). Repeat three times each at 0.25, 0.5 and 0.75 m/s.
From the bag, for each stop:
the time the command dropped, the time the odometry speed starts to fall, the time it reaches zero, and the distance travelled from to .
Then
For example,
Never round the measurements toward the robot’s favour
A higher max_decel or a lower reaction_time than measured makes every safety distance of the stack too short. When in doubt, keep the larger distance.
2.4 The base height
base_height levels the LiDAR’s points (the height band of Chapter 5 counts from the floor) and places the near-field blind zone. Measure the height of base_link (the middle of the body, application manual 6.1) above the floor with the robot standing on level ground, to the centimetre.