Our team is at our last straw. We’ve had terrible, terrible lag at both regionals we’ve gone to, and have spent pretty much the entire time at both regionals trying, unsuccessfully, to fix this. So we’ve decided to ask if anyone would be kind enough to share their non-laggy drive code with us?
(In Java please! )
How do you know it’s specifically the drive code, and not, say, the shooter code, or target acquisition - or some other portion of the code that is causing the lag?
It could even be your Driver Station (Windoze!), or a hardware issue.
I’ll bet if you would post your code, the Java gurus here would review it for you, and maybe find the problem.
I really do apologize. I haven’t had access to our files, but they should be up in a moment.
In response to Ether, I do not believe I was very clear on what we were asking. I guess we just wanted to look through how other teams structured their code compared to ours.
I looked through your code. It might not have been you. If one robot is using too much bandwidth it will mess with all 6 of the robots trying to communicate. First is having this issue at a lot of competitions. Was it just you guys or multiple people.