feat(component_state_monitor): monitor traffic light recognition output #5778
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I propose adding a topic monitor for the output of the traffic light recognition system. This is necessary because, in the current implementation of Autoware, the vehicle continues to operate as normal even when traffic signal messages are not received. Implementing this monitor could enhance safety by ensuring appropriate responses to traffic signal status.
PR for the launch:
Related links
Tests performed
Run logging simulator and confirmed hazard status is published properly.
Terminal1
Run logging simulator.
Terminal2
Play sample rosbag in https://autowarefoundation.github.io/autoware-documentation/main/tutorials/ad-hoc-simulation/rosbag-replay-simulation/
Terminal3
Confirm the hazard status is published.
simplescreenrecorder-2023-12-05_15.26.53.mp4
Effects on system behavior
If traffic signal messages are not received or its topic rate is decreased, the vehicle will enter the emergency state.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.