tao8687 / diamond-auto

Diamond Autonomous Driving Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diamond Auto: An Autonomous Application Based On Cyber RT

Action Status

Environment Setup

Code Clone

Clone master branch: git clone git@github.com:HotzoneAuto/diamond-auto.git

setup Docker Container

bash docker/scripts/cyber_start.sh
bash docker/scripts/cyber_into.sh

Build

build cyber

bazel build //cyber/...

build all modules

bash apollo.sh build

Development ToolChain

Protobuf file generation :

python3 scripts/proto_build_generator.py modules/canbus/proto/BUILD

Coding style

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.

About

Diamond Autonomous Driving Project

License:MIT License


Languages

Language:C++ 81.6%Language:Shell 7.6%Language:Python 5.2%Language:Starlark 4.1%Language:Smarty 0.7%Language:Dockerfile 0.2%Language:GLSL 0.2%Language:Makefile 0.1%Language:CMake 0.1%Language:C 0.0%Language:Assembly 0.0%Language:Qt Script 0.0%Language:Batchfile 0.0%