diff options
author | Julian Oes <julian@oes.ch> | 2013-09-03 09:34:25 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-09-03 09:34:25 +0200 |
commit | 96e7f42844abbd2a3ef36e207e639c0dffe75e66 (patch) | |
tree | 4ef89b11ababd57c5d16a1d531918127fbc722d4 /src/modules/uORB/topics/vehicle_attitude_setpoint.h | |
parent | 1fed9ef1b1ec2d0bf7c2cba7d60be77e37faaf40 (diff) | |
parent | 2457013bbba3e15e3fbfcc45f07428f006d56dcd (diff) | |
download | px4-firmware-96e7f42844abbd2a3ef36e207e639c0dffe75e66.tar.gz px4-firmware-96e7f42844abbd2a3ef36e207e639c0dffe75e66.tar.bz2 px4-firmware-96e7f42844abbd2a3ef36e207e639c0dffe75e66.zip |
Merge branch 'master' into python3_compat
Diffstat (limited to 'src/modules/uORB/topics/vehicle_attitude_setpoint.h')
-rw-r--r-- | src/modules/uORB/topics/vehicle_attitude_setpoint.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/vehicle_attitude_setpoint.h b/src/modules/uORB/topics/vehicle_attitude_setpoint.h index a7cda34a8..686fd765c 100644 --- a/src/modules/uORB/topics/vehicle_attitude_setpoint.h +++ b/src/modules/uORB/topics/vehicle_attitude_setpoint.h @@ -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 */ }; |