diff options
author | tumbili <bapstr@ethz.ch> | 2015-04-02 17:42:14 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-04 10:21:46 +0200 |
commit | a530f16518333384295920e56cde636e39ba6809 (patch) | |
tree | 821992b31b23d28aa8d52c2d98d3d17878fdc98c /src/modules/sdlog2/sdlog2_messages.h | |
parent | a4bece7595c13579fda2a822fd867e374d27219e (diff) | |
download | px4-firmware-a530f16518333384295920e56cde636e39ba6809.tar.gz px4-firmware-a530f16518333384295920e56cde636e39ba6809.tar.bz2 px4-firmware-a530f16518333384295920e56cde636e39ba6809.zip |
log quaternion setpoint
Diffstat (limited to 'src/modules/sdlog2/sdlog2_messages.h')
-rw-r--r-- | src/modules/sdlog2/sdlog2_messages.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2_messages.h b/src/modules/sdlog2/sdlog2_messages.h index 49483b15a..a1fe2c95d 100644 --- a/src/modules/sdlog2/sdlog2_messages.h +++ b/src/modules/sdlog2/sdlog2_messages.h @@ -73,6 +73,10 @@ struct log_ATSP_s { float pitch_sp; float yaw_sp; float thrust_sp; + float q_w; + float q_x; + float q_y; + float q_z; }; /* --- IMU - IMU SENSORS --- */ @@ -473,7 +477,7 @@ struct log_PARM_s { static const struct log_format_s log_formats[] = { /* business-level messages, ID < 0x80 */ LOG_FORMAT(ATT, "fffffffffffff", "qw,qx,qy,qz,Roll,Pitch,Yaw,RollRate,PitchRate,YawRate,GX,GY,GZ"), - LOG_FORMAT(ATSP, "ffff", "RollSP,PitchSP,YawSP,ThrustSP"), + LOG_FORMAT(ATSP, "ffffffff", "RollSP,PitchSP,YawSP,ThrustSP,qw,qx,qy,qz"), LOG_FORMAT_S(IMU, IMU, "ffffffffffff", "AccX,AccY,AccZ,GyroX,GyroY,GyroZ,MagX,MagY,MagZ,tA,tG,tM"), LOG_FORMAT_S(IMU1, IMU, "ffffffffffff", "AccX,AccY,AccZ,GyroX,GyroY,GyroZ,MagX,MagY,MagZ,tA,tG,tM"), LOG_FORMAT_S(IMU2, IMU, "ffffffffffff", "AccX,AccY,AccZ,GyroX,GyroY,GyroZ,MagX,MagY,MagZ,tA,tG,tM"), |