We have only tested on Ubuntu which means it's the only operating system we currently officially support. Users are always welcome to try different operating systems and can share their patches with the community if they are successfully able to use them.
The majority of bugs can be found through logging (using AERROR, AINFO, ADEBUG). If step-by-step debugging is needed, we recommend using gdb.
Apollo currently functions as a single system, therefore before adding a module
to it, understand that there would be a lot of additional work to be done to
ensure that the module functions perfectly with the other modules of Apollo.
Simply add your module to the modules/
folder. You can
use modules/routing
as an example, which is a relatively simple module. Write
the BUILD files properly and apollo.sh will build your module automatically
An error message like this means that your system does not have enough space to build Apollo. To resolve this issue, run the following command to free up some space on your host:
docker/setup_host/cleanup_resources.sh
Run bash apollo.sh clean -a
inside Docker to free more.
There could be a number of reasons why this error occurs. Please follow the steps recommended in the following thread. There are quite a few suggestions. If it still does not work for you, comment on the thread mentioned above.
If you see an error like this, you do not have enough memory to build Apollo.
Please ensure that you have at least 16GB memory available before building
Apollo. You could also find --jobs=$(nproc)
in apollo.sh file and replace it
with --jobs=2
. This will make build process to use only 2 cores. Building will
be longer, but will use less memory.
More Software FAQs to follow.