However, the python examples are coming back zero.
pi@bob:~/matrix-creator-malos/src/python_test $ python test_sensors.py
Connected to publisher with port 20028
Connected to publisher with port 20020
Connected to publisher with port 20032
pressure: None
humidity: None
uv: None
Has anybody had any luck with these?
2)
There is an example for accessing IMU data in the MALOS source examples, but none in the python. As I’m a certified dumbass-newbie, I’m having a little trouble porting these to python. My python skiils haven’t developed to that level yet.
I’d really appreciate a working python example to access the IMU, or any advice to get me started.
Have you tried all the others python examples from here? If yes, how did it go with the everloop.py ?
To port the IMU example to python use both the js_tests and the test_sensors.py as a guide on how to talk with MALOS from python. Share your code and we can help. We will release a python IMU example as well but the current example serve a a guide for it.
Sad to hear that. I am also struggling, especially with the missing PyAudio support which would make life much easier. Also looking for alternatives if i cant use the device like initially planned.
I’ve submitted a pull request on the main repo that updates the python files to work with the latest versions of the api and the protobuffs. In the mean time you can clone my fork which contains working python (2/3) examples running alongside the latest malos as of 5/30/17.