Skip to content

Commit

Permalink
feat(behavior_velocity_traffic_light_module): change threshold veloci…
Browse files Browse the repository at this point in the history
…ty of pass judge for preventing sudden stop

Signed-off-by: tomoya.kimura <[email protected]>
  • Loading branch information
tkimura4 committed Oct 31, 2024
1 parent cdeea66 commit c426ddc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ bool TrafficLightModule::isPassthrough(const double & signed_arc_length) const
delay_response_time);

const bool distance_stoppable = pass_judge_line_distance < signed_arc_length;
const bool slow_velocity = planner_data_->current_velocity->twist.linear.x < 2.0;
const bool slow_velocity = planner_data_->current_velocity->twist.linear.x < 1.0;
const bool stoppable = distance_stoppable || slow_velocity;
const bool reachable = signed_arc_length < reachable_distance;

Expand Down

0 comments on commit c426ddc

Please sign in to comment.