Skip to content

bang-drive/book-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bang Algorithm

Setup with Bazel

bash third_party/setup_toolchain.sh

Then you can build and run the project with bazel command.

bazel run //bang/planning:dragon_planner

Setup with pip

Besides Bazel, you can also install dependencies with pip and venv.

pip3 install --upgrade -r third_party/requirements.txt

But note that you should always run in the project root directory.

python3 bang/planning/dragon_planner.py

Upgrade third-party libraries

From time to time, the third-party libraries may need to be upgraded, especially ultralytics which breaks often on old versions. You can do this easily by running the following command.

# For Bazel, resolve and freeze the requirements lock file again.
bash third_party/resolve_requirements.sh

# For PIP, just rerun the install command.
pip3 install --upgrade -r third_party/requirements.txt

About

RoboRace algorithm kit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published