diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-21 15:32:59 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-21 15:32:59 +0100 |
commit | 25e304c8691f2162b34cde46414f5b7f805cff67 (patch) | |
tree | 3cdbd19f0b3280beee7f764173eb10634a454114 /apps/mavlink/mavlink_receiver.c | |
parent | ffda224b414204af7fb0a4f660f7b72ee013bcd2 (diff) | |
download | px4-firmware-25e304c8691f2162b34cde46414f5b7f805cff67.tar.gz px4-firmware-25e304c8691f2162b34cde46414f5b7f805cff67.tar.bz2 px4-firmware-25e304c8691f2162b34cde46414f5b7f805cff67.zip |
Added vicon, actuator controls effective and optical flow to logging
Diffstat (limited to 'apps/mavlink/mavlink_receiver.c')
-rw-r--r-- | apps/mavlink/mavlink_receiver.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/mavlink/mavlink_receiver.c b/apps/mavlink/mavlink_receiver.c index 4790a673d..6b4375445 100644 --- a/apps/mavlink/mavlink_receiver.c +++ b/apps/mavlink/mavlink_receiver.c @@ -206,6 +206,10 @@ handle_message(mavlink_message_t *msg) vicon_position.y = pos.y; vicon_position.z = pos.z; + vicon_position.roll = pos.roll; + vicon_position.pitch = pos.pitch; + vicon_position.yaw = pos.yaw; + if (vicon_position_pub <= 0) { vicon_position_pub = orb_advertise(ORB_ID(vehicle_vicon_position), &vicon_position); } else { |