diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-31 16:50:30 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-31 16:51:08 +0100 |
commit | e826187efe6f514a632ab2ef2e0183d17792c0a9 (patch) | |
tree | d3106921b5f27253f1badb04f99dc5418f65cea9 /src/platforms/ros | |
parent | 1b0446ed41eb6db676106debeef2f895edc30d01 (diff) | |
download | px4-firmware-e826187efe6f514a632ab2ef2e0183d17792c0a9.tar.gz px4-firmware-e826187efe6f514a632ab2ef2e0183d17792c0a9.tar.bz2 px4-firmware-e826187efe6f514a632ab2ef2e0183d17792c0a9.zip |
reduce mixer queue size
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 04d7888fb..966c5cfb7 100644 --- a/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp +++ b/src/platforms/ros/nodes/mc_mixer/mc_mixer.cpp @@ -100,7 +100,7 @@ MultirotorMixer::MultirotorMixer(): _rotor_count(4), _rotors(_config_index[1]) //XXX +config hardcoded { - _sub = _n.subscribe("actuator_controls_0", 1000, &MultirotorMixer::actuatorControlsCallback,this); + _sub = _n.subscribe("actuator_controls_0", 1, &MultirotorMixer::actuatorControlsCallback,this); _pub = _n.advertise<mav_msgs::MotorSpeed>("/mixed_motor_commands",10); if (!_n.hasParam("motor_scaling_radps")) { _n.setParam("motor_scaling_radps", 1500.0); |