diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-02-15 18:33:17 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-02-28 18:25:35 +0100 |
commit | b829b553f4a3dcf2357e482dc8b1c868c779e29d (patch) | |
tree | 53e73f7f065235c1b968f12075d677ae05d0cb30 /src/platforms/ros | |
parent | 8b40112e9f6ad25a41cdef73f3d3001be49c0271 (diff) | |
download | px4-firmware-b829b553f4a3dcf2357e482dc8b1c868c779e29d.tar.gz px4-firmware-b829b553f4a3dcf2357e482dc8b1c868c779e29d.tar.bz2 px4-firmware-b829b553f4a3dcf2357e482dc8b1c868c779e29d.zip |
ros: mavlink dummy node: actually call handle_msg_set_position_target_local_ned
Diffstat (limited to 'src/platforms/ros')
-rw-r--r-- | src/platforms/ros/nodes/mavlink/mavlink.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platforms/ros/nodes/mavlink/mavlink.cpp b/src/platforms/ros/nodes/mavlink/mavlink.cpp index dbb3dac7a..013788ecd 100644 --- a/src/platforms/ros/nodes/mavlink/mavlink.cpp +++ b/src/platforms/ros/nodes/mavlink/mavlink.cpp @@ -113,6 +113,9 @@ void Mavlink::handle_msg(const mavlink_message_t *mmsg, uint8_t sysid, uint8_t c case MAVLINK_MSG_ID_SET_ATTITUDE_TARGET: handle_msg_set_attitude_target(mmsg); break; + case MAVLINK_MSG_ID_SET_POSITION_TARGET_LOCAL_NED: + handle_msg_set_position_target_local_ned(mmsg); + break; default: break; } |