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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. PX4 VOXL2 ROS2 Starling Reading Battery Voltage Through Code

PX4 VOXL2 ROS2 Starling Reading Battery Voltage Through Code

Scheduled Pinned Locked Moved Unsolved General Questions
1 Posts 1 Posters 390 Views
  • 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
    GlennTee
    Contributor
    wrote on last edited by
    #1

    Hello. I'm trying to obtain the voltage of the battery on the Starling drone I've been working with it as I want to use it in my Python program to tell the drone where to go based on whether the battery is high or low in charge. I've been having trouble doing this and I was wondering if there is any easy way to go about doing this. I don't seem to have a "battery_status" topic when I do "ros2 topic list," but I do see a BatteryStatus.msg file within px4_msgs, a package I am using. Any help or insight would be greatly appreciated.

    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