mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
position_setpoint.msg: remove unused velocity_frame field
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Daniel Agar
parent
0d6766d14d
commit
42dd9b5063
@@ -9,9 +9,6 @@ uint8 SETPOINT_TYPE_TAKEOFF=3 # takeoff setpoint
|
||||
uint8 SETPOINT_TYPE_LAND=4 # land setpoint, altitude must be ignored, descend until landing
|
||||
uint8 SETPOINT_TYPE_IDLE=5 # do nothing, switch off motors or keep at idle speed (MC)
|
||||
|
||||
uint8 VELOCITY_FRAME_LOCAL_NED = 1 # MAV_FRAME_LOCAL_NED
|
||||
uint8 VELOCITY_FRAME_BODY_NED = 8 # MAV_FRAME_BODY_NED
|
||||
|
||||
bool valid # true if setpoint is valid
|
||||
uint8 type # setpoint type to adjust behavior of position controller
|
||||
|
||||
@@ -19,7 +16,6 @@ float32 vx # local velocity setpoint in m/s in NED
|
||||
float32 vy # local velocity setpoint in m/s in NED
|
||||
float32 vz # local velocity setpoint in m/s in NED
|
||||
bool velocity_valid # true if local velocity setpoint valid
|
||||
uint8 velocity_frame # to set velocity setpoints in NED or body
|
||||
bool alt_valid # do not set for 3D position control. Set to true if you want z-position control while doing vx,vy velocity control.
|
||||
|
||||
float64 lat # latitude, in deg
|
||||
|
||||
@@ -1883,7 +1883,6 @@ bool Mission::position_setpoint_equal(const position_setpoint_s *p1, const posit
|
||||
(fabsf(p1->vy - p2->vy) < FLT_EPSILON) &&
|
||||
(fabsf(p1->vz - p2->vz) < FLT_EPSILON) &&
|
||||
(p1->velocity_valid == p2->velocity_valid) &&
|
||||
(p1->velocity_frame == p2->velocity_frame) &&
|
||||
(p1->alt_valid == p2->alt_valid) &&
|
||||
(fabs(p1->lat - p2->lat) < DBL_EPSILON) &&
|
||||
(fabs(p1->lon - p2->lon) < DBL_EPSILON) &&
|
||||
|
||||
Reference in New Issue
Block a user