voxl-streamer client repetitive connect/disconnect
We are having problems when streaming our UVC camera with VOXL streamer.
The voxl-streamer repetitively connects then disconnects when trying to access the camera
Some background, we are using the Sony IMX sensor that is connected to the Microhard add-on board.
lsusbwe can see the device there (although there is no name for it)
The tracking camera and hires camera are able to stream without incident.
Any insight would be greatly appreciated. Thank you!
Chad Sweet last edited by
There is a known issue with UVC streaming. I'm not sure when it will be fixed. We'll try to investigate and get back to you in a few days.
Right on. I will try some troubleshooting from my end as well. Will let you know if I find anything interesting.
@wilkinsaf UVC camera support was developed against QGroundControl v3.5.6 and using a Logitech C270 camera. Newer versions of QGroundControl do not wait long enough for the connection to come up and try to restart. Also, cameras that do not support a raw format won't work. I would try with QGoundControl v3.5.6 first and see if your camera works with that.
An update to UVC camera support has been started. It will increase number of supported cameras by allowing MJPEG and will increase number of supported viewers including latest QGroundControl versions. Target availability is mid-December.
@Eric-Katzfey Thank you for the update Eric!
Also, is there a format/guide on how to modify the camera configuration file? For example if a camera was giving off a different format, framerate, size, etc...
I was trying to find a guide on how to modify that file, but could not.
I figured it would be helpful for developers.
@wilkinsaf The configuration file for voxl-streamer is documented here: https://docs.modalai.com/voxl-streamer/#configuration-file-format
@wilkinsaf The configuration for voxl-camera-server is discussed here: https://docs.modalai.com/voxl-camera-server/#configuration
@wilkinsaf There is an initial version of a new UVC camera server application now available from our "dev" package repo. The application voxl-uvc-server works in conjunction with voxl-streamer to better support UVC cameras. It has been tested with the Logitech C270 and Videology 5MP Micro USB 2.0 Board Camera. The documentation is at https://docs.modalai.com/voxl-uvc-server/ and the code is at https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-uvc-server. To try it out, install the latest Voxl platform release voxl_platform_3-3-0-0.5.0-a. On target, configure the opkg package manager to use the modalai dev repo (https://docs.modalai.com/configure-opkg/). Then use
opkg install voxl-streamerto upgrade voxl-streamer from 0.2.6 to 0.2.7 (and libmodal_pipe from 2.1.1 to 2.1.2). Then
opkg install voxl-uvc-serverto install the new voxl-uvc-server application v0.0.5. Run
voxl-uvc-streamer -dto start the application with debug messages. Then run voxl-streamer with
voxl-streamer -f /usr/share/modalai/voxl-streamer/voxl-streamer.conf -c uvc-serverto use the new configuration file and record type for the uvc server. Let me know if this works for you.