Skip to content

Commit

Permalink
[Navigation][Land] disable to update the target xy and yaw for landin…
Browse files Browse the repository at this point in the history
…g process
  • Loading branch information
tongtybj authored and Moju Zhao committed Apr 10, 2024
1 parent 389e558 commit b615e38
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,6 @@ namespace aerial_robot_navigation
if(!teleop_flag_) return;

setNaviState(LAND_STATE);

setTargetXyFromCurrentState();
setTargetYawFromCurrentState();
ROS_INFO("Land state");
}

Expand Down
4 changes: 0 additions & 4 deletions aerial_robot_control/src/flight_navigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,6 @@ void BaseNavigator::joyStickControl(const sensor_msgs::JoyConstPtr & joy_msg)

setNaviState(LAND_STATE);
//update
setTargetXyFromCurrentState();
setTargetYawFromCurrentState();
ROS_INFO("Joy Control: Land state");

return;
Expand Down Expand Up @@ -682,8 +680,6 @@ void BaseNavigator::update()
if(normal_land && !force_att_control_flag_)
{
setNaviState(LAND_STATE);
setTargetXyFromCurrentState();
setTargetYawFromCurrentState();
}
}

Expand Down

0 comments on commit b615e38

Please sign in to comment.