Skip to content

Latest commit

 

History

History
 
 

demo_guide

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Run Offline Demo

Apollo provides a method to run simulation if you do not have the required hardware.

Set up the docker release environment by following the instructions in the Install docker section of the Build and Release page.

Setup steps:

  1. Start the docker release environment using the command:

    bash docker/scripts/release_start.sh
    
  2. Enter the docker release environment:

    bash docker/scripts/release_into.sh
    
  3. Now you can play the rosbag:

    sudo python docs/demo_guide/rosbag_helper.py demo_2.0.bag #download rosbag
    rosbag play demo_2.0.bag --loop
    

    The --loop option enables rosbag to keep playing the bag in a loop playback mode.

  4. Open Chrome and go to localhost:8888 to access Apollo Dreamview, which opens the screen below. The car in Dreamview is happy to move around!

Congratulations!