Demonstration of the IMU sensor on the Sense HAT by Serge Schneider.
Assumes the Sense HAT Python library has been installed.
- Python pi3d module
Python 3:
sudo apt-get install python3-pip
sudo pip3 install pi3dPython 2:
sudo apt-get install python-pip
sudo pip install pi3dgit clone git://github.com/astro-pi/apollo-soyuz
cd apollo-soyuz
sudo python3 soyuz.pyPi 1 users will have to wait 3 to 4 minutes for this to load. For Pi 2/3 users it's about 30 seconds.
Pick up the Astro Pi and start moving it around when you see the spacecraft appear on screen.
This is a good demonstration of pitch, roll and yaw.
atoggle accelerometer on/offgtoggle gyroscope on/offmtoggle magnetometer compass on/off+increase yaw offset-decrease yaw offsetEscquit