Skip to content

Commit

Permalink
chore: use lower case
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Jun 5, 2024
1 parent 2206306 commit d2a8f6f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -918,11 +918,11 @@ BehaviorModuleOutput StaticObstacleAvoidanceModule::plan()
};

const auto is_large_deviation = [this](const auto & path) {
constexpr double THRESHOLD = 1.0;
constexpr double threshold = 1.0;
const auto current_seg_idx = planner_data_->findEgoSegmentIndex(path.points);
const auto lateral_deviation =
motion_utils::calcLateralOffset(path.points, getEgoPosition(), current_seg_idx);
return std::abs(lateral_deviation) > THRESHOLD;
return std::abs(lateral_deviation) > threshold;
};

// turn signal info
Expand Down

0 comments on commit d2a8f6f

Please sign in to comment.