diff options
author | Roman Bapst <romanbapst@yahoo.de> | 2014-12-02 10:32:13 +0100 |
---|---|---|
committer | Roman Bapst <romanbapst@yahoo.de> | 2014-12-02 10:32:13 +0100 |
commit | 35c985e5234f2b2c7cc511a791a1be90bae820bf (patch) | |
tree | 728d7c398d65ac1faee90607d6b47215c2c1310c /src/modules/uORB/topics/vehicle_attitude.h | |
parent | 48ba912f08b328d709965a4dd7acb878b598f961 (diff) | |
download | px4-firmware-35c985e5234f2b2c7cc511a791a1be90bae820bf.tar.gz px4-firmware-35c985e5234f2b2c7cc511a791a1be90bae820bf.tar.bz2 px4-firmware-35c985e5234f2b2c7cc511a791a1be90bae820bf.zip |
extended uORB structs with VTOL specific control topics
Diffstat (limited to 'src/modules/uORB/topics/vehicle_attitude.h')
-rwxr-xr-x | src/modules/uORB/topics/vehicle_attitude.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/vehicle_attitude.h b/src/modules/uORB/topics/vehicle_attitude.h index 40328af14..77324415a 100755 --- a/src/modules/uORB/topics/vehicle_attitude.h +++ b/src/modules/uORB/topics/vehicle_attitude.h @@ -80,6 +80,23 @@ struct vehicle_attitude_s { bool R_valid; /**< Rotation matrix valid */ bool q_valid; /**< Quaternion valid */ + // secondary attitude, use for VTOL + float roll_sec; /**< Roll angle (rad, Tait-Bryan, NED) */ + float pitch_sec; /**< Pitch angle (rad, Tait-Bryan, NED) */ + float yaw_sec; /**< Yaw angle (rad, Tait-Bryan, NED) */ + float rollspeed_sec; /**< Roll angular speed (rad/s, Tait-Bryan, NED) */ + float pitchspeed_sec; /**< Pitch angular speed (rad/s, Tait-Bryan, NED) */ + float yawspeed_sec; /**< Yaw angular speed (rad/s, Tait-Bryan, NED) */ + float rollacc_sec; /**< Roll angular accelration (rad/s, Tait-Bryan, NED) */ + float pitchacc_sec; /**< Pitch angular acceleration (rad/s, Tait-Bryan, NED) */ + float yawacc_sec; /**< Yaw angular acceleration (rad/s, Tait-Bryan, NED) */ + float rate_offsets_sec[3]; /**< Offsets of the body angular rates from zero */ + float R_sec[3][3]; /**< Rotation matrix body to world, (Tait-Bryan, NED) */ + float q_sec[4]; /**< Quaternion (NED) */ + float g_comp_sec[3]; /**< Compensated gravity vector */ + bool R_valid_sec; /**< Rotation matrix valid */ + bool q_valid_sec; /**< Quaternion valid */ + }; /** |