Skip to content

Program for reading data from the Pololu MinIMU-9 over I²C. Works on the Raspberry Pi and probably other embedded ARM Linux boards.

License

Notifications You must be signed in to change notification settings

zhahaoyu/minimu9-ahrs

 
 

Repository files navigation

minimu9-ahrs is a program for reading data from the Pololu MinIMU-9 over I²C. It supports MinIMU-9 versions v0, v1, v2, and v3. The program can output the raw sensor data from the magnetometor, accelerometer, and gyro or it can use that raw data to compute the orientation of the IMU. This program was designed and tested on the Raspberry Pi, but it will probably work on any embedded Linux board that supports I²C. A Debian package is available for easy installation and the minimu9-ahrs source code is on github.

For help getting started, please see: https://github.com/DavidEGrayson/minimu9-ahrs/wiki.

Building From Source

Navigate to the top-level directory of the source code and then run the following two commands:

sudo apt-get install libi2c-dev libboost-program-options-dev python-scipy
make

Then, to install minimu9-ahrs onto your system, run:

sudo make install

Version History

  • 2.0.0 (2014-07-08):
    • Added support for the MinIMU-9 v3 (LSM303D and L3GD20H)
    • Removed the right-shifting of raw accelerometer outputs; the raw readings are now signed 16-bit numbers that can range from -32768 to 32767. Previously the readings were signed 12-bit numbers, so this new version effectively gives readings that are greater by a factor of 16.
    • Changed the minimu9-ahrs-calibrator Python script to use SciPy instead of the old optimization algorithm.
    • Changed the minimu9-ahrs-calibrator script to print a warning if there are fewer than 300 input vectors instead of exiting.
    • Changed the minimu9-ahrs-calibrator script to print a warning if the calibration looks wrong.
  • 1.1.1 (2012-10-17)
  • 1.1.0 (2012-10-15)
  • 1.0.0 (2012-10-06)

About

Program for reading data from the Pololu MinIMU-9 over I²C. Works on the Raspberry Pi and probably other embedded ARM Linux boards.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C++ 97.7%
  • C 1.6%
  • Roff 0.3%
  • CMake 0.2%
  • Python 0.2%
  • Makefile 0.0%