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 <yhisaki31@gmail.com>
  • Loading branch information
yhisaki authored and actions-user committed Feb 4, 2025
1 parent 41c9a29 commit 6246520
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 6246520

Please sign in to comment.