While our code has no major robotics innovation, I think it’s a nice basic PROS codebase. It’s also the first major robot codebase that I put together myself, so it will always be special to me.
Here are some of the cool features:
- See the cool features list on the GitHub Repo GitHub - vex-76513/code: 2021-22 Tipping Point Vex Robotics Competition Code for Team 76513B · GitHub (it has code embeds, reading is a lot better than on VexForum)
Also, HUGE THANKS to:
- OkapiLib folks (for literally all the complex drive, PID, odometry this does and UNITS are RAD!!!)
- PROS makers (for the framework and toolchain)
- EZ-Template (for the auton-selector and ideas about stuck monitoring (cool feature #3))
- PROS-Grafana-CLI (I used this a little bit here, I’m really excited about its potential for my spin up code)
- Belton High School for funding this, @pietro.giustino for teaching us and helping us do this, and my entire team for making the bot I put this code on
- Vex and RECF for making this even be a thing
Repo
Custom OkapiLib required for this to work:
Edit after @Mentor_355U’s post:
Yes, with OkapiLib, adding a tile = 24 inches unit can be really useful for autonomous.
I’d recommend everyone copy the following into your Okapi projects. I’ll see if they want to upstream it
namespace okapi
{
constexpr QLength tile = 24 * inch;
namespace literals
{
constexpr QLength operator"" _tile(unsigned long long int x)
{
return static_cast<double>(x) * tile;
}
constexpr QLength operator"" _tile(long double x)
{
return static_cast<double>(x) * tile;
}
}
}