diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-12 09:23:51 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-05-12 09:23:51 +0200 |
commit | 6d9ea86bc9d50d84fcfd8625676e8ff1c53ca1fd (patch) | |
tree | 4110c7db5bf049cb6117608b51ec7b57870150c8 /src/modules | |
parent | 08002fbc15d7194a99f527fc21b6cae6398787fa (diff) | |
download | px4-firmware-6d9ea86bc9d50d84fcfd8625676e8ff1c53ca1fd.tar.gz px4-firmware-6d9ea86bc9d50d84fcfd8625676e8ff1c53ca1fd.tar.bz2 px4-firmware-6d9ea86bc9d50d84fcfd8625676e8ff1c53ca1fd.zip |
mavlink receiver: use new manual control setpoint variable names and fix sending of manual control setpoint mavlink message
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/mavlink/mavlink_messages.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/mavlink/mavlink_messages.cpp b/src/modules/mavlink/mavlink_messages.cpp index 9c552515d..c2490c781 100644 --- a/src/modules/mavlink/mavlink_messages.cpp +++ b/src/modules/mavlink/mavlink_messages.cpp @@ -1138,10 +1138,10 @@ protected: if (manual_sub->update(t)) { mavlink_msg_manual_control_send(_channel, mavlink_system.sysid, - manual->roll * 1000, - manual->pitch * 1000, - manual->yaw * 1000, - manual->throttle * 1000, + manual->x * 1000, + manual->y * 1000, + manual->z * 1000, + manual->r * 1000, 0); } } |