fix takeoff bug

This commit is contained in:
David St-Onge 2017-03-02 01:32:45 -05:00
parent 8d8928d914
commit 4c37be5b26
1 changed files with 1 additions and 0 deletions

View File

@ -557,6 +557,7 @@ namespace rosbzz_node{
switch(req.command){ switch(req.command){
case mavros_msgs::CommandCode::NAV_TAKEOFF: case mavros_msgs::CommandCode::NAV_TAKEOFF:
ROS_INFO("RC_call: TAKE OFF!!!!"); ROS_INFO("RC_call: TAKE OFF!!!!");
rc_cmd=mavros_msgs::CommandCode::NAV_TAKEOFF;
buzzuav_closures::rc_call(rc_cmd); buzzuav_closures::rc_call(rc_cmd);
res.success = true; res.success = true;
break; break;