Autoware provides 2 types of simulations. Rosbag is used for testing/validation for Sensing
, Localization
and Perception
stacks. Planning Simulator is mainly used for testing/validation for Planning
stack by simulating traffic rules, interactions with dynamic objects and control command to vehicle.
Assuming already completed Autoware setup.
Sensor | Topic name |
---|---|
Velodyne 128 (Top) | /sensing/velodyne/top/velodyne_packets |
Velodyne 16 (Right) | /sensing/velodyne/right/velodyne_packets |
Velodyne 16 (Left) | /sensing/velodyne/left/velodyne_packets |
IMU (Tamagawa TAG300) | /sensing/imu/tamagawa/imu_raw |
GNSS (Ublox F9P) | /sensing/gnss/ublox/fix_velocity |
/sensing/gnss/ublox/nav_sat_fix | |
/sensing/gnss/ublox/navpvt | |
CAN data | /vehicle/status/control_mode |
/vehicle/status/shift | |
/vehicle/status/steering | |
/vehicle/status/twist | |
Note: Image data are removed due to privacy concerns.
- Launch Autoware with rosbag mode.
source devel/setup.bash
roslaunch autoware_launch logging_simulator.launch map_path:=[path]
- Play sample rosbag.
rosbag play --clock -r 0.2 sample.bag
- sample map : © 2020 TierIV inc.
- rosbag : © 2020 TierIV inc.
Assuming already completed Autoware setup.
- Download sample map from here and extract the zip file.
- Launch Autoware with Planning Simulator
source devel/setup.bash
roslaunch autoware_launch planning_simulator.launch map_path:=[path]
- Set initial position by using
2D Pose Estimate
in rviz.
- Set goal position by using
2D Nav Goal
in rviz.
- Engage vehicle.
- a. Go to autoware_web_controller.
- b. Push
Engage
button.
- Set obstacles' position by using
2D Dummy Pedestrian
or2D Dummy Car
in rviz.
Set goal in parking area.
- sample map : © 2020 TierIV inc.