11. Health, the handheld and NETRA
11.1 The health monitor
health_monitor_node publishes health/status every second (and /diagnostics): every finding with its level, and a speed scale.
| Check | Issue when |
|---|---|
nodes.expected | a node of the host is missing (filled by bringup from what it starts) |
sensors.topics | a topic below rate_tolerance of its rate (/livox/lidar 5 Hz, /Odometry 8 Hz) or its stamps too old |
state.* | odometry LOST (error) or DEGRADED, localization NONE, the e-stop engaged or the protective field stale or blind (errors) |
tf.* | a dynamic transform older than max_age_sec, or from the future (clocks) |
system.* | the hottest thermal zone above 85 °C, memory above 92 %, less than 5 GB free, a load above 2 per CPU |
clock.* | (off) chronyc tracking offset above 50 ms |
For startup_grace_sec (30 s) after the start, missing nodes and inputs only warn.
11.1.1 The speed scale
An error makes the scale 0; a warning takes the lowest scale of the degradation.rules it matches (sensor:/livox/lidar=0.5, sensor:/Odometry=0.5, tf:*=0.5), otherwise warn_scale (1). The control mux applies it to every command only with use_health_limit: true in x30_control/config/control.yaml; the X30 ships with it off, and the follower pauses by itself on the conditions that matter (stale poses and scans, NONE). Turn it on to make a slow LiDAR or odometry halve the speed instead of merely reporting it.
11.2 The handheld gateway
teleop_udp_node serves the H12 on UDP port 9870, with the shared secret of X30_TELEOP_TOKEN.
max_vx,max_vy,max_wzthe stick’s full deflection, never above the profile’s limits (each axis is capped separately): a full stick sideways asks formax_vy.client_timeout_seca handheld silent this long is dropped and its stick zeroed; the mux’sremote_timeout_secstops the robot earlier.camera_fps,camera_jpeg_quality,camera_max_widththe video to the handheld: lower them on a weak link before anything else.lidar_hz,lidar_voxel,lidar_max_pointsthe cloud on the handheld’s map.patrol_speed_min,patrol_speed_maxthe range of the patrol speed the app sets (the follower’scruise).
11.3 The NETRA uplink
fleet_uplink_node (navigation host) connects the robot to NETRA at server_url with its robot_id and the token of X30_NETRA_TOKEN.
telemetry_hzsnapshots to NETRA (1 Hz).spool_dir,upload_period_secroutes and inspections wait on disk until NETRA confirms them, tried every 5 s: a patrol without network loses nothing.clock_sync_period_sec,clock_warn_msthe offset to NETRA’s clock, measured every 10 s, sent with the telemetry and applied to the times of the uploads; above 200 ms the robot warns: set the robot’s clock right (chrony).
11.4 The simulator
x30_sim replaces the driver, the LiDARs, the IMU and FAST-LIO with a planar simulation that publishes the same topics: routes, the follower, avoidance, the field and the inspection run unchanged. Its parameters (Appendix A) set the world, the noise and the robot’s response; tune the stack’s logic there, never its safety distances, which belong to the real robot’s measurements.