mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 18:51:35 +08:00
commander move avionics rail voltage check out of state machine
- add preflight_check helper
This commit is contained in:
@@ -83,6 +83,9 @@ public:
|
||||
|
||||
void enable_hil();
|
||||
|
||||
// TODO: only temporarily static until low priority thread is removed
|
||||
static bool preflight_check(bool report);
|
||||
|
||||
private:
|
||||
bool handle_command(vehicle_status_s *status_local, const vehicle_command_s &cmd,
|
||||
actuator_armed_s *armed_local, home_position_s *home, const vehicle_global_position_s &global_pos,
|
||||
|
||||
Reference in New Issue
Block a user