diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-29 17:11:01 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-29 17:11:01 +0100 |
commit | 990573aef3f875bb122f524c5f563248c2e96343 (patch) | |
tree | d9597a8d9e6e59c3cd201fa793bfacade86cb396 /src/platforms/ros | |
parent | 869d4115faaf6120715289b0e81ead14a2737553 (diff) | |
download | px4-firmware-990573aef3f875bb122f524c5f563248c2e96343.tar.gz px4-firmware-990573aef3f875bb122f524c5f563248c2e96343.tar.bz2 px4-firmware-990573aef3f875bb122f524c5f563248c2e96343.zip |
fix logic error in manual input node
Diffstat (limited to 'src/platforms/ros')
-rw-r--r-- | src/platforms/ros/nodes/manual_input/manual_input.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/platforms/ros/nodes/manual_input/manual_input.cpp b/src/platforms/ros/nodes/manual_input/manual_input.cpp index 7e1ae7a17..72f6e252f 100644 --- a/src/platforms/ros/nodes/manual_input/manual_input.cpp +++ b/src/platforms/ros/nodes/manual_input/manual_input.cpp @@ -145,10 +145,8 @@ void ManualInput::MapButtons(const sensor_msgs::JoyConstPtr &msg, px4::manual_co msg_mc_sp.loiter_switch = px4::manual_control_setpoint::SWITCH_POS_OFF; msg_mc_sp.return_switch = px4::manual_control_setpoint::SWITCH_POS_OFF; return; - - } else { - ROS_WARN("requested mode via joystick that is not implemented"); } + } int main(int argc, char **argv) |