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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. Modal Pipe Architecture (MPA)
  4. Reading data from /run/mpa/vvpx4_sys_status/request

Reading data from /run/mpa/vvpx4_sys_status/request

Scheduled Pinned Locked Moved Modal Pipe Architecture (MPA)
3 Posts 2 Posters 1.2k 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.
  • H Offline
    H Offline
    hedd
    Contributor
    wrote on last edited by
    #1

    hello,
    How can we read data from the pipe /run/mpa/vvpx4_sys_status/request in python in order to read the battery data (voltage,charge,current)

    1 Reply Last reply
    0
    • Chad SweetC Offline
      Chad SweetC Offline
      Chad Sweet
      ModalAI Team
      wrote on last edited by
      #2

      We do not provide a python integration. Reading from named PIPEs is really straight-forward but you would have to implement the request portion, etc as well.

      See stackoverflow here: https://stackoverflow.com/questions/39089776/python-read-named-pipe

      You can find the format how to read from autopilot_sys_status here:

      Link Preview Image
      tools/voxl-inspect-battery.c · master · voxl / VOXL SDK / Utilities / voxl-mpa-tools · GitLab

      Tools and utilities specific to MPA.

      favicon

      GitLab (gitlab.com)

      It may be more straight forward to modify voxl-inspect-battery in C to publish the data in a format your Python code can easily ingest

      H 1 Reply Last reply
      0
      • Chad SweetC Chad Sweet

        We do not provide a python integration. Reading from named PIPEs is really straight-forward but you would have to implement the request portion, etc as well.

        See stackoverflow here: https://stackoverflow.com/questions/39089776/python-read-named-pipe

        You can find the format how to read from autopilot_sys_status here:

        Link Preview Image
        tools/voxl-inspect-battery.c · master · voxl / VOXL SDK / Utilities / voxl-mpa-tools · GitLab

        Tools and utilities specific to MPA.

        favicon

        GitLab (gitlab.com)

        It may be more straight forward to modify voxl-inspect-battery in C to publish the data in a format your Python code can easily ingest

        H Offline
        H Offline
        hedd
        Contributor
        wrote on last edited by
        #3

        @Chad-Sweet thank you

        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

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