Skip to content

Commit

Permalink
fix(bvp): traffic light state debug
Browse files Browse the repository at this point in the history
This commit corresponds to #1083.

Signed-off-by: Y.Hisaki <[email protected]>
  • Loading branch information
yhisaki committed Jan 31, 2025
1 parent 5cd9378 commit e5171d7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ void TrafficLightModule::updateTrafficSignal()
TrafficSignalStamped signal;
if (!findValidTrafficSignal(signal)) {
// Don't stop if it never receives traffic light topic.
// Reset looking_tl_state
looking_tl_state_.elements.clear();
looking_tl_state_.traffic_light_group_id = 0;
return;
}

Expand Down

0 comments on commit e5171d7

Please sign in to comment.