fix takeoff bug
This commit is contained in:
parent
8d8928d914
commit
4c37be5b26
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue