Skip to content

Commit f4898c6

Browse files
committed
update core awsim demo
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
1 parent d5ad2aa commit f4898c6

1 file changed

Lines changed: 9 additions & 45 deletions

File tree

  • docs/demos/digital-twin-demos/autoware-core-awsim

docs/demos/digital-twin-demos/autoware-core-awsim/index.md

Lines changed: 9 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -59,51 +59,15 @@ If you have not yet installed Autoware, please refer to the [Installation](../..
5959

6060
## Launch Autoware for source installation
6161

62-
- Same as "Launch Autoware for Debian Package installation" section except:
63-
- In step 4, source `$HOME/autoware_core_workspace/install/setup.bash` instead of `/opt/ros/humble/setup.bash`.
62+
```bash
63+
cd $HOME/autoware_core_workspace
64+
source install/setup.bash
65+
ros2 launch autoware_core autoware_core.launch.xml use_sim_time:=true map_path:=$HOME/Downloads/Shinjuku-Map/map vehicle_model:=autoware_sample_vehicle sensor_model:=autoware_awsim_sensor_kit
66+
```
6467

6568
## Launch Autoware for Debian Package installation
6669

67-
1. Create launch workspace and clone repository into it.
68-
69-
```bash
70-
mkdir -p $HOME/autoware_launch_workspace/tmp
71-
cd $HOME/autoware_launch_workspace/tmp
72-
git clone https://github.com/autowarefoundation/autoware_launch.git
73-
git clone https://github.com/tier4/sensor_component_description.git
74-
```
75-
76-
2. Remove unnecessary packages.
77-
78-
```bash
79-
cd $HOME/autoware_launch_workspace
80-
mkdir -p src
81-
colcon list --paths-only --packages-up-to sample_vehicle_description awsim_sensor_kit_description | xargs -I{} mv {} src
82-
rm -rf tmp
83-
```
84-
85-
3. Install dependent ROS packages.
86-
87-
```bash
88-
cd $HOME/autoware_launch_workspace
89-
sudo apt update
90-
sudo apt -y install ros-humble-topic-tools
91-
rosdep update
92-
rosdep install -y --from-paths src --ignore-src --rosdistro humble
93-
```
94-
95-
4. Build the workspace.
96-
97-
```bash
98-
cd $HOME/autoware_launch_workspace
99-
source /opt/ros/humble/setup.bash
100-
colcon build --symlink-install
101-
```
102-
103-
5. Launch Autoware.
104-
105-
```bash
106-
cd $HOME/autoware_launch_workspace
107-
source install/setup.bash
108-
ros2 launch autoware_core autoware_core.launch.xml use_sim_time:=true map_path:=$HOME/Downloads/Shinjuku-Map/map vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit
109-
```
70+
```bash
71+
source /opt/ros/humble/setup.bash
72+
ros2 launch autoware_core autoware_core.launch.xml use_sim_time:=true map_path:=$HOME/Downloads/Shinjuku-Map/map vehicle_model:=autoware_sample_vehicle sensor_model:=autoware_awsim_sensor_kit
73+
```

0 commit comments

Comments
 (0)