Skip to content

Commit aa5118c

Browse files
authoredJul 16, 2024
fix(autoware_behavior_velocity_crosswalk_module): fix shadowVariable (#7974)
* fix:shadowVariable Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp> * fix:shadowVariable Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp> --------- Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
1 parent 6322d53 commit aa5118c

File tree

1 file changed

+0
-1
lines changed
  • planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src

1 file changed

+0
-1
lines changed
 

‎planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ std::optional<StopFactor> CrosswalkModule::checkStopForCrosswalkUsers(
382382
// Check if ego moves forward enough to ignore yield.
383383
const auto & p = planner_param_;
384384
if (!path_intersects.empty()) {
385-
const double base_link2front = planner_data_->vehicle_info_.max_longitudinal_offset_m;
386385
const double dist_ego2crosswalk =
387386
calcSignedArcLength(ego_path.points, ego_pos, path_intersects.front());
388387
const auto braking_distance_opt =

0 commit comments

Comments
 (0)