You have several options:
-
To build apollo on your computer, start by reviewing the README.md
-
To run the Apollo demo offline, go to: apollo/docs/demo_guide/README.md.
-
To install and build Apollo on a vehicle, go to: apollo/docs/quickstart/apollo_1_0_quick_start.md.
-
To build the Apollo Kernel, the Robot Operating System (ROS), and Apollo, go to: apollo/docs/quickstart/apollo_1_0_quick_start_developer.md.
- Carefully review the instructions in the documentation for the option that you selected to get started with the Apollo project.
- Make sure that you follow the steps in the document exactly as they are written.
- Use Ubuntu 14.04 as the build can only be implemented using Linux.
- Verify that the Internet setting is correct on your computer.
- Allocate more than 1GB of memory, at the recommended minimum, for your computer.
Many build problems are related to the environment settings.
- Run the script to get your environment:
bash scripts/env.sh >& env.txt
- Provide the content of env.txt in your post.
Use these ports for HMI and Dreamview:
- 8887: HMI
- 8888: Dreamview
The ROS package is downloaded when you start to build apollo:
bash apollo.sh build
.
- Run the following command inside Docker to set up the ROS environment after the build is complete:
source /apollo/scripts/apollo_base.sh
- Run ROS-related commands such as rosbag, rostopic and so on.
Follow these steps:
- Log into Docker using the command:
bash docker/scripts/dev_into.sh
- Run the command:
bash apollo.sh clean
Follow these steps:
- Log into Docker using the command:
bash docker/scripts/dev_into.sh
- Run the command:
bazel clean --expunge
The build command,bash apollo.sh build
, then downloads all of the dependent packages according to the WORKSPACE file.