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

    Gimbal camera streaming not starting

    Ask your questions right here!
    4
    19
    981
    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.
    • Daniel RyuD
      Daniel Ryu
      last edited by

      I bought a m500 with gimbal attached, and I can't seem to start the gimbal camera streaming. I ssh-ed into the drone over microhard radio (root@ip-address, password oelinux123). The drone cannot recognize ffmpeg for some reason. The drone appears to be up to date software-wise as well

      Screenshot from 2021-07-01 13-42-24.png
      Screenshot from 2021-07-01 13-41-19.png

      1 Reply Last reply Reply Quote 0
      • tomT
        tom admin
        last edited by

        @Daniel-Ryu I believe ffmpeg was removed from voxl-suite a while back. It can be built and installed by following the instructions here: https://gitlab.com/voxl-public/other/voxl-ffmpeg

        Daniel RyuD 1 Reply Last reply Reply Quote 0
        • Daniel RyuD
          Daniel Ryu @tom
          last edited by

          @tom Could the voxl gimbal user guide be updated with that information? It would help a lot of users like myself. https://docs.modalai.com/voxl-m500-gimbal-user-guide/#streaming-to-qgroundcontrol

          1 Reply Last reply Reply Quote 0
          • tomT
            tom admin
            last edited by

            @Daniel-Ryu Yes absolutely, thank you for the feedback.

            1 Reply Last reply Reply Quote 0
            • Daniel RyuD
              Daniel Ryu
              last edited by

              When trying to run "voxl-docker -i voxl-emulator" as part of setting up voxl-ffmpeg, I get this error below:

              Error while pulling image: Get https://index.docker.io/v1/repositories/library/voxl-emulator/images: x509: certificate has expired or is not yet valid

              How do I fix this?

              1 Reply Last reply Reply Quote 0
              • tomT
                tom admin
                last edited by

                @Daniel-Ryu Have you downloaded and loaded the voxl-emulator image from https://developer.modalai.com/asset/download/75 ?

                Daniel RyuD 1 Reply Last reply Reply Quote 0
                • Daniel RyuD
                  Daniel Ryu @tom
                  last edited by

                  @tom Sorry, to clarify: I want to be able to run ffmpeg and stream from the gimbal from my m500, not from a voxl-emulator. Am I misunderstanding and instead must install the voxl-emulator to run ffmpeg?

                  1 Reply Last reply Reply Quote 0
                  • tomT
                    tom admin
                    last edited by

                    @Daniel-Ryu voxl-emulator can be used to build packages for VOXL on your Linux PC. You can read about it here: https://docs.modalai.com/install-voxl-docker/

                    Daniel RyuD 1 Reply Last reply Reply Quote 0
                    • Daniel RyuD
                      Daniel Ryu @tom
                      last edited by

                      @tom That was it, thank you. I have just one suggestion: please include in the voxl-ffmpeg instructions to run ./install_on_voxl.sh at the end to deploy the ipk

                      1 Reply Last reply Reply Quote 0
                      • Daniel RyuD
                        Daniel Ryu
                        last edited by

                        Screenshot from 2021-07-06 15-55-10.png

                        ffmpegs is working but I am still unable to stream to QGC. I'm using the same ip of QGC that is in voxl-vision-px4.conf that allows the drone to even connect to QGC in the first place. Here are all my settings.

                        Screenshot from 2021-07-06 15-57-24.png

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

                          @Daniel-Ryu Are you able to see the video in another viewer, like VLC?

                          Daniel RyuD 1 Reply Last reply Reply Quote 0
                          • Daniel RyuD
                            Daniel Ryu @Eric Katzfey
                            last edited by

                            @Eric-Katzfey Yes, I can get the video to stream following the instructions here https://docs.modalai.com/uvc-streaming/

                            Daniel RyuD 1 Reply Last reply Reply Quote 0
                            • Daniel RyuD
                              Daniel Ryu @Daniel Ryu
                              last edited by

                              Also, could https://docs.modalai.com/voxl-m500-gimbal-user-guide/#streaming-to-qgroundcontrol this guide have a link to this guide here https://docs.modalai.com/uvc-streaming? I came across the second one quite by accident, despite them accomplishing similar purposes

                              1 Reply Last reply Reply Quote 0
                              • Daniel RyuD
                                Daniel Ryu
                                last edited by

                                One more question: there's a config file referred to in this guide which is supposed to demonstrate how the gimbal can be controlled from the RC. Which one is it? https://docs.modalai.com/voxl-m500-gimbal-user-guide/#streaming-to-qgroundcontrol

                                1 Reply Last reply Reply Quote 0
                                • modaltbM
                                  modaltb ModalAI Team
                                  last edited by

                                  Here's a video that can help: https://youtu.be/eYr8nyFid0E?t=26

                                  PX4 params here: https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/blob/master/helpers/gimbal_dx8_config.params

                                  1 Reply Last reply Reply Quote 0
                                  • Daniel RyuD
                                    Daniel Ryu
                                    last edited by

                                    My DX8 looks and behaves differently from the one in the video. Is there a way to confirm that the knob and the switch right next to it are indeed channels 8 and 7, respectively?

                                    Image from iOS.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • modaltbM
                                      modaltb ModalAI Team
                                      last edited by

                                      You can get a good feel from the radio configuration setup in QGC, where you can see the channel assignments -> roughly here https://docs.modalai.com/configure-rc-radio/

                                      1 Reply Last reply Reply Quote 0
                                      • Daniel RyuD
                                        Daniel Ryu
                                        last edited by

                                        I'm still having trouble working out the controller and the gimbal. Here's a video of what I did. The channel monitor acknowledges one switch as channel 6 (which I set to RC_MAP_AUX1) but doesn't seem to respond to the dial. https://we.tl/t-HWHzLeJ46h

                                        1 Reply Last reply Reply Quote 0
                                        • Daniel RyuD
                                          Daniel Ryu
                                          last edited by

                                          Solution: sometimes when just binding the RC controller, the inputs aren't shown. Make sure to restart drone after rebinding. Additionally, I've found different controllers have different lever/switch inputs, so its good to use QGC to look for the responsive switches and assign the ones you want accordingly

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