Skip to content
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(tier4_system_msgs): add election status msg #162

Draft
wants to merge 2 commits into
base: tier4/universe
Choose a base branch
from

Conversation

TetsuKawa
Copy link
Contributor

Related Links

block-diagrams
autoware.universe PR

Description

This PR adds election status msg to tier4_system_msgs directory.
It is published from redundancy_switcher_interface and represents the election state of redundancy_switcher.
The election state includes the currently selected control path (e.g., Main ECU-Main VCU, Sub ECU-Main VCU, etc.) and refers to it in redudancy_relay_manager and j6_can_interface.

Remarks

Node Description

  • redundancy_switcher_interface: convert udp packets sent from redundancy switcher to ros2 topic, and ros2 topic to udp pakcets.
  • redundancy_relay_manager: placed on the Sub ECU side, it determines whether the Main ECU or the Sub ECU is currently in use, and when the Sub ECU is in use, it makes a service call to the relay_topic_controller and stops relaying the topic bridged from the Main ECU.
  • relay_topic_controller: remap the specified topic and republish it.

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

  • Code is properly formatted
  • Assign PR to reviewer

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • Code is properly formatted
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets
  • Write release notes

CI Checks

  • Build and test for PR: Required to pass before the merge.
  • Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant