This is an experimental repository to
- host shared code such as util functions or Odometry across the two bots' code bases
- use as a potential template creation repository in the future, for easier creation of a new project, without manually copying lots of scripts, as the projects get bigger
Inspired by RIT Core
- If you currently don't have a copy of the OrangeSeed repository, you can clone it by running the following command in your V5 project root folder terminal:
git subtree add --prefix seed https://github.com/SU-Orange-Robotics/OrangeSeed.git main --squash
- Make sure you have permision to execute the scripts under
./seed/scripts
, you can run this in your V5 project root folder terminal (if you want more safety don't use star, but instead list each file):
chmod +x seed/scripts/*.sh
- run the scripts, for example
./seed/scripts/pull-from-seed.sh
NOTE:
Before pulling, run ./seed/scripts/check-before-pull.sh
to ensure there is something to pull. Otherwise git subtree pull will force creating empty commit histories.