While this code is nothing special in terms of robotics innovation, being the first major robotics codebase I have led, I'm happy with it.
Here are some of the cool features:
-
Controller rumbles at the sg3 time (last 30sec early season, last 15 sec at world's):
Lines 150 to 185 in f981a61
-
Auto MOGO grab using Vision and Ultrasonic:
Lines 5 to 50 in f981a61
-
Monitor when the PID motion is stuck on a wall or MOGO, and move on:
Lines 88 to 107 in f981a61
code/src/subsystems/drivetrain.hpp
Lines 55 to 63 in f981a61
-
My basic neutral goal grab autonomous that FINALLY worked reliably at World's:
Lines 6 to 28 in f981a61
HUGE THANKS to:
- OkapiLib folks (for literally all the complex drive, PID, odometry this does)
- PROS makers (for the framework)
- EZ-Template (for the auton-selector and ideas about stuck monitoring)
- PROS-Grafana-CLI (while I didn't use this too much here, I'm really excited about its potential for spin up)
- Belton High School for funding this, and Mr Giustino for teaching us and enabling us to do this
- Finally, Vex and RECF for making this even exist
To see code history: https://github.com/vex-76513/code/commits/pros
This requires a custom version of OkapiLib at ../OkapiLib from https://github.com/vex-76513/vex-76513-OkapiLib/commit/3c5879de0cd2fa5e4e163e399a040e8aa5de1798 And EZ-Template at ../EZ-Template from https://github.com/EZ-Robotics/EZ-Template/commit/aeaf1785d5a580da01bc50094d1646d7a82383dc
To init environment:
pros c apply --install --download --force --force-apply [email protected]