AwsimRvizPlugins
Feature to operate AWSIM environment from the Rviz plugins.
The following features are implemented:
2D Pose Teleport
: Teleport AWSIM EGO pose from Rviz GUI toolNpc Spawner
: Spawn AWSIM Npc using Rviz GUI tool
Rviz plugins are implemented in the following repositories:
Info
If you want to setup Unity
scene with AwsimRvizPlugins
, see here.
Installation
Install only this plugins to Rviz
- clone this repository
- build package
- source package
You must
source
each time you launch a terminal. - launch Rviz application and use tools
Install with Autoware (pilot-auto)
- clone Autoware repository
- add description of AwsimRvizPlugins to autoware.repos
- Introduce
Autoware (pilot-auto)
according to Autoware Documentation.
2D Pose Teleport
Teleport AWSIM EGO using Rviz GUI tool.
How to use
- On Rviz, Click the plus button on the toolbar and select
awsim_rviz_plugins/2dPoseTeleport
from the list. - On Rviz, Click on
2D Pose Teleport
button from the toolbar and select it. - On AWSIM, Play binary or Play scene.
- On the map displayed in Rviz, drag the cursor to the location and orientation where you want to move the EGO.
If Autoware (pilot-auto)
is running with, press the Initialize with GNSS
button to perform localilization again.
Nps Spawner
Spawn AWSIM Npc using Rviz GUI tool.
Type and velocity of spawned Npc is specified from Rviz display.
How to use
- On Rviz, Click the plus button on the toolbar and select
awsim_rviz_plugins/NpcSpawner
from the list. - On Rviz, Click on
Npc Spawner
button from the toolbar and select it. - On AWSIM, Play binary or Play scene.
- On the map displayed in Rviz, drag the cursor to the location and orientation where you want to spawn the Npc.
If you want to change type and velocity of spawned Npc, do the following: