Skip to content

Commit 1f726f1

Browse files
committed
fixed readme
1 parent 908df37 commit 1f726f1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

simulator/carla_autoware/README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# CARLA Autoware
22

3-
# ROS2/Autoware.universe bridge for CARLA simulator
3+
## ROS2/Autoware.universe bridge for CARLA simulator
44

55
Thanks to <https://github.com/gezp> for ROS2 Humble support for CARLA Communication.
66
This ros package enables communication between Autoware and CARLA for autonomous driving simulation.
77

8-
# Supported Environment
8+
## Supported Environment
99

1010
| ubuntu | ros | carla | autoware |
1111
| :----: | :----: | :----: | :------: |
1212
| 22.04 | humble | 0.9.15 | 2024.04 |
1313

14-
# Setup
14+
## Setup
1515

16-
## install
16+
### Install
1717

1818
- [CARLA Installation](https://carla.readthedocs.io/en/latest/start_quickstart/)
1919
- [Carla Lanelet2 Maps](https://bitbucket.org/carla-simulator/autoware-contents/src/master/maps/)
@@ -26,41 +26,41 @@ This ros package enables communication between Autoware and CARLA for autonomous
2626
2. Change names and create the map folder (example: Town01) inside `autoware_map`. (`point_cloud/Town01.pcd` -> `autoware_map/Town01/pointcloud_map.pcd`, `vector_maps/lanelet2/Town01.osm`-> `autoware_map/Town01/lanelet2_map.osm`)
2727
3. Create `map_projector_info.yaml` and add `projector_type: local` on the first line.
2828

29-
## Build
29+
### Build
3030

3131
```bash
3232
cd colcon_ws
3333
colcon build --symlink-install
3434
```
3535

36-
# Run
36+
### Run
3737

3838
1. Run carla, change map, spawn object if you need
3939

40-
```bash
41-
cd CARLA
42-
./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
43-
```
40+
```bash
41+
cd CARLA
42+
./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
43+
```
4444

4545
2. Run ros nodes
4646

47-
```bash
48-
ros2 launch autoware_launch e2e_simulator.launch.xml map_path:=$HOME/autoware_map/Town01 vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit simulator_type:=carla carla_map:=Town01
49-
```
47+
```bash
48+
ros2 launch autoware_launch e2e_simulator.launch.xml map_path:=$HOME/autoware_map/Town01 vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit simulator_type:=carla carla_map:=Town01
49+
```
5050

5151
3. Set initial pose (Init by GNSS)
5252
4. Set goal position
5353
5. Wait for planning
5454
6. Engage
5555

56-
# Tips
56+
### Tips
5757

5858
- If you want to edit the sensors configuration used in CARLA, edit `objects.json` located in `carla_autoware/config`. Make sure the sensor configuration is the same as the `sensor_kit` description used in Autoware.
5959
- Misalignment might occurs during initialization, pressing `init by gnss` button should fix it.
6060
- Sensor frequency can be changed on `carla_ros.py` Line 67.
6161
- Changing the `fixed_delta_seconds` can increase the simulation tick (clock), some sensors params in `objects.json` need to be adjusted when it is changed (example: LIDAR rotation frequency have to match the FPS).
6262

63-
# Known Issues and Future Works
63+
### Known Issues and Future Works
6464

6565
- Testing on procedural map (Adv Digital Twin).
6666
- Automatic sensor configuration of the CARLA sensors from the Autoware sensor kit.

0 commit comments

Comments
 (0)