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

    voxl-streamer client repetitive connect/disconnect

    Ask your questions right here!
    3
    63
    7.4k
    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.
    • W
      wilkinsaf ModalAI Team @Eric Katzfey
      last edited by 21 Dec 2021, 16:10

      @Eric-Katzfey Sorry for being such a pain, but it seems like this repo keeps moving.

      I went to https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-uvc-server

      but got this

      533db1c7-724e-4732-bf4a-7659d9acf39d-image.png

      I keep searching around for the repo, but can not find it

      E 1 Reply Last reply 21 Dec 2021, 20:39 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @wilkinsaf
        last edited by 21 Dec 2021, 20:39

        @wilkinsaf Sorry, it was setup as private. I changed it to public. Can you try again?

        W 2 Replies Last reply 22 Dec 2021, 03:21 Reply Quote 0
        • W
          wilkinsaf ModalAI Team @Eric Katzfey
          last edited by 22 Dec 2021, 03:21

          @Eric-Katzfey Got it, thank you!

          Will download and play with

          1 Reply Last reply Reply Quote 0
          • W
            wilkinsaf ModalAI Team @Eric Katzfey
            last edited by 22 Dec 2021, 03:25

            @Eric-Katzfey Will it remain public?

            E 1 Reply Last reply 23 Dec 2021, 15:48 Reply Quote 0
            • E
              Eric Katzfey ModalAI Team @wilkinsaf
              last edited by 23 Dec 2021, 15:48

              @wilkinsaf Yes, it will remain public. Did you get a chance to see if the changes worked?

              W 2 Replies Last reply 27 Dec 2021, 19:39 Reply Quote 0
              • W
                wilkinsaf ModalAI Team @Eric Katzfey
                last edited by 27 Dec 2021, 19:39

                @Eric-Katzfey Testing out today

                1 Reply Last reply Reply Quote 0
                • W
                  wilkinsaf ModalAI Team @Eric Katzfey
                  last edited by 28 Dec 2021, 18:46

                  @Eric-Katzfey

                  We seem to be having trouble finding the camera now which is weird. I wonder if we need to specifically download and install the drivers?

                  2f9579c4-88ea-4693-b7a8-e67415540bad-image.png

                  E 2 Replies Last reply 28 Dec 2021, 18:58 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @wilkinsaf
                    last edited by 28 Dec 2021, 18:58

                    @wilkinsaf No, you shouldn't need any drivers. Any USB device should be listed with lsusb, even without any specific drivers. Does it show up when plugged into a regular Linux computer?

                    W 1 Reply Last reply 28 Dec 2021, 18:59 Reply Quote 0
                    • W
                      wilkinsaf ModalAI Team @Eric Katzfey
                      last edited by 28 Dec 2021, 18:59

                      @Eric-Katzfey Yes, we have hardwired it into a computer before. We have seen the stream using ffmpeg on VOXL as well. We just can not seem to get voxl-streamer to work with it

                      1 Reply Last reply Reply Quote 0
                      • E
                        Eric Katzfey ModalAI Team @wilkinsaf
                        last edited by 28 Dec 2021, 19:00

                        @wilkinsaf If you unplug the camera from Voxl does anything disappear from the lsusb list?

                        W 1 Reply Last reply 28 Dec 2021, 20:52 Reply Quote 0
                        • W
                          wilkinsaf ModalAI Team @Eric Katzfey
                          last edited by wilkinsaf 28 Dec 2021, 20:53 28 Dec 2021, 20:52

                          @Eric-Katzfey

                          Yes, the top 3 entries in lsusb screenshots above are all cameras. I can unplug those one by one and see them disappear.
                          Would it matter if we have 2 UVC cameras?

                          E 2 Replies Last reply 28 Dec 2021, 20:56 Reply Quote 0
                          • E
                            Eric Katzfey ModalAI Team @wilkinsaf
                            last edited by 28 Dec 2021, 20:56

                            @wilkinsaf Just try one at a time for now. And when you plug the camera in do you see a new /dev/videoX entry appear?

                            1 Reply Last reply Reply Quote 0
                            • E
                              Eric Katzfey ModalAI Team @wilkinsaf
                              last edited by 28 Dec 2021, 20:57

                              @wilkinsaf Also, were you able to get the ordering information for these cameras? If they aren't too expensive I would like to order at least one of them to test against.

                              W 3 Replies Last reply 28 Dec 2021, 21:53 Reply Quote 0
                              • W
                                wilkinsaf ModalAI Team @Eric Katzfey
                                last edited by 28 Dec 2021, 21:53

                                @Eric-Katzfey

                                Yes, let me try one at a time now.
                                Here are the two cameras

                                4de39b51-2708-4707-a1fe-d67161270aa3-image.png ![0_1640728100493_PXL_20211228_214717072.jpg](Uploading 100%)

                                1. Banggood URL

                                2. Blue Robotics URL

                                E 1 Reply Last reply 28 Dec 2021, 22:26 Reply Quote 0
                                • W
                                  wilkinsaf ModalAI Team @Eric Katzfey
                                  last edited by 28 Dec 2021, 21:59

                                  @Eric-Katzfey

                                  Good news, I was able to get voxl-uvc-server to spin up with one usb camera connected.
                                  21d09d1b-d888-45a2-a663-51af22ab926b-image.png

                                  However, I am getting this issue from voxl-streamer
                                  cc766c80-29ad-4160-8191-964e40998ea5-image.png

                                  Seems like I need to figure out the frame size and set the correct one. Let me play around with that now

                                  E 1 Reply Last reply 28 Dec 2021, 22:08 Reply Quote 0
                                  • W
                                    wilkinsaf ModalAI Team @Eric Katzfey
                                    last edited by 28 Dec 2021, 22:05

                                    @Eric-Katzfey Doesn't look to be frame size as the "sizes" seem non-deterministic
                                    f7371975-b223-4f6e-a9f0-3e2b3e744c26-image.png

                                    E 1 Reply Last reply 28 Dec 2021, 22:15 Reply Quote 0
                                    • E
                                      Eric Katzfey ModalAI Team @wilkinsaf
                                      last edited by 28 Dec 2021, 22:08

                                      @wilkinsaf Great, that's some progress! What about if you try the other camera? Not sure why the frame length is different. For a given resolution and frame format that number should be a constant. (e.g. 640 x 480 x 2).

                                      W 1 Reply Last reply 28 Dec 2021, 22:15 Reply Quote 0
                                      • W
                                        wilkinsaf ModalAI Team @Eric Katzfey
                                        last edited by 28 Dec 2021, 22:15

                                        @Eric-Katzfey

                                        Good suggestion. Let me try that.
                                        Check out the length when uvc server fires up

                                        Got frame callback! frame_format = 3, width = 640, height = 480, length = 613376, ptr = 0
                                        

                                        interesting

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          Eric Katzfey ModalAI Team @wilkinsaf
                                          last edited by 28 Dec 2021, 22:15

                                          @wilkinsaf You can try modifying this line in voxl-uvc-server: https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-uvc-server/-/blob/dev/src/main.c#L83

                                          Make it read: .size_bytes = 614400, \

                                          Then rebuild it and try again.

                                          W 1 Reply Last reply 28 Dec 2021, 22:17 Reply Quote 0
                                          • W
                                            wilkinsaf ModalAI Team @Eric Katzfey
                                            last edited by wilkinsaf 28 Dec 2021, 22:18 28 Dec 2021, 22:17

                                            @Eric-Katzfey Sounds good.

                                            The other camera is giving me this error
                                            dab62085-ee06-487d-97c0-99bcd228e382-image.png

                                            The one I compiled could not find the device at all
                                            ad11d578-596e-44b3-b240-049dea293fa4-image.png

                                            E 1 Reply Last reply 28 Dec 2021, 22:20 Reply Quote 0
                                            25 out of 63
                                            • First post
                                              25/63
                                              Last post
                                            Powered by NodeBB | Contributors