Skip to content

Commit

Permalink
[Navigation][Landing] abondan to update the target xy and yaw for lan…
Browse files Browse the repository at this point in the history
…ding process
  • Loading branch information
tongtybj committed Feb 18, 2024
1 parent 9a95c6b commit 8353b0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ namespace aerial_robot_navigation

setNaviState(LAND_STATE);

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

Expand Down
8 changes: 4 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,8 @@ void BaseNavigator::joyStickControl(const sensor_msgs::JoyConstPtr & joy_msg)

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

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

Expand Down

0 comments on commit 8353b0e

Please sign in to comment.