Reading data from /run/mpa/vvpx4_sys_status/request
-
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) -
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:
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
-
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:
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
@Chad-Sweet thank you
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