3. Data flow
3.1 Topics
Names relative to the node’s namespace; the nodes run in the global namespace, the driver in /x30. Latched topics carry a state and arrive at once on subscription.
| Topic | Type | From | To |
|---|---|---|---|
/x30/cmd_vel | Twist | control mux | x30_driver |
control/nav_cmd_vel | Twist | path follower, docking | control mux, avoidance |
control/remote/handheld/cmd_vel | Twist | handheld gateway | control mux |
control/estop_request | String | gateway, uplink | control mux (latches at once) |
control/status | ControlStatus (latched) | control mux | follower, docking, health, gateway, uplink |
/livox/lidar | Livox CustomMsg | Deep Robotics’ driver | scans, FAST-LIO |
/imu/data | Imu | Deep Robotics’ driver | start gate, FAST-LIO, monitor, levelling |
perception/safety_scan | SectorScan | lidar_sector_node | control mux, follower, health |
perception/sector_scan | SectorScan | lidar_sector_node | avoidance |
/Odometry | Odometry | FAST-LIO | monitor, localization |
odometry/status | OdometryStatus (latched) | odometry monitor | health |
odometry/trip | TripStatus (latched) | odometry monitor | gateway |
odometry/restarted | Empty | odometry monitor | localization |
localization/status | LocalizationStatus | localization | follower, route recorder, health |
localization/pose | PoseWithCovariance | localization | recorder |
site/status | SiteStatus (latched) | site manager | route recorder, inspection, recorder |
navigation/waypoints | WaypointPath | path loader | follower |
navigation/avoidance | AvoidanceCommand | avoidance | follower |
navigation/status | NavigationStatus (latched) | follower | gateway, uplink, recorder |
navigation/stop_point | StopPointEvent | follower | inspection |
route/saved | String | route recorder | uplink |
inspection/report | InspectionReport | inspection | uplink |
inspection/status | InspectionStatus (latched) | inspection | gateway, uplink |
recorder/status | RecorderStatus (latched) | recorder | gateway, uplink |
health/status | HealthStatus (latched) | health monitor | control mux, gateway, uplink |
/diagnostics | DiagnosticArray | health monitor | gateway, uplink (the computer’s figures) |
/x30/diagnostics | DiagnosticArray | driver | gateway, uplink (the driver’s status) |
3.2 Services
| Service | Type | Does |
|---|---|---|
control/set_mode | SetMode | AUTO or REMOTE (with the source) |
control/estop/engage, release | Trigger | the software e-stop |
navigation/start, stop, pause, resume | Trigger | the follower; start waits for a pose |
navigation/set_path | SetPath | a path given directly |
navigation/load_path | LoadPath | a route CSV of the sites directory |
route/start, stop, mark_stop_point | Trigger, MarkStopPoint | teach a route |
site/list, site/load | ListSites, LoadSite | the sites |
localization/start | Trigger | localize from a tag in view (no gate) |
localization/reset, assume_origin | Trigger | forget |
localization/record_tags, load_tags | Trigger, LoadFile | the site’s tags |
docking/dock, undock, cancel | Trigger | docking |
inspection/inspect | Trigger | the point where the robot stands (minutes) |
inspection/add_target | AddTarget | teach a target from the camera’s current pose |
recorder/start, stop | Trigger | manual recording |
odometry/trip_reset | Trigger | the trip meter |
/x30/stand_up, sit_down, gait_walk, … | Trigger | the driver’s robot commands |
3.3 Transforms
localization_node: identity at the start (the start spot is the origin), corrected by tags. A correction is published as the old value just before its time and the new one at it, so a lookup between two corrections never interpolates across a jump.the localization’s bridge of FAST-LIO: FAST-LIO’s pose levelled by gravity at the start (the IMU’s up direction gives roll and pitch), so odom’sis up even when the robot started on a slope. - base_link to the sensors
robot_state_publisherfrom the URDF; the LiDAR’s frame fromlidar_pose.
3.4 Messages
| Message | Carries |
|---|---|
| ControlStatus | who drives, the e-stop and its reasons, the protective field’s state |
| SectorScan | the nearest obstacle per angular sector (REP-103), blocked sectors |
| OdometryStatus, TripStatus | trust in the odometry; distance and speeds since the reset |
| LocalizationStatus | NONE, LOCALIZED or UNCERTAIN, the last correction’s source, |
| SiteStatus | the active site and what it holds |
| Waypoint, WaypointPath | a route: poses with their dwell (stop points) |
| NavigationStatus | the follower’s state, progress, pause reasons, message |
| StopPointEvent | the follower at a stop point |
| AvoidanceCommand | reactive avoidance’s bend of the command, its emergency |
| DockingStatus | docking onto a tagged charger |
| InspectionReport, InspectionFinding | everything measured at a point; one criterion’s result |
| InspectionStatus | ready, busy, the last point’s severity |
| RecorderStatus | what the perception host records, where, the free disk |
| HealthStatus | the overall level, the issues, the speed scale |