Vision sensor not working

We only ran for a few minutes and the vision sensor disconnected three times.
Our master uses the latest version of vexos.



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.

1 Like

Well, I ran this with a more highly configured system for several hours with no disconnections.

This was the system config.
gps_test9

log after running code for ~100 minutes.
gps_test7

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,

7 Likes

We use the latest version of VEXcode Pro.


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.

1 Like

I don’t know what to tell you, I cannot reproduce the problem, I ran for over 4 hours with no disconnects…

perhaps send me your code, I will run that next week and see if that’s the issue.

5 Likes

Just FYI, that’s against the rules of the VRC. Robots have to be designed and programed by their own team.

2 Likes

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.

We did take another look at this.

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.

4 Likes

You have a stack of three wire sensors on the brain (I can see at least three sets of wires) What are those sensors?

Ok thank you, I understand, I will try to change the program, look forward to the new vexos.

And, our team retain all the robots at the time of the Change Up season and I test the visual sensor in them above.

1 Like

That is the indicator and pneumatic.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.