diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-30 16:55:34 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-30 16:55:34 +0100 |
commit | dbaf6af257ca5811d779859a9ba4067758f07eec (patch) | |
tree | 75d48d863a57285fa4e7ca241381b29a74e797a8 /src/platforms/ros | |
parent | 60b02477e5ae72c6afc6fd609e28c6e74c955060 (diff) | |
download | px4-firmware-dbaf6af257ca5811d779859a9ba4067758f07eec.tar.gz px4-firmware-dbaf6af257ca5811d779859a9ba4067758f07eec.tar.bz2 px4-firmware-dbaf6af257ca5811d779859a9ba4067758f07eec.zip |
scale dummy mixer output
Diffstat (limited to 'src/platforms/ros')
-rw-r--r-- | src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp b/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp index f92712c55..69d69dcf8 100644 --- a/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp +++ b/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp @@ -169,7 +169,7 @@ void MultirotorMixer::mix() { // publish message mav_msgs::MotorSpeed rotor_vel_msg; for (int i = 0; i < _rotor_count; i++) { - rotor_vel_msg.motor_speed.push_back(outputs.control[i]); + rotor_vel_msg.motor_speed.push_back(outputs.control[i] * 1000); } _pub.publish(rotor_vel_msg); } |