-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(autoware_topic_relay_controller): add topic relay controller node #9964
feat(autoware_topic_relay_controller): add topic relay controller node #9964
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9964 +/- ##
==========================================
- Coverage 29.13% 29.11% -0.02%
==========================================
Files 1425 1426 +1
Lines 107853 107920 +67
Branches 42251 42271 +20
==========================================
Hits 31419 31419
- Misses 73391 73458 +67
Partials 3043 3043
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
dc51f9a
to
af68862
Compare
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
af68862
to
4f353b7
Compare
system/autoware_topic_relay_controller/src/topic_relay_controller_node.cpp
Outdated
Show resolved
Hide resolved
system/autoware_topic_relay_controller/src/topic_relay_controller_node.cpp
Outdated
Show resolved
Hide resolved
system/autoware_topic_relay_controller/src/topic_relay_controller_node.cpp
Show resolved
Hide resolved
system/autoware_topic_relay_controller/src/topic_relay_controller_node.cpp
Show resolved
Hide resolved
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
f8a6bb5 |
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: TetsuKawa <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR adds topic relay controller node which subscribes to a specified topic, remaps it, and republishes it. Additionally, it has the capability to continue publishing the last received value if the subscription stops.
The motivation for developing this node was to control the release of topics from the Main ECU to the Sub ECUs in a redundant system of Main ECUs and Sub ECUs.
Related links
This node requires the following msg.
How was this PR tested?
ros2 launch autoware_topic_relay_controller topic_relay_controller.launch.xml
ros2 topic pub /default std_msgs/msg/String "{}"
ros2 topic echo /remap_default
$ ros2 service call /system/topic_relay_controller_default/operate tier4_system_msgs/srv/ChangeTopicRelayControl "{relay_on: false}"
Screencast.from.2025.01.22.21.53.33.webm
Screencast.from.2025.01.22.21.56.53.webm
Screencast.from.2025.01.22.22.03.24.webm
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.