Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Sep 15, 2022
1 parent e2d6161 commit cd078f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planning/obstacle_avoidance_planner/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ bool ObstacleAvoidancePlanner::checkReplan(const PlannerData & planner_data)
bool ObstacleAvoidancePlanner::isPathShapeChanged(const PlannerData & planner_data)
{
if (!prev_path_points_ptr_) {
return true;
return false;
}

const auto & p = planner_data;
Expand Down Expand Up @@ -1051,7 +1051,7 @@ bool ObstacleAvoidancePlanner::isPathGoalChanged(const PlannerData & planner_dat
const auto & p = planner_data;

if (prev_path_points_ptr_) {
return true;
return false;
}

constexpr double min_vel = 1e-3;
Expand Down

0 comments on commit cd078f8

Please sign in to comment.