I’m part of an inexperienced team coding in C++ and would like to make an autonomous using PROS C++.
We decided to make a carbon copy of the popular and great robot “Goofy” and use the code RI3D generously provided. Unfortunatly, they didn’t have the time to make an autonomous and after some great searching on the internet, only a few results came up for complex examples or how to code an autonomous using PROS.
Could someone please provide a well-commented example of a PROS autonomous? We have a 4-motor drivetrain so I do not want to use the “ChassisControllerFactory” from the legacy OkAPI which only supports two motors. I would also appreciate an example on how one could measure how far it should go in the code and maybe turning. Also, do motor declarations have to be reused in the autonomous method/file (I’m sure this will be specified in the example)?
Thanks! -7133