We have been trying to implement our vision code using the JeVois cam this year, and we are running into some trouble reading data from the serial connection. To test this, we created a very simple Python module for the JeVois cam that sends the string “text” repeatedly over the serial line. Here’s what we are seeing:
- When we run the module through the JeVois Inventor program, we are able to see the test message in the console as expected.
- The video stream itself can be viewed, either through jeVois’s program, a webcam viewer, or through the SmartDashboard (when using CameraServer).
- In any other serial monitor we have tried, we are unable to see this message. We have tried Screen, Minicom, the Arduino serial monitor, and the RoboRIO SerialPort class (Java).
- In all other serial monitors, we are still able to run commands and view their output, along with log information from serlog.
We have tried several things in an attempt to fix this problem, but so far nothing has worked. Here’s what we’ve tried so far:
- Selecting our module using the
setmapping
command. - Selecting our module using the
setmapping2
command. - Setting the initial video mode to NONE and then using
streamon
andstreamoff
to control the module’s behavior. - The
reload
command. - The
restart
command. - Disconnecting/reconnecting the JeVois.
- Reimaging the JeVois cam’s SD card.
- Testing our module on multiple JeVois cams.
- Running
setpar serout All
andsetpar serout USB
manually and through the .cfg scripts on the JeVois.
We have been following the official JeVois documentation, as well as this excellent guide written by @billbo911.
At this point we’re not sure what to try next. Are we missing something? Has anyone run into this issue, or does anyone have any suggestions as to how we might resolve it?