mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 10:23:33 +08:00
Some more code cleanup.
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Beat Küng
parent
59cf9a1dd4
commit
cd47cefb03
@@ -1280,7 +1280,7 @@ Commander::run()
|
||||
int system_power_sub = orb_subscribe(ORB_ID(system_power));
|
||||
int vtol_vehicle_status_sub = orb_subscribe(ORB_ID(vtol_vehicle_status));
|
||||
|
||||
struct geofence_result_s geofence_result {};
|
||||
geofence_result_s geofence_result {};
|
||||
|
||||
land_detector.landed = true;
|
||||
|
||||
|
||||
@@ -64,8 +64,8 @@ enum class link_loss_actions_t {
|
||||
AUTO_RTL = 2, // Return mode
|
||||
AUTO_LAND = 3, // Land mode
|
||||
AUTO_RECOVER = 4, // Data Link Auto Recovery (CASA Outback Challenge rules)
|
||||
TERMINATE = 5, // Terminate
|
||||
LOCKDOWN = 6, // Lockdown
|
||||
TERMINATE = 5, // Turn off all controllers and set PWM outputs to failsafe value
|
||||
LOCKDOWN = 6, // Kill the motors, same result as kill switch
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user