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

    Image transmission between Trip2 and VOXL2

    Ask your questions right here!
    3
    9
    596
    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.
    • E
      Ethan Wu
      last edited by 11 Mar 2024, 06:19

      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.

      E 1 Reply Last reply 11 Mar 2024, 16:06 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Ethan Wu
        last edited by 11 Mar 2024, 16:06

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

        E 1 Reply Last reply 12 Mar 2024, 03:37 Reply Quote 0
        • E
          Ethan Wu @Eric Katzfey
          last edited by 12 Mar 2024, 03:37

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

          E 1 Reply Last reply 12 Mar 2024, 15:52 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @Ethan Wu
            last edited by 12 Mar 2024, 15:52

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

            E 2 Replies Last reply 14 Mar 2024, 03:07 Reply Quote 0
            • E
              Ethan Wu @Eric Katzfey
              last edited by 14 Mar 2024, 03:07

              @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
              • E
                Ethan Wu @Eric Katzfey
                last edited by 14 Mar 2024, 03:20

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

                E 1 Reply Last reply 14 Mar 2024, 03:22 Reply Quote 0
                • E
                  Ethan Wu @Ethan Wu
                  last edited by 14 Mar 2024, 03:22

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

                  M E 2 Replies Last reply 14 Mar 2024, 04:09 Reply Quote 0
                  • M
                    Moderator ModalAI Team @Ethan Wu
                    last edited by 14 Mar 2024, 04:09

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

                    1 Reply Last reply Reply Quote 0
                    • E
                      Eric Katzfey ModalAI Team @Ethan Wu
                      last edited by 15 Mar 2024, 15:12

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

                      1 Reply Last reply Reply Quote 0
                      1 out of 9
                      • First post
                        1/9
                        Last post
                      Powered by NodeBB | Contributors