Skip to content

Commit

Permalink
rclcpp::ok()
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
  • Loading branch information
kosuke55 committed Aug 8, 2022
1 parent 206452f commit 023ac97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ void PullOverModule::researchGoal()
const Pose goal_pose_map_coords = global2local(occupancy_grid_map_.getMap(), goal_pose);
Pose start_pose = calcOffsetPose(goal_pose, dx, 0, 0);
// Search non collision areas around the goal
while (true) {
while (rclcpp::ok()) {
bool is_last_search = (dx >= parameters_.forward_goal_search_length);
Pose search_pose = calcOffsetPose(goal_pose_map_coords, dx, 0, 0);
bool is_collided = occupancy_grid_map_.detectCollision(
Expand Down

0 comments on commit 023ac97

Please sign in to comment.