Image transmission between Trip2 and VOXL2
-
Good afternoon,
I am currently working on integrating a Trip2 camera with a voxl2 device, aiming to establish image streaming via Ethernet. However, I am encountering challenges as the voxl2 device does not recognize the Trip2 camera, despite a successful ping connection.
In an effort to better understand the handling of UVC camera image information within the voxl2 server, I am interested in exploring relevant sections of the voxl2 codebase. Could you kindly guide me to specific resources or code segments, such as those in voxl-streamer, that would enhance my comprehension of how UVC camera data is processed on the voxl2 server?
Furthermore, I am curious about the potential for modifying these code sections to achieve successful image transfer between the Trip2 camera and the voxl2 device. Your insights and guidance on this matter would be greatly appreciated.
Thank you for your time and assistance.
-
@Ethan-Wu UVC cameras use voxl-uvc-server in our system https://gitlab.com/voxl-public/voxl-sdk/services/voxl-uvc-server. You can certainly modify the code as you need for your application.
-
Hello,
I changed the ethernet connection on my Trip2 camera to use HDMI converted to USB. After running voxl-uvc-server -l, the device information is detected, but when debugging, a segmentation fault is reported. Any idea what could be causing this? Here is the error information:voxl2:/$ voxl-uvc-server -f 5 -d loading config file Enabling debug messages ================================================================= width: 640 height: 480 fps: 5 pipe_name: uvc ============================================================== voxl-uvc-server starting Image resolution 640x480, 5 fps chosen UVC initialized Device found Device opened uvc_get_stream_ctrl_format_size succeeded for format YUYV Streaming starting Segmentation fault: Fault thread: voxl-uvc-server(tid: 2617) Fault address: 0x7fae693000 Access to this address is not allowed. Segmentation fault
Any insights on what might be causing the segmentation fault would be appreciated.
-
@Ethan-Wu I really don't have any idea. Often when bringing up a new UVC camera there are issues that need to be debugged and resolved.
-
@Eric-Katzfey Thank you for replying, now the problem is solved and I think is a hardware issue that leads to segmentation fault.
-
@Eric-Katzfey Additionally, I apologize if my initial question was unclear. I understand that VOXL supports UVC type cameras. I'd like to know if cameras transmitted via an Ethernet adapter can be used on VOXL? Or would I need to make significant modifications to the code to achieve this?
-
@Ethan-Wu I just did some research to find out that it seems that Ethernet can't be treated like a UVC camera, right?
-
-
@Ethan-Wu Not sure about Ethernet. UVC is specific to USB.