ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Image transmission between Trip2 and VOXL2

    Ask your questions right here!
    3
    9
    480
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ethan WuE
      Ethan Wu
      last edited by

      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.

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @Ethan Wu
        last edited by

        @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.

        Ethan WuE 1 Reply Last reply Reply Quote 0
        • Ethan WuE
          Ethan Wu @Eric Katzfey
          last edited by

          @Eric-Katzfey

          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.

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @Ethan Wu
            last edited by

            @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.

            Ethan WuE 2 Replies Last reply Reply Quote 0
            • Ethan WuE
              Ethan Wu @Eric Katzfey
              last edited by

              @Eric-Katzfey Thank you for replying, now the problem is solved and I think is a hardware issue that leads to segmentation fault.

              1 Reply Last reply Reply Quote 0
              • Ethan WuE
                Ethan Wu @Eric Katzfey
                last edited by

                @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 WuE 1 Reply Last reply Reply Quote 0
                • Ethan WuE
                  Ethan Wu @Ethan Wu
                  last edited by

                  @Ethan-Wu I just did some research to find out that it seems that Ethernet can't be treated like a UVC camera, right?

                  ModeratorM Eric KatzfeyE 2 Replies Last reply Reply Quote 0
                  • ModeratorM
                    Moderator ModalAI Team @Ethan Wu
                    last edited by

                    @Ethan-Wu UVC is USB Video Device Class, Wikipedia

                    1 Reply Last reply Reply Quote 0
                    • Eric KatzfeyE
                      Eric Katzfey ModalAI Team @Ethan Wu
                      last edited by

                      @Ethan-Wu Not sure about Ethernet. UVC is specific to USB.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB | Contributors