I personally use blocks( Yes I know Im lame so you dont have to make fun of me because of it) So im converting how I would do that code in blocks over to C++. Now looking back I think the code I posted here is the python version and not the C++ version.
The fact that you’re doing programming is not lame at all…I’ve seen too many competitions where robots just sit for the 15 second autonomous due to “no programming” at all. That’s what would be lame