Skip to content

Commit

Permalink
docs(reaction_analyzer): update bag files and the README (#8633)
Browse files Browse the repository at this point in the history
* docs(reaction_analyzer): update bag files and the README

Signed-off-by: batuhanbeytekin <[email protected]>
Signed-off-by: Batuhan Beytekin <[email protected]>
  • Loading branch information
batuhanbeytekin authored Sep 18, 2024
1 parent 1ebc3dc commit d57f82d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions tools/reaction_analyzer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ start to test. After the test is completed, the results will be stored in the `o
#### Perception Planning Mode

- Download the rosbag files from the Google Drive
link [here](https://drive.google.com/file/d/1-Qcv7gYfR-usKOjUH8I997w8I4NMhXlX/view?usp=sharing).
link [here](https://drive.google.com/drive/folders/1eJMEdt4WbU-W6MPXlNTkIhZtwpof0HcO?usp=sharing).
- Extract the zip file and set the path of the `.db3` files to parameters `path_bag_without_object`
and `path_bag_with_object`.
- You can start to test with the following command:
Expand All @@ -90,6 +90,8 @@ start to test. After the test is completed, the results will be stored in the `o
ros2 launch reaction_analyzer reaction_analyzer.launch.xml running_mode:=perception_planning vehicle_model:=sample_vehicle sensor_model:=awsim_labs_sensor_kit map_path:=[MAP_PATH]
```

- On the first run of the tool in perception_planning mode, initialization might take longer than expected. Please allow some time for the process to complete.

After the command, the `e2e_simulator` and the `reaction_analyzer` will be launched. It will automatically start
to test. After the test is completed, the results will be stored in the `output_file_path` you defined.

Expand Down Expand Up @@ -119,10 +121,8 @@ for `perception_planning` mode) parameters.**
ros2 launch autoware_launch e2e_simulator.launch.xml vehicle_model:=sample_vehicle sensor_model:=awsim_labs_sensor_kit map_path:=[MAP_PATH]
```

- After EGO is initialized, you can move the ego vehicle to the desired position by using the `SetGoal` button in the
RViz.
- After the EGO stopped in desired position, please localize the dummy obstacle by using the traffic controller. You can
control the traffic by pressing `ESC` button.
- After the EGO is initialized, you can position the ego vehicle in the desired location using the `2D Pose Estimate` button in RViz.
- After the EGO located in desired position, please localize the dummy obstacle by using the traffic controller. You can access the traffic control section by pressing the 'ESC' key.

**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:**
Expand Down
26 changes: 13 additions & 13 deletions tools/reaction_analyzer/param/reaction_analyzer.param.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@
spawn_distance_threshold: 15.0 # m # for planning_control mode
poses:
initialization_pose:
x: 81546.984375
y: 50011.96875
x: 81433.640625
y: 49958.21484375
z: 0.0
roll: 0.0
pitch: 0.0
yaw: 11.1130405
yaw: 39.03
goal_pose:
x: 81643.0703125
y: 50029.8828125
x: 81470.375
y: 49979.98046875
z: 0.0
roll: 0.0
pitch: 0.0
yaw: 13.12
yaw: 34.50
entity_params:
x: 81633.86068376624
y: 50028.383586673124
z: 42.44818343779461
x: 81463.21489145725
y: 49975.28639242719
z: 42.58936607707992
roll: 0.0
pitch: 0.0
yaw: 11.8235848
x_dimension: 3.95
y_dimension: 1.77
z_dimension: 1.43
yaw: 34.02
x_dimension: 4.4428727773677945
y_dimension: 1.9870534465281258
z_dimension: 1.4620632809012277
topic_publisher:
path_bag_without_object: <PATH_TO_YOUR_BAGS>/rosbag2_awsim_labs/rosbag2_awsim_labs.db3
path_bag_with_object: <PATH_TO_YOUR_BAGS>/rosbag2_awsim_labs_obstacle/rosbag2_awsim_labs_obstacle.db3
Expand Down

0 comments on commit d57f82d

Please sign in to comment.