Note: This feature is currently only available for ROS applications
NPC Ghost Mode
Ghost Mode is a feature that gives full control of an NPC vehicle’s location and orientation to the user. A ROS message containing the NPC vehicle’s positional data can be broadcast to the simulator, which will then place a vehicle at the received coordinates. The name is inspired by time trial “ghost” vehicles from racing games and simulations.
Access the NPC Ghost Mode from the main menu bar. Go to PlayMode >> Ghost >> NPC Ghost Mode to activate.
Once activated, a window prompting for connection details will appear.
Fill out the necessary IP addresses according to your simulation environment setup, and press Apply. A new /NpcGhost_Topic should be published over ROS, and a corresponding vehicle should be generated within MORAI SIM.
Interface Details
Assuming the ROS environment was set up correctly according to the ROS section of the manual, no additional setup should be necessary.
NPC Ghost Cmd
MORAI Npc Ghost Controller receives positional information from a ROS machine and places an NPC vehicle at the designated positions over time.