Clone master branch: git clone git@github.com:HotzoneAuto/diamond-auto.git
bash docker/scripts/cyber_start.sh
bash docker/scripts/cyber_into.sh
build cyber
bazel build //cyber/...
build all modules
bash apollo.sh build
Protobuf file generation :
python3 scripts/proto_build_generator.py modules/canbus/proto/BUILD
C/C++ coding style: Apollo adopted the Google C++ Style Guide. Make sure your code conforms to this style guide. You can use command bash apollo.sh lint
to check if your code has any style problem. Or
C++ Code format:
bash scripts/clang-format.sh
Python coding style: Apollo adopted the Google Python Style Guide. You can use the yapf command yapf -i --style='{based_on_style: google}' foo.py
to format a file foo.py.