Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Voxl 2 and Herelink Slow Video stream

Voxl 2 and Herelink Slow Video stream

Scheduled Pinned Locked Moved Ask your questions right here!
5 Posts 3 Posters 1.6k Views 1 Watching
  • 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.
  • Nicholas HansenN Offline
    Nicholas HansenN Offline
    Nicholas Hansen
    Contributor
    wrote on last edited by
    #1

    I have been working on getting a voxl 2 and a herelink 1.1 integrated using Sbus with the IO shield and using a usb to eth connection, so far I have gotten them to communicate and send video and telemetry to each other. My two primary issues are that I need to set the IP of the ethernet on the voxl 2 everytime its starts as it will not stay on 192.168.144.5 and the second issue is that my stream of the hires camera is about 1 frame every 4 seconds, any help on this issue would be greatly appreciated, thanks

    tomT 1 Reply Last reply
    1
    • Nicholas HansenN Nicholas Hansen

      I have been working on getting a voxl 2 and a herelink 1.1 integrated using Sbus with the IO shield and using a usb to eth connection, so far I have gotten them to communicate and send video and telemetry to each other. My two primary issues are that I need to set the IP of the ethernet on the voxl 2 everytime its starts as it will not stay on 192.168.144.5 and the second issue is that my stream of the hires camera is about 1 frame every 4 seconds, any help on this issue would be greatly appreciated, thanks

      tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @Nicholas-Hansen In order to set an IP address at boot you could create a systemd service that runs a script similar to this portion of the voxl-modem startup script:

      Link Preview Image
      scripts/voxl-modem-start · master · voxl / VOXL SDK / Utilities / voxl-modem · GitLab

      Modem utilities for the VOXL platform.

      favicon

      GitLab (gitlab.com)

      You could probably highjack the doodle workflow if you really want to. It's pretty basic, it just waits for the network interface to enumerate and sets the IP address if it is different from what is set in the config file. It then monitors that interface and sets the IP again if it ever changes

      echo -e "\nWaiting for eth0..."
              rc=1
              while [ $rc -ne 0 ]; do
                  ifconfig -s | grep eth0
                  rc=$?
                  sleep 1
              done
      
              echo -e "\neth0 initialized"
      
              # loop and re-set IP if network interface goes down and back up
              while true
              do
                  # grab ip address from eth0
                  eth0_ip=$(ip -4 addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | head -1)
      
                  # if it's not what we expect, fix it
                  if [[ "$eth0_ip" != *"$DOODLE_IP"* ]]; then
                      echo "setting IP address to: $DOODLE_IP"
                      ifconfig eth0 $DOODLE_IP netmask 255.0.0.0 up
                  fi
                  sleep 1
              done
      
      Nicholas HansenN 1 Reply Last reply
      2
      • tomT tom

        @Nicholas-Hansen In order to set an IP address at boot you could create a systemd service that runs a script similar to this portion of the voxl-modem startup script:

        Link Preview Image
        scripts/voxl-modem-start · master · voxl / VOXL SDK / Utilities / voxl-modem · GitLab

        Modem utilities for the VOXL platform.

        favicon

        GitLab (gitlab.com)

        You could probably highjack the doodle workflow if you really want to. It's pretty basic, it just waits for the network interface to enumerate and sets the IP address if it is different from what is set in the config file. It then monitors that interface and sets the IP again if it ever changes

        echo -e "\nWaiting for eth0..."
                rc=1
                while [ $rc -ne 0 ]; do
                    ifconfig -s | grep eth0
                    rc=$?
                    sleep 1
                done
        
                echo -e "\neth0 initialized"
        
                # loop and re-set IP if network interface goes down and back up
                while true
                do
                    # grab ip address from eth0
                    eth0_ip=$(ip -4 addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | head -1)
        
                    # if it's not what we expect, fix it
                    if [[ "$eth0_ip" != *"$DOODLE_IP"* ]]; then
                        echo "setting IP address to: $DOODLE_IP"
                        ifconfig eth0 $DOODLE_IP netmask 255.0.0.0 up
                    fi
                    sleep 1
                done
        
        Nicholas HansenN Offline
        Nicholas HansenN Offline
        Nicholas Hansen
        Contributor
        wrote on last edited by
        #3

        @tom That worked great for setting a fixed ip, thank you for the info. The video stream is still 1 frame every 5 seconds, and ideas on how to start working on that issue?

        tomT 1 Reply Last reply
        1
        • Nicholas HansenN Nicholas Hansen

          @tom That worked great for setting a fixed ip, thank you for the info. The video stream is still 1 frame every 5 seconds, and ideas on how to start working on that issue?

          tomT Offline
          tomT Offline
          tom
          admin
          wrote on last edited by
          #4

          @Nicholas-Hansen Are you just using voxl-streamer? What SDK are you using on this voxl2?

          Jeremy FrederickJ 1 Reply Last reply
          1
          • tomT tom

            @Nicholas-Hansen Are you just using voxl-streamer? What SDK are you using on this voxl2?

            Jeremy FrederickJ Offline
            Jeremy FrederickJ Offline
            Jeremy Frederick
            Regular
            wrote on last edited by
            #5

            @tom We're running v1.0.1 SDK. However, we were actually just able to get the RTSP stream working over Herelink with virtually no latency. Using the SiYiQgroundControl application on the Herelink, the RTSP works completely fine. I believe the issue is in the QGC firmware that ships stock with the Herelink controller. For now you can consider this thread solved. Thanks again!

            1 Reply Last reply
            1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            ModalAI
            Categories Recent Tags ModalAI.com Docs
            © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups