PX4 VOXL2 ROS2 Starling Reading Battery Voltage Through Code
-
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.
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