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
-
@Chad-Sweet thank you