Skip to content

Commit 8f824cd

Browse files
authored
feat: change domain bridge config (autowarefoundation#1121)
* feat: change domain bridge (autowarefoundation#1068) * fix Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com> * feat: rename to_sub to to_main Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com> --------- Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com> * feat: update domain bridge config (autowarefoundation#1095) feat: fix domain bridge config Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com> * fix: add type (autowarefoundation#1100) Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com> * feat: chnage type and add topic Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com> --------- Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
1 parent d6cf45f commit 8f824cd

6 files changed

+221
-125
lines changed
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: main_ecu_mrm_domain_bridge
2+
from_domain: 1
3+
to_domain: 3
4+
topics:
5+
# main -> mrm
6+
/to_mrm/planning/scenario_planning/trajectory:
7+
type: autoware_planning_msgs/msg/Trajectory
8+
remap: /main/planning/scenario_planning/trajectory
9+
/to_mrm/localization/pose_with_covariance:
10+
type: geometry_msgs/msg/PoseWithCovarianceStamped
11+
remap: /main/localization/pose_with_covariance
12+
/initialpose3d:
13+
type: geometry_msgs/msg/PoseWithCovarianceStamped
14+
remap: /main/initialpose3d
15+
/localization/twist_estimator/twist_with_covariance:
16+
type: geometry_msgs/msg/TwistWithCovarianceStamped
17+
remap: /main/localization/twist_estimator/twist_with_covariance
18+
/control/jerk_constant_deceleration_trigger:
19+
type: jerk_constant_deceleration_controller_msgs/msg/JerkConstantDecelerationTrigger
20+
remap: /main/control/jerk_constant_deceleration_trigger
21+
/control/command/control_cmd:
22+
type: autoware_control_msgs/msg/Control
23+
remap: /main/control/command/control_cmd
24+
/system/operation_mode/state:
25+
type: autoware_adapi_v1_msgs/msg/OperationModeState
26+
remap: /main/system/operation_mode/state
27+
/vehicle/status/steering_status:
28+
type: autoware_vehicle_msgs/msg/SteeringReport
29+
remap: /main/vehicle/status/steering_status
30+
# mrm -> main
31+
/control/control_command_gate/inputs/in_lane_stop/control:
32+
type: autoware_control_msgs/msg/Control
33+
reversed: True
34+
/control/control_command_gate/inputs/in_lane_stop/gear:
35+
type: autoware_vehicle_msgs/msg/GearCommand
36+
reversed: True
37+
/control/control_command_gate/inputs/in_lane_stop/hazard_lights:
38+
type: autoware_vehicle_msgs/msg/HazardLightsCommand
39+
reversed: True
40+
/control/control_command_gate/inputs/in_lane_stop/turn_indicators:
41+
type: autoware_vehicle_msgs/msg/TurnIndicatorsCommand
42+
reversed: True
43+
# mrm -> main for logging
44+
/localization/kinematic_state:
45+
type: nav_msgs/msg/Odometry
46+
reversed: True
47+
remap: /mrm/localization/kinematic_state
48+
/localization/acceleration:
49+
type: geometry_msgs/msg/AccelWithCovarianceStamped
50+
reversed: True
51+
remap: /mrm/localization/acceleration
52+
/localization/pose_twist_fusion_filter/kinematic_state:
53+
type: nav_msgs/msg/Odometry
54+
reversed: True
55+
remap: /mrm/localization/pose_twist_fusion_filter/kinematic_state
56+
/diagnostics:
57+
type: diagnostic_msgs/msg/DiagnosticArray
58+
reversed: True
59+
remap: /mrm/diagnostics
60+
/planning/topic_relay_controller/trajectory:
61+
type: autoware_planning_msgs/msg/Trajectory
62+
reversed: True
63+
remap: /mrm/planning/topic_relay_controller/trajectory
64+
/main/localization/pose_with_covariance:
65+
type: geometry_msgs/msg/PoseWithCovarianceStamped
66+
reversed: True
67+
remap: /mrm/main/localization/pose_with_covariance
68+
/control/trajectory_follower/lateral/diagnostic:
69+
type: autoware_internal_debug_msgs/msg/Float32MultiArrayStamped
70+
reversed: True
71+
remap: /mrm/control/trajectory_follower/lateral/diagnostic
72+
/control/trajectory_follower/longitudinal/diagnostic:
73+
type: autoware_internal_debug_msgs/msg/Float32MultiArrayStamped
74+
reversed: True
75+
remap: /mrm/control/trajectory_follower/longitudinal/diagnostic
76+
/control/trajectory_follower/control_cmd:
77+
type: autoware_control_msgs/msg/Control
78+
reversed: True
79+
remap: /mrm/control/trajectory_follower/control_cmd
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: main_ecu_mrm_domain_bridge
2+
from_domain: 1
3+
to_domain: 3
4+
topics:
5+
# main -> mrm
6+
/to_mrm/planning/scenario_planning/trajectory:
7+
type: autoware_planning_msgs/msg/Trajectory
8+
remap: /main/planning/scenario_planning/trajectory
9+
/localization/kinematic_state:
10+
type: nav_msgs/msg/Odometry
11+
/localization/acceleration:
12+
type: geometry_msgs/msg/AccelWithCovarianceStamped
13+
/control/jerk_constant_deceleration_trigger:
14+
type: jerk_constant_deceleration_controller_msgs/msg/JerkConstantDecelerationTrigger
15+
remap: /main/control/jerk_constant_deceleration_trigger
16+
/control/command/control_cmd:
17+
type: autoware_control_msgs/msg/Control
18+
remap: /main/control/command/control_cmd
19+
/system/operation_mode/state:
20+
type: autoware_adapi_v1_msgs/msg/OperationModeState
21+
remap: /main/system/operation_mode/state
22+
/vehicle/status/steering_status:
23+
type: autoware_vehicle_msgs/msg/SteeringReport
24+
remap: /main/vehicle/status/steering_status
25+
# mrm -> main
26+
/control/control_command_gate/inputs/in_lane_stop/control:
27+
type: autoware_control_msgs/msg/Control
28+
reversed: True
29+
/control/control_command_gate/inputs/in_lane_stop/gear:
30+
type: autoware_vehicle_msgs/msg/GearCommand
31+
reversed: True
32+
/control/control_command_gate/inputs/in_lane_stop/hazard_lights:
33+
type: autoware_vehicle_msgs/msg/HazardLightsCommand
34+
reversed: True
35+
/control/control_command_gate/inputs/in_lane_stop/turn_indicators:
36+
type: autoware_vehicle_msgs/msg/TurnIndicatorsCommand
37+
reversed: True
38+
# mrm -> main for logging
39+
/diagnostics:
40+
type: diagnostic_msgs/msg/DiagnosticArray
41+
reversed: True
42+
remap: /mrm/diagnostics
43+
/planning/topic_relay_controller/trajectory:
44+
type: autoware_planning_msgs/msg/Trajectory
45+
reversed: True
46+
remap: /mrm/planning/topic_relay_controller/trajectory
47+
/control/trajectory_follower/lateral/diagnostic:
48+
type: autoware_internal_debug_msgs/msg/Float32MultiArrayStamped
49+
reversed: True
50+
remap: /mrm/control/trajectory_follower/lateral/diagnostic
51+
/control/trajectory_follower/longitudinal/diagnostic:
52+
type: autoware_internal_debug_msgs/msg/Float32MultiArrayStamped
53+
reversed: True
54+
remap: /mrm/control/trajectory_follower/longitudinal/diagnostic
55+
/control/trajectory_follower/control_cmd:
56+
type: autoware_control_msgs/msg/Control
57+
reversed: True
58+
remap: /mrm/control/trajectory_follower/control_cmd

autoware_launch/config/system/domain_bridge/domain_bridge.redundancy.sub.param.yaml

Lines changed: 46 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,24 @@ from_domain: 1
33
to_domain: 2
44
topics:
55
# main
6-
/to_sub/planning/scenario_planning/trajectory:
6+
/to_mrm/planning/scenario_planning/trajectory:
77
type: autoware_planning_msgs/msg/Trajectory
88
remap: /main/planning/scenario_planning/trajectory
9-
/to_sub/localization/pose_with_covariance:
9+
/to_mrm/localization/pose_with_covariance:
1010
type: geometry_msgs/msg/PoseWithCovarianceStamped
1111
remap: /main/localization/pose_with_covariance
1212
/initialpose3d:
1313
type: geometry_msgs/msg/PoseWithCovarianceStamped
1414
remap: /main/initialpose3d
15+
/system/command_mode/status:
16+
type: tier4_system_msgs/msg/CommandModeStatus
17+
remap: /sub/system/command_mode/status
18+
# to pass availability to the domain 1
19+
/sub/system/command_mode/status:
20+
type: tier4_system_msgs/msg/CommandModeStatus
21+
reversed: True
22+
remap: /system/command_mode/status
1523
# for logging at domain 1
16-
/control/command/control_cmd:
17-
type: autoware_control_msgs/msg/Control
18-
reversed: True
19-
remap: /sub/control/command/control_cmd
2024
/localization/kinematic_state:
2125
type: nav_msgs/msg/Odometry
2226
reversed: True
@@ -25,10 +29,6 @@ topics:
2529
type: geometry_msgs/msg/AccelWithCovarianceStamped
2630
reversed: True
2731
remap: /sub/localization/acceleration
28-
/planning/scenario_planning/trajectory:
29-
type: autoware_planning_msgs/msg/Trajectory
30-
reversed: True
31-
remap: /sub/planning/scenario_planning/trajectory
3232
/localization/twist_estimator/twist_with_covariance:
3333
type: geometry_msgs/msg/TwistWithCovarianceStamped
3434
reversed: True
@@ -41,18 +41,6 @@ topics:
4141
type: redundancy_msgs/msg/ElectionStatus
4242
reversed: True
4343
remap: /sub/system/election/status
44-
/system/election/communication:
45-
type: redundancy_msgs/msg/ElectionCommunication
46-
reversed: True
47-
remap: /sub/system/election/communication
48-
/system/mrm_request:
49-
type: redundancy_msgs/msg/MrmBehavior
50-
reversed: True
51-
remap: /sub/system/mrm_request
52-
/system/fail_safe/over_all/mrm_state:
53-
type: autoware_adapi_v1_msgs/msg/MrmState
54-
reversed: True
55-
remap: /sub/system/fail_safe/over_all/mrm_state
5644
/system/fail_safe/mrm_state:
5745
type: autoware_adapi_v1_msgs/msg/MrmState
5846
reversed: True
@@ -65,54 +53,22 @@ topics:
6553
type: tier4_system_msgs/msg/OperationModeAvailability
6654
reversed: True
6755
remap: /sub/system/operation_mode/availability
68-
/can/command/m0_command:
69-
type: j6_interface_msgs/msg/M0Command
70-
reversed: True
71-
remap: /sub/can/command/m0_command
72-
/planning/scenario_planning/max_velocity:
73-
type: tier4_planning_msgs/msg/VelocityLimit
74-
reversed: True
75-
remap: /sub/planning/scenario_planning/max_velocity
76-
/velocity_smoother/debug/trajectory_external_velocity_limited:
77-
type: autoware_planning_msgs/msg/Trajectory
78-
reversed: True
79-
remap: /sub/planning/scenario_planning/velocity_smoother/debug/trajectory_external_velocity_limited
80-
/velocity_smoother/debug/trajectory_lateral_acc_filtered:
81-
type: autoware_planning_msgs/msg/Trajectory
82-
reversed: True
83-
remap: /sub/planning/scenario_planning/velocity_smoother/debug/trajectory_lateral_acc_filtered
84-
/velocity_smoother/debug/trajectory_raw:
85-
type: autoware_planning_msgs/msg/Trajectory
86-
reversed: True
87-
remap: /sub/planning/scenario_planning/velocity_smoother/debug/trajectory_raw
88-
/velocity_smoother/debug/trajectory_steering_rate_limited:
89-
type: autoware_planning_msgs/msg/Trajectory
56+
/system/command_mode/availability:
57+
type: tier4_system_msgs/msg/CommandModeAvailability
9058
reversed: True
91-
remap: /sub/planning/scenario_planning/velocity_smoother/debug/trajectory_steering_rate_limited
92-
/velocity_smoother/debug/trajectory_time_resampled:
93-
type: autoware_planning_msgs/msg/Trajectory
94-
reversed: True
95-
remap: /sub/planning/scenario_planning/velocity_smoother/debug/trajectory_time_resampled
96-
/velocity_smoother/distance_to_stopline:
97-
type: tier4_debug_msgs/msg/Float32Stamped
98-
reversed: True
99-
remap: /sub/planning/scenario_planning/velocity_smoother/distance_to_stopline
100-
/planning/trajectory_repeater/trajectory:
101-
type: autoware_planning_msgs/msg/Trajectory
102-
reversed: True
103-
remap: /sub/planning/trajectory_repeater/trajectory
104-
/planning/scenario_planning/max_velocity_candidates:
105-
type: tier4_planning_msgs/msg/VelocityLimit
106-
reversed: True
107-
remap: /sub/planning/scenario_planning/max_velocity_candidates
108-
/planning/scenario_planning/current_max_velocity:
109-
type: tier4_planning_msgs/msg/VelocityLimit
59+
remap: /sub/system/command_mode/availability
60+
/system/command_mode/request:
61+
type: tier4_system_msgs/msg/CommandModeRequest
11062
reversed: True
111-
remap: /sub/planning/scenario_planning/current_max_velocity
63+
remap: /sub/system/command_mode/request
11264
/system/operation_mode/state:
11365
type: autoware_adapi_v1_msgs/msg/OperationModeState
11466
reversed: True
11567
remap: /sub/system/operation_mode/state
68+
/can/command/m0_command:
69+
type: j6_interface_msgs/msg/M0Command
70+
reversed: True
71+
remap: /sub/can/command/m0_command
11672
/can/command/m1_command:
11773
type: j6_interface_msgs/msg/M1Command
11874
reversed: True
@@ -121,15 +77,39 @@ topics:
12177
type: j6_interface_msgs/msg/B0Command
12278
reversed: True
12379
remap: /sub/can/command/b0_command
80+
/planning/topic_relay_controller/trajectory:
81+
type: autoware_planning_msgs/msg/Trajectory
82+
reversed: True
83+
remap: /sub/planning/topic_relay_controller/trajectory
12484
/main/localization/pose_with_covariance:
12585
type: geometry_msgs/msg/PoseWithCovarianceStamped
12686
reversed: True
12787
remap: /sub/main/localization/pose_with_covariance
12888
/control/trajectory_follower/lateral/diagnostic:
129-
type: tier4_debug_msgs/msg/Float32MultiArrayStamped
89+
type: autoware_internal_debug_msgs/msg/Float32MultiArrayStamped
13090
reversed: True
13191
remap: /sub/control/trajectory_follower/lateral/diagnostic
13292
/control/trajectory_follower/longitudinal/diagnostic:
133-
type: tier4_debug_msgs/msg/Float32MultiArrayStamped
93+
type: autoware_internal_debug_msgs/msg/Float32MultiArrayStamped
13494
reversed: True
13595
remap: /sub/control/trajectory_follower/longitudinal/diagnostic
96+
/control/trajectory_follower/control_cmd:
97+
type: autoware_control_msgs/msg/Control
98+
reversed: True
99+
remap: /sub/control/trajectory_follower/control_cmd
100+
/control/control_command_gate/inputs/in_lane_stop/control:
101+
type: autoware_control_msgs/msg/Control
102+
reversed: True
103+
remap: /sub/control/control_command_gate/inputs/in_lane_stop/control
104+
/control/control_command_gate/source/status:
105+
type: tier4_system_msgs/msg/CommandSourceStatus
106+
reversed: True
107+
remap: /sub/control/control_command_gate/source/status
108+
/control/command/control_cmd:
109+
type: autoware_control_msgs/msg/Control
110+
reversed: True
111+
remap: /sub/control/command/control_cmd
112+
/vehicle/status/control_mode:
113+
type: autoware_vehicle_msgs/msg/ControlModeReport
114+
reversed: True
115+
remap: /sub/vehicle/status/control_mode

0 commit comments

Comments
 (0)