diff --git a/src/roscontroller.cpp b/src/roscontroller.cpp index fbf2008..91d1e4b 100644 --- a/src/roscontroller.cpp +++ b/src/roscontroller.cpp @@ -557,6 +557,7 @@ namespace rosbzz_node{ switch(req.command){ case mavros_msgs::CommandCode::NAV_TAKEOFF: ROS_INFO("RC_call: TAKE OFF!!!!"); + rc_cmd=mavros_msgs::CommandCode::NAV_TAKEOFF; buzzuav_closures::rc_call(rc_cmd); res.success = true; break;