This is a fork of PyTeapot-Quaternion-Euler-cube-rotation by Nishant Elkunchwar. It has been modified to get data from the MUGIC IMU.
This is a quick'n dirty hack but it works reasonably for me. YMMV, though.
To get it working, you'll probably need at least some basic knowledge of the python language. On Linux, this should work:
-
Clone the repos
-
create a virtual environment and activate it
$ python -m venv venv $ source venv/bin/activate
-
install dependencies
$ pip install -r requirements.txt
-
launch
$ python pymugic.py
Note Please make sure you are using python 3.x. Dependending on your system you might need to replace
python
with python3
or py3
and maybe pip
with pip3
.