Skip to content

Commit

Permalink
chore: use make optional
Browse files Browse the repository at this point in the history
  • Loading branch information
taikitanaka3 authored Jul 11, 2022
1 parent 9cc4636 commit 7c83988
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Polygons2d RunOutModule::createDetectionAreaPolygon(const PathWithLaneId & smoot
da_range.min_longitudinal_distance =
p.vehicle_param.base_to_front - p.detection_area.margin_behind;
da_range.max_longitudinal_distance =
stop_distance + p.run_out.stop_margin + p.detection_area.margin_ahead;
*stop_dist + p.run_out.stop_margin + p.detection_area.margin_ahead;
da_range.min_lateral_distance = p.vehicle_param.width / 2.0;
da_range.max_lateral_distance = obstacle_vel_mps * p.dynamic_obstacle.max_prediction_time;
Polygons2d detection_area_poly;
Expand Down

0 comments on commit 7c83988

Please sign in to comment.