mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 08:13:33 +08:00
mc_att_control_vector: bugfixes, use float[3][3] type for R in vehicle_attitude_setpoint topic
This commit is contained in:
@@ -61,7 +61,7 @@ struct vehicle_attitude_setpoint_s
|
||||
float yaw_body; /**< body angle in NED frame */
|
||||
//float body_valid; /**< Set to true if body angles are valid */
|
||||
|
||||
float R_body[9]; /**< Rotation matrix describing the setpoint as rotation from the current body frame */
|
||||
float R_body[3][3]; /**< 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
|
||||
|
||||
Reference in New Issue
Block a user