An fully working IMU-Filter and Sensor drivers for the 10DOF-Board over I2C. All in one simple class. Include, calibrate sensors, call read, get angles. (3D Visualisation code for Python also included) Sensors: L3G4200D, ADXL345, HMC5883, BMP085
Diff: IMU/Sensors/I2C_Sensor.cpp
- Revision:
- 4:f62337b907e5
- Parent:
- 0:3e7450f1a938
--- a/IMU/Sensors/I2C_Sensor.cpp Tue Aug 27 22:18:25 2013 +0000 +++ b/IMU/Sensors/I2C_Sensor.cpp Thu Aug 29 13:52:30 2013 +0000 @@ -27,7 +27,7 @@ fclose(fp); } -//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +// TODO TODO TODO-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // ATTENTION!!! there was a problem with other interrupts disturbing the i2c communication of the chip... that's why I use I2C to initialise the sonsors and MODI2C to get the data (only made with readMultiRegister) // IT DIDN'T WORK STABLE IN OTHER COMBINATIONS (if someone has an idea why please let me know) //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------