Repository navigation
feat(autoware_sample_designs): switch the sample to the driving mode manager stack - #2035
Draft
technolojin wants to merge 2 commits into
Draft
technolojin wants to merge 2 commits into
technolojin wants to merge 2 commits into
Conversation
…relative pose Export the relative pose from PoseEstimatorNdt.module so the sample system resolves it to /localization/pose_estimator/initial_to_result_relative_pose, the topic the launch file gives it. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…manager stack Follow the mode management of the launch files: DrivingModeManager in place of MrmHandler, ControlCommandGate and AutonomousModeTransitionFlag in place of VehicleCmdGate and OperationModeTransitionManager, and a TrajectoryGate in front of the trajectory follower. - System.module: the driving mode manager owns the operation mode and MRM state, and drives the MRM operators and the gates. - CommandGate.module / Control.module: the command gate takes the main, stop and emergency stop sources; the gate status and services are exported for the driving mode manager. - AutowareSample.system: connect the system and control modules, and bind the topics the MRM operators share. - Parameter sets: control_command_gate and driving_mode_manager entries. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
|
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Switch the
autoware_sample_designssystem to the driving mode manager stack, following the mode management of the launch files.System.module:DrivingModeManagerreplacesMrmHandler. It owns the operation mode and the MRM state, and drives the MRM operators and the gates. The per-operator outputs are exported and bound to one shared topic per flag by the system remaps.CommandGate.module/Control.module:ControlCommandGateandAutonomousModeTransitionFlagreplaceVehicleCmdGateandOperationModeTransitionManager, and aTrajectoryGatesits in front of the trajectory follower. The command gate takes the main, stop and emergency stop sources; the gate status and services are exported for the driving mode manager.AutowareSample.system: connect the system and control modules, and bind the topics the MRM operators share.control_command_gateanddriving_mode_managerentries.PoseEstimatorNdt.module: export the NDT initial-to-result relative pose, resolved to/localization/pose_estimator/initial_to_result_relative_poseas in the launch file.Related links
Depends on the node designs in:
How was this PR tested?
colcon build --packages-select autoware_sample_designstogether with the two PRs above: the sample system builds without errors.Notes for reviewers
Design files only; the launch files are unchanged.
Effects on system behavior
None for the launch files. The sample system generated from the designs runs the driving mode manager stack.