diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-30 16:01:52 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-30 16:01:52 +0100 |
commit | 60b02477e5ae72c6afc6fd609e28c6e74c955060 (patch) | |
tree | bcb860d63984928200ea5fe2710d1aed46c99548 /src/platforms/ros/nodes | |
parent | 0ea60f56e9f52ea2ee5eac41183fea09720d9e7c (diff) | |
download | px4-firmware-60b02477e5ae72c6afc6fd609e28c6e74c955060.tar.gz px4-firmware-60b02477e5ae72c6afc6fd609e28c6e74c955060.tar.bz2 px4-firmware-60b02477e5ae72c6afc6fd609e28c6e74c955060.zip |
fix mixed motor commands publication
Diffstat (limited to 'src/platforms/ros/nodes')
-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 1e5ef99a3..f92712c55 100644 --- a/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp +++ b/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp @@ -92,7 +92,7 @@ MultirotorMixer::MultirotorMixer(): _rotors(_config_index) { _sub = _n.subscribe("actuator_controls_0", 1000, &MultirotorMixer::actuatorControlsCallback,this); - _pub = _n.advertise<mav_msgs::MotorSpeed>("mixed_motor_commands",10); + _pub = _n.advertise<mav_msgs::MotorSpeed>("/mixed_motor_commands",10); } void MultirotorMixer::mix() { |