Mono-repository for CURC's autonomous car code.
- Plug the power cable into the Raspberry Pi.
- When the car boots up, it should send a message to the
autonomy-bot
channel in the Slack Workspace containing code to ssh into it (ex. "Hi! SSH into me withssh bot@160.39.233.170
.") Copy the code. - Open up a new terminal window and paste the code from (2) to boot into the car. When prompted for a password, use
curc
. - Run
/home/bot/Desktop/startup.sh
to start up the motor subscriber. - In a new Terminal window, repeat steps 2-3 to open up a new instance of the ssh. You can close the tab from part (4) as long as you leave the motor subscriber running (it should repeatedly say something like 'Interface [00:50:17]: [0, 0, 0, 0]').
- To send a move command to the motors, run
rostopic pub /motor std_msgs/String "0, 0, 0, 0" --once
. The 0's can be replaced by any number between 0 and 255.
To contribute code to this repository, you must:
- Ensure your current code does not affect major changes from the most recent master branch. To do this, constantly run
git pull
every time you write new code locally. - Submit a pull request to commit the changes to the repository. You'll require one approval from another developer before the code can be merged to the
master
branch. - Once approved, your remote branch will be committed to
master
.
Provide short, accurate descriptions of your code changes.
For example:
Fixed backwards/forwards mixup bug
Changed tracking tolerance to 0.9
Provide long or cryptic commit messages.
For example:
Created a new technique that tracks the presence of baby dolphins in the pool and propels the robot to swim directly to these dolphins
Updated driver code
Name your remote branch this if you are working on an entirely new feature for the project.
Name your remote branch this if you are fixing an already-existing feature. Feel free to add or ommit numbers at the end of the name to discern your branch from others.
Name your remote branch this if you are refactoring something in an already-existing feature, such as changing a variable name. The above applies here.
Name your remote branch this if you are testing an already-existing feature. The above applies here too.
This project is licensed under the MIT License - see the LICENSE.md file for details.