StarlingUAS / ProjectStarling

BRL Flight Arena Infrastructure 2.0
Other
16 stars 3 forks source link

Estop within Mavros Container #163

Closed mhl787156 closed 2 years ago

mhl787156 commented 2 years ago

Closes #127 by adding the estop functionality into the mavros container directly.

This CPP Node only listens to the /emergency_stop topic of type std_msgs/msg/Empty

If something is received on this topic, it will immediately broadcast the custom command call which forces disarm (shuts motors). Checked that it is compatible to both PX4 and Ardupilot.

All custom controllers should implement a softer /mission_abort functionality as the estop should be of last resort.