mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 08:33:34 +08:00
TAKEOFF implemented for multirotors, added altitude check to waypoint navigation.
This commit is contained in:
@@ -82,6 +82,8 @@ struct vehicle_control_mode_s
|
||||
|
||||
bool failsave_lowlevel; /**< Set to true if low-level failsafe mode is enabled */
|
||||
bool failsave_highlevel; /**< Set to true if high-level failsafe mode is enabled */
|
||||
|
||||
uint8_t auto_state; // TEMP navigation state for AUTO modes
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -72,8 +72,7 @@ struct vehicle_global_position_s
|
||||
float vx; /**< Ground X velocity, m/s in NED */
|
||||
float vy; /**< Ground Y velocity, m/s in NED */
|
||||
float vz; /**< Ground Z velocity, m/s in NED */
|
||||
float hdg; /**< Compass heading in radians -PI..+PI. */
|
||||
|
||||
float yaw; /**< Compass heading in radians -PI..+PI. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -67,6 +67,8 @@ struct vehicle_local_position_s
|
||||
float vx; /**< Ground X Speed (Latitude), m/s in NED */
|
||||
float vy; /**< Ground Y Speed (Longitude), m/s in NED */
|
||||
float vz; /**< Ground Z Speed (Altitude), m/s in NED */
|
||||
/* Heading */
|
||||
float yaw;
|
||||
/* Reference position in GPS / WGS84 frame */
|
||||
bool global_xy; /**< true if position (x, y) is valid and has valid global reference (ref_lat, ref_lon) */
|
||||
bool global_z; /**< true if z is valid and has valid global reference (ref_alt) */
|
||||
|
||||
Reference in New Issue
Block a user