This examples show you how to use the myAHRS+ with python.
- python 2.7
- pySerial
- PyQt4
- PyOpenGL
It is assumed that your myAHRS+ is connected to /dev/ttyACM0(linux) or COM1(windows).
This is the simplest example. It prints out attitude and IMU data(acceleration, angular rate, magnetic fields) on your screen.
Run this example as follows.
$ python python_example.py /dev/ttyACM0
It displays a box that rotates along with the attitude of the myAHRS+.
Run this example as follows.
$ python pyqt_example.py /dev/ttyACM0
Note) Since the ARM-linux does not support PyOpenGL, You can't run this example on odroid(or raspberry pi).