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

    GPS streaming

    Ask your questions right here!
    2
    8
    203
    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.
    • G
      groupo
      last edited by 23 Jul 2024, 20:04

      I'd like to pull GPS positions off of my drone as it is flying. I am not sure the best way to approach this. I know GPS info is part of the MAVLink stream being sent to QGC. Is it possible to have voxl-mavlink-server stream a specific message to a different IP in parallel? Or, is it simple enough to pull the GPS data off of QGC in realtime? I tried consulting the docs for mavlink-server, but that entry is particularly sparse. TIA

      E 1 Reply Last reply 23 Jul 2024, 21:00 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @groupo
        last edited by Eric Katzfey 23 Jul 2024, 21:01 23 Jul 2024, 21:00

        @groupo You can modify voxl-mavlink-server to send to a parallel IP. Or you can write a separate application that listens to the mavlink pipe published by voxl-mavlink-server and have it forward GPS info to another IP. The voxl-vision-hub application reads mavlink messages this way and can be used as an example. Check the file: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/blob/master/src/mavlink_io.c?ref_type=heads#L120

        G 1 Reply Last reply 25 Jul 2024, 20:12 Reply Quote 0
        • G
          groupo @Eric Katzfey
          last edited by 25 Jul 2024, 20:12

          @Eric-Katzfey by parallel IP do you mean changing secondary_static_gcs_ip to whichever IP I desire?

          E 1 Reply Last reply 26 Jul 2024, 15:39 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @groupo
            last edited by 26 Jul 2024, 15:39

            @groupo Oh, yeah, that should work. Did you try it?

            G 1 Reply Last reply 12 Aug 2024, 14:57 Reply Quote 0
            • G
              groupo @Eric Katzfey
              last edited by 12 Aug 2024, 14:57

              @Eric-Katzfey not yet, had to shift gears but will be coming back to the drones soon though.

              For clarity, you are saying that the Sentinel will stream to both primary and secondary GCS, both on port 14550, even if a GCS connection is established on the primary?

              E 1 Reply Last reply 12 Aug 2024, 15:31 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @groupo
                last edited by 12 Aug 2024, 15:31

                @groupo Yes, that's the intention.

                G 1 Reply Last reply 24 Sept 2024, 13:04 Reply Quote 0
                • G
                  groupo @Eric Katzfey
                  last edited by 24 Sept 2024, 13:04

                  @Eric-Katzfey I put up another post yesterday inquiring about this from a different angle. I stayed away from this because, while I can write C code, I am a little lost on how to compile and run it. I am particularly bad at setting up dev environments and try to leave that to the software engineers, haha. Even if I wrote what you were suggesting, it is still a mavlink message I would have to parse yeah? I have had trouble parsing the ulog files with pyulog. I can that messages exist, but I am not sure how to view them. At the end of the day, I really just want ideally a way to stream/send GPS truth data to a matlab process I am running on a host PC

                  E 1 Reply Last reply 24 Sept 2024, 16:47 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @groupo
                    last edited by 24 Sept 2024, 16:47

                    @groupo I responded to your new post.

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