ethz-asl / terrain-navigation

Repository for Safe Low Altitude Navigation in steep terrain for fixed-wing Aerial Vehicles
https://ieeexplore.ieee.org/abstract/document/10443502
BSD 3-Clause "New" or "Revised" License
110 stars 13 forks source link

Add flight stack combo box to planning panel #45

Closed srmainwaring closed 7 months ago

srmainwaring commented 7 months ago

Add a flight stack combo box to the planning panel. This is to allow the commands issued by the Engage Planner and Disengage Planner buttons to be customised to each flight stack.

Button PX4 ArduPilot
Engage OFFBOARD GUIDED
Disengage AUTO.RTL RTL

Figure: flight stack combo box in rviz

rviz_flight_stack_selector

Alternatives

An alternative would be to subscribe to mavros topic advertising the flight stack and use this instead of the combo. Setting the choice in the GUI seemed more straightforward and provides visible feedback of the choice made.