mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 14:33:34 +08:00
remove the landing gear from the attitude setpoint
- An new message is created just for the landing gear - The old logic is repalaced by publishing this new topic
This commit is contained in:
committed by
Dennis Mannhart
parent
e979d24fff
commit
163d201c28
@@ -66,6 +66,7 @@ set(msg_files
|
||||
input_rc.msg
|
||||
iridiumsbd_status.msg
|
||||
irlock_report.msg
|
||||
landing_gear.msg
|
||||
landing_target_innovations.msg
|
||||
landing_target_pose.msg
|
||||
led_control.msg
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
int8 LANDING_GEAR_UP = 1 # landing gear up
|
||||
int8 LANDING_GEAR_DOWN = -1 # landing gear down
|
||||
|
||||
float32 landing_gear
|
||||
@@ -1,6 +1,4 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
int8 LANDING_GEAR_UP = 1 # landing gear up
|
||||
int8 LANDING_GEAR_DOWN = -1 # landing gear down
|
||||
|
||||
float32 roll_body # body angle in NED frame (can be NaN for FW)
|
||||
float32 pitch_body # body angle in NED frame (can be NaN for FW)
|
||||
@@ -27,6 +25,4 @@ uint8 FLAPS_OFF = 0 # no flaps
|
||||
uint8 FLAPS_LAND = 1 # landing config flaps
|
||||
uint8 FLAPS_TAKEOFF = 2 # take-off config flaps
|
||||
|
||||
float32 landing_gear
|
||||
|
||||
# TOPICS vehicle_attitude_setpoint mc_virtual_attitude_setpoint fw_virtual_attitude_setpoint
|
||||
|
||||
Reference in New Issue
Block a user