Autonomous-Motorsports-Purdue / AMP_ASSv2

Reassembled, simpler, without move_base and loop closure issues
5 stars 1 forks source link

AMP Autonomous Software Stack v2

AMP_ASSv2 CI AMP-CLI CI

Second iteration of the Autonomous Software Stack (ASS) for the AMP go-kart. Go to the wiki to learn more about this repo and code standards.

Developing

The best way to work with the codebase is within a Ubuntu 20.04 VM. To do so, clone this repo, install all the dependencies and build the project.

rosdep update
rosdep install --from-paths src -iry
catkin_make

For people unable to work in a Ubuntu 20.04 VM, it is recommended to work on the code base within a virtual ROS environment in a docker container. To do so, the amp-cli will help you set up all you'll need.

sudo pip install .

Formatting

In order to run the pre-commit formatter, install pre-commit (via PyPI) and clang (via your distro's package manager) on your Linux Machine and run:

pre-commit install

This will make it so that a format check is executed whenever you attempt to commit changes.

In order to pass the formatting check, run the following before every commit:

pre-commit run -a

The formatter was borrowed from MoveIt's ROS Repo.