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

    Sony RXO over USB

    Microhard Modems
    7
    37
    2.5k
    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
      Eric Katzfey ModalAI Team @Aaron Bottke
      last edited by 3 Mar 2021, 22:14

      @Aaron-Bottke Also, can you try running voxl-gphoto2 with debugging information enabled and send us the ouput? For example: voxl-gphoto2 -d -v -g

      1 Reply Last reply Reply Quote 0
      • A
        Aaron Bottke
        last edited by 3 Mar 2021, 22:48

        Results of gphoto2 --capture-preview on my host machine as follows.

        aa6c2695-dab0-411b-870f-8eba4001e34d-image.png

        On the VOXL running voxl-gphoto2 -d -v -g yields way to much for me to share here so I will split it up.

        voxl-gphoto2 -d below.
        221be522-7609-4e93-80b9-fd50f17fd18f-image.png

        voxl-gphoto2 -v yields a lot of messages very quickly.
        Output as follows.

        35a2b60a-25fc-4cbe-b9e2-b571115e8499-image.png

        voxl-gphoto2 -v yields too many messages for me to upload with a screenshot.
        I don't see a way to submit a .txt file but the most interesting part of the output that I see is this.

        3fafc1d2-4573-43b3-9b1e-88b9e43287c5-image.png

        E 1 Reply Last reply 4 Mar 2021, 01:23 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @Aaron Bottke
          last edited by 4 Mar 2021, 01:23

          @Aaron-Bottke Okay, thanks! That's very helpful information. It looks like the camera is producing images and voxl-gphoto2 is processing them correctly. So try voxl-streamer and see if you can stream the video. That error message seems to be coming from the gphoto2 library but doesn't seem to be hurting anything.

          1 Reply Last reply Reply Quote 0
          • A
            Aaron Bottke
            last edited by Aaron Bottke 4 Mar 2021, 15:00 4 Mar 2021, 14:49

            Unless I am missing something in the command this is the result from running voxl-streamer and voxl-gphoto2.
            2dd15cf3-2883-4a6b-a366-11b05879e1ff-image.png

            Thanks for all the help.

            E 1 Reply Last reply 4 Mar 2021, 17:24 Reply Quote 0
            • E
              Eric Katzfey ModalAI Team @Aaron Bottke
              last edited by 4 Mar 2021, 17:24

              @Aaron-Bottke Documentation on voxl-streamer is here: https://docs.modalai.com/voxl-streamer/

              For gphoto2 you will want to look at the gphoto2-mpa configuration in /etc/modalai/voxl-streamer.conf. You can use this configuration record by launching with voxl-streamer -c gphoto2-mpa

              1 Reply Last reply Reply Quote 0
              • A
                Aaron Bottke
                last edited by 8 Mar 2021, 14:54

                That got it working!!! I really appreciate the help with this!!!
                My telemetry quit working though so I have to play with that and get that up and running again.
                Thanks!

                1 Reply Last reply Reply Quote 0
                • A
                  Aaron Bottke
                  last edited by Aaron Bottke 8 Mar 2021, 19:59 8 Mar 2021, 19:37

                  @Eric-Katzfey

                  The gphoto-2 seams to be breaking the voxl-vision-px4 system. Any command associated with the voxl-vision-px4 system causes the voxl to kick any adb connection then prevent any from connecting until a power cycle. I can't get both voxl-vision-px4 and gphoto2 installed and running on the same system.

                  Any thoughts?
                  Thanks,

                  E 2 Replies Last reply 8 Mar 2021, 20:00 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @Aaron Bottke
                    last edited by 8 Mar 2021, 20:00

                    @Aaron-Bottke I'll take a look

                    1 Reply Last reply Reply Quote 0
                    • E
                      Eric Katzfey ModalAI Team @Aaron Bottke
                      last edited by 8 Mar 2021, 21:35

                      @Aaron-Bottke I did a fresh install of system image 3.2.0 without installing any additional packages (voxl-suite). After setting up WiFi to connect to the Internet I ran these steps on voxl (over adb):

                      • opkg update
                      • opkg install voxl-vision-px4
                      • voxl-configure-vision-px4 (Specifying no cameras)
                      • Verify QGC connection with telemetry
                      • opkg install voxl-gphoto2
                      • opkg install voxl-streamer
                      • voxl-gphoto2
                      • voxl-streamer -c gphoto2-mpa

                      I then see both telemetry and video in QGC.

                      A 1 Reply Last reply 8 Mar 2021, 22:55 Reply Quote 0
                      • A
                        Aaron Bottke @Eric Katzfey
                        last edited by Aaron Bottke 8 Mar 2021, 22:58 8 Mar 2021, 22:55

                        @Eric-Katzfey
                        Not installing the voxl-suite at first and using opkg to install gphoto2 and voxl-streamer worked.
                        Before I was following the instructions and compiling my own ipk then loading them on using adb. I've got both a video stream and telemetry over the Microhard Modem!
                        Thanks,

                        1 Reply Last reply Reply Quote 0
                        • A
                          Aaron Bottke
                          last edited by 8 Mar 2021, 22:57

                          Will at any point gphoto2's trigger features be ported over to the voxl-gphoto2? I want to be able to trigger a photo/video to be captured and stored on the RX0's SD in-order to achieve max resolution.

                          E 1 Reply Last reply 8 Mar 2021, 23:25 Reply Quote 0
                          • E
                            Eric Katzfey ModalAI Team @Aaron Bottke
                            last edited by 8 Mar 2021, 23:25

                            @Aaron-Bottke Possibly. How did you want to trigger it?

                            1 Reply Last reply Reply Quote 0
                            • A
                              Aaron Bottke
                              last edited by 9 Mar 2021, 15:08

                              @Eric-Katzfey

                              Ultimately if I can use px4s trigger function to tell gphoto2 to trigger an image that would be idea. I should be able to use mavlink to tell when that command is given and then issue gphoto2 to issue the command. This will allow me to do high quality mapping missions with the system.

                              E 1 Reply Last reply 9 Mar 2021, 17:28 Reply Quote 0
                              • E
                                Eric Katzfey ModalAI Team @Aaron Bottke
                                last edited by 9 Mar 2021, 17:28

                                @Aaron-Bottke Yes, that's seems like it would be a nice addition to voxl-gphoto2. We'll put it on our to-do list.

                                R 1 Reply Last reply 18 Apr 2024, 19:27 Reply Quote 0
                                • R
                                  restore @Eric Katzfey
                                  last edited by 18 Apr 2024, 19:27

                                  @Eric-Katzfey Was this ever done? I would like to do a similar thing and trigger an attached DSLR cameras using QGroundControl and gphoto2

                                  E 1 Reply Last reply 19 Apr 2024, 14:36 Reply Quote 0
                                  • E
                                    Eric Katzfey ModalAI Team @restore
                                    last edited by 19 Apr 2024, 14:36

                                    @restore No, unfortunately it has not.

                                    R 1 Reply Last reply 19 Apr 2024, 16:34 Reply Quote 0
                                    • R
                                      restore @Eric Katzfey
                                      last edited by 19 Apr 2024, 16:34

                                      @Eric-Katzfey okay - too bad. Is it still on the to-do list or no longer in the plans?

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