Hi,
This is my second year as a programmer for FRC. I was interested in looking into vision tracking, and my team mentor ordered a Jevois-A33 smart camera. We have recently got the camera and I have started playing around with it, but am having trouble understanding how the camera would send data to the roboRIO. If anyone can give any advice on attacking vision with the JeVois, I would appreciate it. Thank you.
Probably using the serial port. Here’s our example from a while back where we tried it:
Also this paper if you haven’t read it yet: https://www.chiefdelphi.com/media/papers/3408?
There is also this paper.
https://www.chiefdelphi.com/media/papers/3405
Please feel free to ask more questions here or in PMs.
Do you have Jevois Inventor installed and are using it? If not, that is the place to begin.
When you start it up, the Demo Saliency module is the default. Click on the Console tab and then the Module Output USB button. You should get a stream of ASCII lines like T2 -544 481
Click the Module Output Terse item and select Normal. The stream changes to N2 sm -356 413 300 300. The numbers are the target values in x and y.
You can read about what they are in the Jevois Documentation on Serial Messages. You can format your own messages also in Python.
In the Roborio there needs to be code to open a serial port, grab these messages, split them up and convert them to numeric values.
What we did was modify the Python and Java code in the examples mentioned in the previous reply and get them working for the Steamworks hook targets.
Jevois Inventor makes using the camera so much simpler and more convenient and it can pretty much replace the USBSD sequences in the Design Simple Guide.
Thanks! I knew there was another one, but couldn’t find it.