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

    Gimbal camera streaming not starting

    Ask your questions right here!
    4
    19
    1.1k
    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.
    • D
      Daniel Ryu
      last edited by 1 Jul 2021, 20:44

      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
      • T
        tom admin
        last edited by 1 Jul 2021, 21:09

        @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

        D 1 Reply Last reply 1 Jul 2021, 21:35 Reply Quote 0
        • D
          Daniel Ryu @tom
          last edited by 1 Jul 2021, 21:35

          @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
          • T
            tom admin
            last edited by 1 Jul 2021, 21:47

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

            1 Reply Last reply Reply Quote 0
            • D
              Daniel Ryu
              last edited by 6 Jul 2021, 20:57

              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
              • T
                tom admin
                last edited by 6 Jul 2021, 20:59

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

                D 1 Reply Last reply 6 Jul 2021, 21:07 Reply Quote 0
                • D
                  Daniel Ryu @tom
                  last edited by 6 Jul 2021, 21:07

                  @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
                  • T
                    tom admin
                    last edited by 6 Jul 2021, 21:09

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

                    D 1 Reply Last reply 6 Jul 2021, 22:42 Reply Quote 0
                    • D
                      Daniel Ryu @tom
                      last edited by 6 Jul 2021, 22:42

                      @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
                      • D
                        Daniel Ryu
                        last edited by 6 Jul 2021, 22:58

                        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

                        E 1 Reply Last reply 7 Jul 2021, 15:45 Reply Quote 0
                        • E
                          Eric Katzfey ModalAI Team @Daniel Ryu
                          last edited by 7 Jul 2021, 15:45

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

                          D 1 Reply Last reply 8 Jul 2021, 18:44 Reply Quote 0
                          • D
                            Daniel Ryu @Eric Katzfey
                            last edited by 8 Jul 2021, 18:44

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

                            D 1 Reply Last reply 8 Jul 2021, 18:47 Reply Quote 0
                            • D
                              Daniel Ryu @Daniel Ryu
                              last edited by 8 Jul 2021, 18:47

                              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
                              • D
                                Daniel Ryu
                                last edited by 8 Jul 2021, 19:02

                                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
                                • M
                                  modaltb ModalAI Team
                                  last edited by 8 Jul 2021, 20:15

                                  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
                                  • D
                                    Daniel Ryu
                                    last edited by 9 Jul 2021, 02:16

                                    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
                                    • M
                                      modaltb ModalAI Team
                                      last edited by 9 Jul 2021, 02:23

                                      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
                                      • D
                                        Daniel Ryu
                                        last edited by 9 Jul 2021, 18:15

                                        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
                                        • D
                                          Daniel Ryu
                                          last edited by 22 Sept 2021, 22:21

                                          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