Skip to content

Commit

Permalink
fix(behavior_velocity_blind_spot_module): fix typo in behavior_veloci…
Browse files Browse the repository at this point in the history
…ty_blind_spot_module (#7136)

fix typo

Signed-off-by: a-maumau <[email protected]>
  • Loading branch information
a-maumau authored May 27, 2024
1 parent 1093f3a commit 967f4a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions planning/behavior_velocity_blind_spot_module/src/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ std::optional<std::pair<size_t, size_t>> BlindSpotModule::generateStopLine(
const InterpolatedPathInfo & interpolated_path_info,
autoware_auto_planning_msgs::msg::PathWithLaneId * path) const
{
// NOTE: this is optionallly int for later subtraction
// NOTE: this is optionally int for later subtraction
const int margin_idx_dist =
std::ceil(planner_param_.stop_line_margin / interpolated_path_info.ds);

Expand All @@ -326,7 +326,7 @@ std::optional<std::pair<size_t, size_t>> BlindSpotModule::generateStopLine(
return std::nullopt;
}

// NOTE: this is optionallly int for later subtraction
// NOTE: this is optionally int for later subtraction
const auto first_conflict_idx_ip = static_cast<int>(first_conflict_idx_ip_opt.value());

stop_idx_default_ip = static_cast<size_t>(std::max(first_conflict_idx_ip - margin_idx_dist, 0));
Expand Down
2 changes: 1 addition & 1 deletion planning/behavior_velocity_blind_spot_module/src/scene.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class BlindSpotModule : public SceneModuleInterface

void initializeRTCStatus();
BlindSpotDecision modifyPathVelocityDetail(PathWithLaneId * path, StopReason * stop_reason);
// setDafe(), setDistance()
// setSafe(), setDistance()
void setRTCStatus(
const BlindSpotDecision & decision,
const autoware_auto_planning_msgs::msg::PathWithLaneId & path);
Expand Down

0 comments on commit 967f4a7

Please sign in to comment.