You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**After you set up the positions in the map, we should get the positions of these entities in the map frame. To achieve
111
-
this:**
117
+
- After EGO is initialized, you can move the ego vehicle to the desired position by using the `SetGoal` button in the
118
+
RViz.
119
+
- After the EGO stopped in desired position, please localize the dummy obstacle by using the traffic controller. You can
120
+
control the traffic by pressing `ESC` button.
112
121
113
-
- Convert the positions to map frame by changing Map/Coordinate to World and Map/Orientation to Euler in Scenario
114
-
Editor.
122
+
**After localize EGO and dummy vehicle, we should write the positions of these entities in the map frame in `reaction_analyzer.param.yaml`. To achieve this:**
115
123
116
-
- After these steps, you can see the positions in map frame and euler angles. You can change
117
-
the `initialization_pose`, `entity_params`, `goal_pose` parameters with the values you get from the website.
124
+
- Get initialization pose from `/awsim/ground_truth/vehicle/pose` topic.
125
+
- Get entity params from `/perception/object_recognition/objects` topic.
126
+
- Get goal pose from `/planning/mission_planning/goal` topic.
127
+
128
+
**PS: `initialization_pose` is only valid for `planning_control` mode.**
129
+
130
+
- After the parameters were noted, we should record the rosbags for the test. To record the rosbags, you can use the
131
+
following command:
132
+
133
+
```bash
134
+
ros2 bag record --all
135
+
```
118
136
119
-
**For the `topic_publisher` parameters, you need to record the rosbags from the AWSIM. After opened your AWSIM
120
-
environment, you should record two different rosbags. However, the environment should be static and the position of the
121
-
vehicle should be same.**
137
+
- You should record two rosbags: one without the object and one with the object. You can use the traffic controller to
138
+
spawn the object in front of the EGO vehicle or remove it.
122
139
123
-
- Record a rosbag in empty environment (without an obstacle in front of the vehicle).
124
-
- After that, record another rosbag in the same environment except add an object in front of the vehicle.
140
+
**NOTE: You should record the rosbags in the same environment with the same position of the EGO vehicle. You don't need
141
+
to run Autoware while recording.**
125
142
126
-
**After you record the rosbags, you can set the `path_bag_without_object` and `path_bag_with_object` parameters with the
127
-
paths of the recorded rosbags.**
143
+
-After you record the rosbags, you can set the `path_bag_without_object` and `path_bag_with_object` parameters with the
144
+
paths of the recorded rosbags.
128
145
129
146
## Results
130
147
131
148
The results will be stored in the `csv` file format and written to the `output_file_path` you defined. It shows each
132
-
pipeline of the Autoware by using header timestamp of the messages, and it reports `Node Latency`, and `Total Latency`
149
+
pipeline of the Autoware by using header timestamp of the messages, and it reports `Node Latency`, `Pipeline Latency`, and `Total Latency`
133
150
for each of the nodes.
134
151
135
152
-`Node Latency`: The time difference between previous and current node's reaction timestamps.
136
-
-`Total Latency`: The time difference between the message's published timestamp and the spawn obstacle command sent timestamp.
153
+
-`Pipeline Latency`: The time difference between published time of the message and pipeline header time.
154
+
-`Total Latency`: The time difference between the message's published timestamp and the spawn obstacle command sent
0 commit comments