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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL SDK and Software
  3. Instructions/documentation needed on how to add new code snippet on voxl-build

Instructions/documentation needed on how to add new code snippet on voxl-build

Scheduled Pinned Locked Moved Unsolved VOXL SDK and Software
3 Posts 2 Posters 799 Views 2 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.
  • G Offline
    G Offline
    Gaurav Borade
    Contributor
    wrote on last edited by
    #1

    I am trying to add a new code on top of the existing one.

    The use case is: To stream multiple camera streams on Qgroundcontrol after a specific interval.

    Progress uptill now:
    I can able to stream camera videos using SSH connection (https://docs.modalai.com/voxl-rtsp/) & using command

    voxl-rtsp -c 0 # Stream video from Hi-res Image Sensor
    voxl-rtsp -c 1 # Stream video from Hi-res Image Sensor
    voxl-rtsp -c 2 # Stream video from Hi-res Image Sensor

    Now, I want to make a script for it, it will auto start the camera stream on the boot & start streaming & switch the streams after every few seconds.

    Need help on how to add that code snippet, where to add it etc & any useful links/docs/tutorial/videos will also work.

    thank you!

    1 Reply Last reply
    0
    • Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      Voxl uses systemd for startup. You create a "service" file to implement your desired startup action and place it in the /etc/systemd/system directory. There are lots of guides and documentation on the Internet about how to create systemd service files. You can also look at the service files already on Voxl for some examples.

      1 Reply Last reply
      1
      • G Offline
        G Offline
        Gaurav Borade
        Contributor
        wrote on last edited by
        #3

        Thank you for your reply, I will definitely try this.

        1 Reply Last reply
        0

        Reading along? Create a free ModalAI Forum account to join in.

        With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

        Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

        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

        • Don't have an account? Register

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