mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 09:17:35 +08:00
vehicle constraints: remove landing gear
- landing_gear: refactor state name - Add the keep state to the landing gear message - Adapt FlightTaskManual, FlightTaskAutoMapper, mc_pos_control, to review message definition
This commit is contained in:
committed by
Dennis Mannhart
parent
6dbed6636d
commit
de185726b3
@@ -1,6 +1,7 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
int8 LANDING_GEAR_UP = 1 # landing gear up
|
||||
int8 LANDING_GEAR_DOWN = -1 # landing gear down
|
||||
int8 GEAR_UP = 1 # landing gear up
|
||||
int8 GEAR_DOWN = -1 # landing gear down
|
||||
int8 GEAR_KEEP = 0 # keep the current state
|
||||
|
||||
int8 landing_gear
|
||||
|
||||
@@ -10,8 +10,3 @@ float32 speed_down # in meters/sec
|
||||
float32 tilt # in radians [0, PI]
|
||||
float32 min_distance_to_ground # in meters
|
||||
float32 max_distance_to_ground # in meters
|
||||
|
||||
int8 GEAR_DOWN = -1
|
||||
int8 GEAR_UP = 1
|
||||
int8 GEAR_KEEP = 0
|
||||
int8 landing_gear # Down, UP or KEEP
|
||||
|
||||
Reference in New Issue
Block a user