Skip to content
Branch: master
Find file History

README.md

Run Offline Demo

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

First fork and then clone Apollo's GitHub code and then 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/dev_start.sh
    
  2. Enter the docker release environment:

    bash docker/scripts/dev_into.sh
    
  3. Build Apollo in the Container:

    bash apollo.sh build
    

    Note: If you do not have a GPU, you can use the following script instead

    bash apollo.sh build_cpu
    
  4. Bootstrap to start ros call and Monitor module and Dreamview

    bash scripts/bootstrap.sh
    
  5. Download demo record:

    cd docs/demo_guide/
    python rosbag_helper.py demo_3.5.record
    
  6. Now you can play the record:

    cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop
    

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

  7. 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!

You can’t perform that action at this time.