Skip to content

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.

TopicTypeFromTo
/x30/cmd_velTwistcontrol muxx30_driver
control/nav_cmd_velTwistpath follower, dockingcontrol mux, avoidance
control/remote/handheld/cmd_velTwisthandheld gatewaycontrol mux
control/estop_requestStringgateway, uplinkcontrol mux (latches at once)
control/statusControlStatus (latched)control muxfollower, docking, health, gateway, uplink
/livox/lidarLivox CustomMsgDeep Robotics’ driverscans, FAST-LIO
/imu/dataImuDeep Robotics’ driverstart gate, FAST-LIO, monitor, levelling
perception/safety_scanSectorScanlidar_sector_nodecontrol mux, follower, health
perception/sector_scanSectorScanlidar_sector_nodeavoidance
/OdometryOdometryFAST-LIOmonitor, localization
odometry/statusOdometryStatus (latched)odometry monitorhealth
odometry/tripTripStatus (latched)odometry monitorgateway
odometry/restartedEmptyodometry monitorlocalization
localization/statusLocalizationStatuslocalizationfollower, route recorder, health
localization/posePoseWithCovariancelocalizationrecorder
site/statusSiteStatus (latched)site managerroute recorder, inspection, recorder
navigation/waypointsWaypointPathpath loaderfollower
navigation/avoidanceAvoidanceCommandavoidancefollower
navigation/statusNavigationStatus (latched)followergateway, uplink, recorder
navigation/stop_pointStopPointEventfollowerinspection
route/savedStringroute recorderuplink
inspection/reportInspectionReportinspectionuplink
inspection/statusInspectionStatus (latched)inspectiongateway, uplink
recorder/statusRecorderStatus (latched)recordergateway, uplink
health/statusHealthStatus (latched)health monitorcontrol mux, gateway, uplink
/diagnosticsDiagnosticArrayhealth monitorgateway, uplink (the computer’s figures)
/x30/diagnosticsDiagnosticArraydrivergateway, uplink (the driver’s status)

3.2 Services ​

ServiceTypeDoes
control/set_modeSetModeAUTO or REMOTE (with the source)
control/estop/engage, releaseTriggerthe software e-stop
navigation/start, stop, pause, resumeTriggerthe follower; start waits for a pose
navigation/set_pathSetPatha path given directly
navigation/load_pathLoadPatha route CSV of the sites directory
route/start, stop, mark_stop_pointTrigger, MarkStopPointteach a route
site/list, site/loadListSites, LoadSitethe sites
localization/startTriggerlocalize from a tag in view (no gate)
localization/reset, assume_originTriggerforget mapTodom; take odom as the map
localization/record_tags, load_tagsTrigger, LoadFilethe site’s tags
docking/dock, undock, cancelTriggerdocking
inspection/inspectTriggerthe point where the robot stands (minutes)
inspection/add_targetAddTargetteach a target from the camera’s current pose
recorder/start, stopTriggermanual recording
odometry/trip_resetTriggerthe trip meter
/x30/stand_up, sit_down, gait_walk, …Triggerthe driver’s robot commands

3.3 Transforms ​

  • mapTodom 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.
  • odomTbase_link 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’s z is up even when the robot started on a slope.
  • base_link to the sensors robot_state_publisher from the URDF; the LiDAR’s frame from lidar_pose.

3.4 Messages ​

MessageCarries
ControlStatuswho drives, the e-stop and its reasons, the protective field’s state
SectorScanthe nearest obstacle per angular sector (REP-103), blocked sectors
OdometryStatus, TripStatustrust in the odometry; distance and speeds since the reset
LocalizationStatusNONE, LOCALIZED or UNCERTAIN, the last correction’s source, σxy, σψ, the time since the last correction
SiteStatusthe active site and what it holds
Waypoint, WaypointPatha route: poses with their dwell (stop points)
NavigationStatusthe follower’s state, progress, pause reasons, message
StopPointEventthe follower at a stop point
AvoidanceCommandreactive avoidance’s bend of the command, its emergency
DockingStatusdocking onto a tagged charger
InspectionReport, InspectionFindingeverything measured at a point; one criterion’s result
InspectionStatusready, busy, the last point’s severity
RecorderStatuswhat the perception host records, where, the free disk
HealthStatusthe overall level, the issues, the speed scale