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. voxl2 portal source code

voxl2 portal source code

Scheduled Pinned Locked Moved Ask your questions right here!
4 Posts 2 Posters 1.1k 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.
  • R Offline
    R Offline
    relevinsky
    Contributor
    wrote on last edited by
    #1

    Hi,
    Could you help me to understand in your voxl-portal source code, how I should modify code for adding in for e.g. in Camera : TFlite tab near "FPS" and "Inference" strings will appear my string "Hello world"?
    Please help me. I know, where is a source code of voxl-portal("https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal").
    Thank you for your help.

    1 Reply Last reply
    0
    • Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      Do you want to add a static string or something that is sent from VOXL?

      The html source for the camera page is here : https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal/-/blob/master/web_root/video.html, you could add static context in the <body> tag.

      R 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        Do you want to add a static string or something that is sent from VOXL?

        The html source for the camera page is here : https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal/-/blob/master/web_root/video.html, you could add static context in the <body> tag.

        R Offline
        R Offline
        relevinsky
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev Hi,
        Yes,
        I want send some new string from VOXL2, that should appear near "FPS:....".
        Thanks

        Alex KushleyevA 1 Reply Last reply
        0
        • R relevinsky

          @Alex-Kushleyev Hi,
          Yes,
          I want send some new string from VOXL2, that should appear near "FPS:....".
          Thanks

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by
          #4

          @relevinsky , i don't have a good example to point you to.. you would need to modify the code on the web GUI side and the code that is running on voxl-portal Voxl.

          VOXL sends all the information to the browser via web sockets. Here is where video stats (including fps) are sent : https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal/-/blob/master/src/video_group_manager.cpp?ref_type=heads#L313 and there is the browser code that parses the video stats https://gitlab.com/voxl-public/voxl-sdk/services/voxl-portal/-/blob/master/web_root/video.html#L588.

          I would suggest first experimenting with existing data structure, such as VideoStats and see if you change the data on the VOXL side, make sure it shows up correctly in voxl-portal. After that, you could change the VideoStats structure add a message to it and also print it in the browser.

          After understanding how the message passing works, you could add your own message definition on both sides and display the contents.

          I hope this helps.

          Alex

          1 Reply Last reply
          0

          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

          • Don't have an account? Register

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