aboutsummaryrefslogtreecommitdiff
path: root/src/modules/sdlog2/sdlog2.c
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2013-06-20 11:32:25 +0400
committerAnton Babushkin <anton.babushkin@me.com>2013-06-20 11:38:37 +0400
commit462a9c84540e9258a5ab4270b258e5809cb5f88b (patch)
tree9c60da7b37b7d2580995ea0b55d1ddc0762b1cf0 /src/modules/sdlog2/sdlog2.c
parent3bfc4ed5174c60de7eb98efbbf3c7729fcaa231e (diff)
downloadpx4-firmware-462a9c84540e9258a5ab4270b258e5809cb5f88b.tar.gz
px4-firmware-462a9c84540e9258a5ab4270b258e5809cb5f88b.tar.bz2
px4-firmware-462a9c84540e9258a5ab4270b258e5809cb5f88b.zip
sdlog2: add angular accelerations to ATT message
Diffstat (limited to 'src/modules/sdlog2/sdlog2.c')
-rw-r--r--src/modules/sdlog2/sdlog2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c
index f89b49acf..3c3f1a074 100644
--- a/src/modules/sdlog2/sdlog2.c
+++ b/src/modules/sdlog2/sdlog2.c
@@ -986,6 +986,9 @@ int sdlog2_thread_main(int argc, char *argv[])
log_msg.body.log_ATT.roll_rate = buf.att.rollspeed;
log_msg.body.log_ATT.pitch_rate = buf.att.pitchspeed;
log_msg.body.log_ATT.yaw_rate = buf.att.yawspeed;
+ log_msg.body.log_ATT.roll_acc = buf.att.rollacc;
+ log_msg.body.log_ATT.pitch_acc = buf.att.pitchacc;
+ log_msg.body.log_ATT.yaw_acc = buf.att.yawacc;
LOGBUFFER_WRITE_AND_COUNT(ATT);
}