Commit Graph

9 Commits

Author SHA1 Message Date
Grant
a5e1c9930b fix(launch): respawn safety and state-critical nodes (failsafe_monitor, motion_controller, ekf, depth, mission_executor) 2026-07-08 18:24:15 +02:00
Grant du Toit
d7f6d3f93e Remove accidental .bak file 2026-06-20 13:55:58 +00:00
Grant du Toit
8a12e3bf50 Retire stub state_estimator; consumers use EKF /odometry/filtered
- state_estimator was an unimplemented stub (empty callbacks, never
  published /rov/state) - removed node, entry point, launch block
- motion_controller + mission_executor: /rov/state -> /odometry/filtered
  (the working robot_localization EKF output)
- Eliminates redundant/competing state estimators; single source of truth
- Verified: EKF publishes ~11Hz, both consumers subscribed
2026-06-20 13:55:12 +00:00
Grant du Toit
7d4e6dfc23 Fix EKF IMU input: point imu0 at real MAVROS topic
- ekf.yaml imu0: /imu/data -> /mavros/mavros/data (the empty /imu/data
  topic had no publisher; EKF produced no output)
- Verified: /odometry/filtered now publishes valid fused orientation
  with real Pixhawk IMU via MAVROS
- Note: high covariance expected (single budget IMU, untuned, no position
  input) - tune after Xsens/DVL added
2026-06-20 13:39:02 +00:00
Grant du Toit
e36644e97e Fix rel_alt type collision; retire VM-era mock_publisher
- depth_node + failsafe_monitor: subscribe to real MAVROS topic
  /mavros/mavros/rel_alt (was /mavros/global_position/rel_alt)
- failsafe_monitor: Float32 -> Float64 (resolves duplicate-type error
  that dropped the topic from recordings)
- Remove mock_publisher (VM-era fake data, now collides with real MAVROS)
- Verified: /rov/depth now publishes real data; zero duplicate-type errors
2026-06-20 13:15:15 +00:00
Grant du Toit
c94412ddae Fix full-stack launch: MAVROS fcu_url + plugin_allowlist, timestamped bag dir, BEST_EFFORT QoS on MAVROS subs, battery<0 unknown guard
- rov_full.launch.py: fcu_url to udp://@<ip>:14550 (was bad local bind); add plugin_allowlist (sys_status,sys_time,command,imu,global_position,setpoint_velocity) to stop duplicate-subscription crash on companion_process_status/debug_value
- foxglove_mcap.launch.py: timestamp bag output dir (was fixed /data/bags/dive, failed on second launch)
- failsafe_monitor/depth_node/state_estimator: qos_profile_sensor_data on MAVROS-sourced subs (MAVROS publishes BEST_EFFORT; default RELIABLE blocked all messages)
- failsafe_monitor: treat battery_percent<0 as UNKNOWN not critical (SITL has no battery; was forcing permanent EMERGENCY_SURFACE)
2026-06-17 18:28:06 +00:00
Grant du Toit
45b3301952 Fix ekf.yaml process_noise_covariance: all floats (was mixed int/float, failed YAML parse) 2026-06-17 12:14:28 +00:00
Grant du Toit
7590fafa04 Add missing setup.cfg to all Python packages - fixes executable install path for ros2 launch 2026-06-17 12:05:46 +00:00
Grant
9b03548533 Initial workspace — six-package autonomy stack 2026-05-03 09:26:04 +00:00