Quick Start#
Rosbag simulation#
- Download the sample pointcloud and vector maps, unpack the zip archive and copy the two map files to the same folder.
-
Download the sample rosbag files and put them into the same folder, e.g.,
~/rosbag2/sample/
. -
Open a terminal and launch Autoware
cd ~/workspace/autoware.proj source install/setup.bash ros2 launch autoware_launch logging_simulator.launch.xml map_path:=/path/to/map_folder vehicle_model:=lexus sensor_model:=aip_xx1
-
Open a second terminal and play the sample rosbag file
cd ~/workspace/autoware.proj source install/setup.bash ros2 bag play /path/to/sample.625-2.bag2_0.db3 -r 0.2
-
Focus the view on the ego vehicle by changing the
Target Frame
in the RViz Views panel fromviewer
tobase_link
.
Note#
- Sample map and rosbag: © 2020 Tier IV, Inc.
- Due to privacy concerns, the rosbag does not contain image data, and so traffic light recognition functionality cannot be tested with this sample rosbag. As a further consequence, object detection accuracy is decreased.
Planning Simulator#
- Download the sample pointcloud and vector maps, unpack the zip archive and copy the two map files to the same folder.
-
Open a terminal and launch Autoware
cd ~/workspace/autoware.proj source install/setup.bash ros2 launch autoware_launch planning_simulator.launch.xml map_path:=/path/to/map_folder vehicle_model:=lexus sensor_model:=aip_xx1
-
Set an initial pose for the ego vehicle
- a) Click the
2D Pose estimate
button in the toolbar, or hit theP
key - b) In the 3D View pane, click and hold the left-mouse button, and then drag to set the direction for the initial pose.
- a) Click the
-
Set a goal pose for the ego vehicle
- a) Click the
2D Nav Goal
button in the toolbar, or hit theG
key - b) In the 3D View pane, click and hold the left-mouse button, and then drag to set the direction for the goal pose.
- a) Click the
-
Engage the ego vehicle.
- a) Open the autoware_web_controller in a browser.
- b) Click the
Engage
button.
Note#
- Sample map: © 2020 Tier IV, Inc.