Skip to content

Commit

Permalink
reset looped_route when posing the goal
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Apr 24, 2022
1 parent b057d02 commit 7c3dedc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions planning/mission_planner/lib/mission_planner_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ void MissionPlanner::loopCallback(const std_msgs::msg::Bool::ConstSharedPtr msg)
void MissionPlanner::goalPoseCallback(
const geometry_msgs::msg::PoseStamped::ConstSharedPtr goal_msg_ptr)
{
is_looped_route_ = false;

const auto start_pose = *self_pose_listener_.getCurrentPose();

// set goal pose
Expand Down

0 comments on commit 7c3dedc

Please sign in to comment.