Does anyone know of any auton selector libraries that are compatible with the latest PROS Kernel (4.1.0) and CLI (3.5.4)? All of the libraries I’ve found are for older kernels, and I really don’t want to downgrade my kernel and have to reinstall everything all over again.
Thanks in advance!
Luke - Programmer, 16756A B.R.I.C.C.C
1 Like
I’m not sure of any, but it’s not too hard to just make your own using the touchscreen or controller input during initialize, then check what was selected when autonomous starts.
3 Likes
that’s what i’ve been working on, but for some reason none of it will work when I test with the competiton switch. it seems that when anything is disabled, it’s all disabled, so those functions will only run with a field controller or something. I find it infuriating.
1 Like
I don’t have a library, but I can give you my code from last year that worked, however, it is quite advanced C++
1 Like
I appreciate the offer, but it’s not so much code I want, I was just trying to make my life easier and still learn it myself. I’ll do it the hard way, but does anyone know why the comp initialize or even the disabled functions aren’t running when I use the competition switch? Do I have to have a field controller to test these?
1 Like
I don’t know a lot about competition switches, and comp_init.
Last year, using PROS, I started a thread in init() to run the auton selector so the execution didn’t block, and it assigned a variable that I later used in auton() to run the correct autonomous function.
If you use V5 Pro instead of PROS, I don’t know sorry.
1 Like
Makes sense, I’ll just try to put it in init then. Thanks!
JAR Template has an auton selector that cycles through autons by tapping the brain screen, however thats in Vexcode Pro not PROS which might not be what you want
Sure, I wrote a pretty versatile one, but it is probably go practice to try writing it yourself. How comfortable are you with the C++ language?
I know enough to know what I’m doing, but that’s about it.