mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 06:50:34 +08:00
Topic has been changed for quaternion-based attitude controller.
This commit is contained in:
@@ -64,6 +64,12 @@ struct vehicle_attitude_setpoint_s
|
||||
float R_body[9]; /**< Rotation matrix describing the setpoint as rotation from the current body frame */
|
||||
bool R_valid; /**< Set to true if rotation matrix is valid */
|
||||
|
||||
//! For quaternion-based attitude control
|
||||
float q_d[4]; /** Desired quaternion for quaternion control */
|
||||
bool q_d_valid; /**< Set to true if quaternion vector is valid */
|
||||
float q_e[4]; /** Attitude error in quaternion */
|
||||
bool q_e_valid; /**< Set to true if quaternion error vector is valid */
|
||||
|
||||
float thrust; /**< Thrust in Newton the power system should generate */
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user