Also, I remember very clearly, we didn’t have the same problem with vision sensors in past Change Up seasons.
Vision sensors have been disconnecting and reconnecting from time to time this season, and all 7 of our bots here have the same problem, even worse than the one in the picture.
Well, I ran this with a more highly configured system for several hours with no disconnections.
This was the system config.
log after running code for ~100 minutes.
does the vision sensor disconnect if just showing the dashboard ?
If it doesn’t, are you programming with VEXcode or PROS ?
I really don’t know where to go from here, everything is performing as designed. It’s either a cable issue, connector issue or something in your code, I don’t know what else to suggest,
I just rechecked the logs for 7 of the bots using the same code, 4 of them have their vision sensors disconnected all the time, I also rechecked the cables and ports on these 4 bots and everything works is normal.
I’m sorry I didn’t express clearly, I just want to use vision sensors too much, and the seven robots are all from our own team.
I’m putting together the code for the vision sensor right now, I’ll send it to you later.
I still don’t see disconnect issues in the way you are, the only way I could occasionally get the camera to disconnect was to move to the dashboard screens and/or the log display screen while the program was running. This would very occasionally cause a disconnect, but not anywhere near the frequency you seem to indicate.
The code you sent me is also sending many messages to the vision sensor LED, that may make things a little worse, although I tried with and without LED messages and any difference was marginal. You could try removing the LED messages and see if that improves things.
Having dug into this we did file a couple of small improvements we can make for the next vexos release, most of the vision communication code was written back in 2017, so none of this should be directly related to the 1.1.0 version. The next vexos will probably be released sometime in the next 2 to 4 weeks.
Team or organization ? It would be unusual for a Team to have several robots. Each team’s robot needs to be programmed by their own programmer.