Skip to content

Commit 7ddf92a

Browse files
Merge pull request #1040 from tier4/sync-awf-latest
chore: sync awf-latest
2 parents e22111f + c7918b2 commit 7ddf92a

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/**:
2+
ros__parameters:
3+
update_rate: 10.0
4+
latency_threshold_ms: 1000.0
5+
window_size: 10
6+
7+
processing_steps: # processing steps used to calculate the latency.
8+
# The name of the steps are only used for setting the parameters and for debug outputs
9+
sequence: # sequence ordered from first to last step
10+
- multi_object_tracker
11+
- decorative_object_merger_node
12+
- map_based_prediction
13+
- planning
14+
- control
15+
# Each step needs to be associated with a topic, a topic type, a timestamp meaning, and a multiplier
16+
multi_object_tracker:
17+
topic: # input topic with the timestamp and the latency duration of the processing step
18+
/perception/object_recognition/tracking/multi_object_tracker/debug/meas_to_tracked_object_ms
19+
topic_type: # type of the input topic
20+
autoware_internal_debug_msgs/msg/Float64Stamped
21+
timestamp_meaning: "end" # whether the timestamp represent the "start" or "end" time of the step
22+
latency_multiplier: 1.0 # multiplier to convert the input latency duration into ms (e.g., 1e3 for s->ms, 1e-3 for us->ms)
23+
decorative_object_merger_node:
24+
topic: # input topic with the timestamp and the latency duration of the processing step
25+
/perception/object_recognition/tracking/decorative_object_merger_node/debug/processing_time_ms
26+
topic_type: # type of the input topic
27+
autoware_internal_debug_msgs/msg/Float64Stamped
28+
timestamp_meaning: "end" # whether the timestamp represent the "start" or "end" time of the step
29+
latency_multiplier: 1.0 # multiplier to convert the input latency duration into ms (e.g., 1e3 for s->ms, 1e-3 for us->ms)
30+
map_based_prediction:
31+
topic: # input topic with the timestamp and the latency duration of the processing step
32+
/perception/object_recognition/prediction/map_based_prediction/debug/processing_time_ms
33+
topic_type: # type of the input topic
34+
autoware_internal_debug_msgs/msg/Float64Stamped
35+
timestamp_meaning: "end" # whether the timestamp represent the "start" or "end" time of the step
36+
latency_multiplier: 1.0 # multiplier to convert the input latency duration into ms (e.g., 1e3 for s->ms, 1e-3 for us->ms)
37+
planning:
38+
topic: # input topic with the timestamp and the latency duration of the processing step
39+
/planning/planning_validator/validation_status
40+
topic_type: # type of the input topic
41+
autoware_planning_validator/msg/PlanningValidatorStatus
42+
timestamp_meaning: "end" # whether the timestamp represent the "start" or "end" time of the step
43+
latency_multiplier: 1.0e3 # multiplier to convert the input latency duration into ms (e.g., 1e3 for s->ms, 1e-3 for us->ms)
44+
control:
45+
topic: # input topic with the timestamp and the latency duration of the processing step
46+
/control/control_component_latency
47+
topic_type: # type of the input topic
48+
autoware_internal_debug_msgs/msg/Float64Stamped
49+
timestamp_meaning: "end" # whether the timestamp represent the "start" or "end" time of the step
50+
latency_multiplier: 1.0e3 # multiplier to convert the input latency duration into ms (e.g., 1e3 for s->ms, 1e-3 for us->ms)
51+
52+
latency_offsets_ms: # [ms] extra offset to add to the total latency
53+
- 0.0 # sensing
54+
- 1.4 # perception
55+
- 50.0 # planning
56+
- 15.0 # control
57+
- 191.0 # vehicle interface

autoware_launch/launch/components/tier4_system_component.launch.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<arg name="component_state_monitor_topic_path" value="$(find-pkg-share autoware_launch)/config/system/component_state_monitor/topics.yaml"/>
1313
<arg name="duplicated_node_checker_param_path" value="$(find-pkg-share autoware_launch)/config/system/duplicated_node_checker/duplicated_node_checker.param.yaml"/>
1414
<arg name="processing_time_checker_param_path" value="$(find-pkg-share autoware_launch)/config/system/processing_time_checker/processing_time_checker.param.yaml"/>
15+
<arg name="pipeline_latency_monitor_param_path" value="$(find-pkg-share autoware_launch)/config/system/pipeline_latency_monitor/pipeline_latency_monitor.param.yaml"/>
1516
<arg name="mrm_comfortable_stop_operator_param_path" value="$(find-pkg-share autoware_launch)/config/system/mrm_comfortable_stop_operator/mrm_comfortable_stop_operator.param.yaml"/>
1617
<arg name="mrm_emergency_stop_operator_param_path" value="$(find-pkg-share autoware_launch)/config/system/mrm_emergency_stop_operator/mrm_emergency_stop_operator.param.yaml"/>
1718
<arg name="dummy_diag_publisher_param_path" value="$(find-pkg-share autoware_launch)/config/system/tier4_diagnostics/dummy_diag_publisher.param.yaml"/>

0 commit comments

Comments
 (0)