Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Changes

RevisionDateWhoCommit message
46:fd5a62296b12 2015-05-27 pvaibhav Code reformatted default tip
45:9cd917ed413a 2015-05-29 uadhikari isGyroCalibrate in SensorFusion is made virtual
44:5483079fa156 2015-05-29 uadhikari Gyro calibration and reset added and flag to check if calibrated
43:6251c0169f4f 2015-05-27 pvaibhav 9-axis sensor fusion class added, accelerometer switched to 16G range
42:160a37bdaa64 2015-05-20 uadhikari added runtime enable/disable of Magnetometer, some warnings persist
41:731e3cfac19b 2015-05-20 uadhikari Refactored SensorFusion class
40:8e852115fe55 2015-05-26 pvaibhav SensorFusion base class and 6 axis derived class. utils, filter and pid classes moved inside SML2.
39:1fa9c0e1ffde 2015-05-19 pvaibhav sixaxis
38:8bfa0c0cce4f 2015-05-14 pvaibhav 6-axis sensor fusion
37:63d355f2cf6a 2015-05-13 pvaibhav Go back to 9 axis as default
36:f61d5837caa2 2015-07-14 eic Implemented first Test-Hangar-Service
35:fb6e4601adf3 2015-05-08 pvaibhav white LED control added, 6-axis sensor fusion added (enabled by default)
34:01dec68de3ed 2015-05-06 pvaibhav motor voltage under 0.5V supported, magneto calibration initial values changed for smartplane2, complementary filter added to sensor fusion (default off), dt now sent with fusion parameters.
33:bd56fc8aeb0a 2015-05-05 pvaibhav White LED mirrors blue LED
32:d37447aec6b4 2015-05-04 pvaibhav Interrupt lines added to all sensors and motor driver, power aware I2C subclass added (currently doesn't do anything)
31:d65576185bdf 2015-04-28 pvaibhav - Gyro doesn't disable interrupt anymore (fix for SML2 v0.95); - Accelerometer frequency reduced to 125 Hz
30:a56c141d1d38 2015-04-23 pvaibhav CherryCam: Add 500ms delay between pull up and pull down of the shutter pin
29:e81a2b1f8825 2015-04-22 pvaibhav Changed CherryCam power pin to p26
28:13eee3fe2e34 2015-04-22 pvaibhav Keep CherryCam power off initially
27:e71a2e4e6e3f 2015-04-21 pvaibhav CherryCam driver added. Empty GPS driver added.
26:8f3e4e1a3acc 2015-04-21 pvaibhav Use Quaternion's getEuelerAngles function
25:abb0f208e6a9 2015-04-17 pvaibhav - Barometer now uses first 100 samples to find zero point.; - LED driver updated for SML2 v95; - Comment corrected about gyro rate; - SensorFusion beta reduced to 0.5 (should reduce some noise)
24:23eae343c631 2015-04-13 pvaibhav Use radians for fused angle
23:48c6a08b5d49 2015-04-10 pvaibhav Turn off debug messages
22:aceb1538418c 2015-04-10 pvaibhav Switched to debug output
21:5a0c9406e119 2015-04-09 pvaibhav Refactoring complete (not heavily tested, compiles)
20:503cbe360419 2015-04-09 pvaibhav WIP Refactor
19:9e9753b87cfe 2015-04-02 pvaibhav SensorFusion beta increased, Barometer does not subtract height offset anymore.
18:f51b1a94a6e2 2015-03-31 pvaibhav Remove asserts (use clipping instead)
17:e9d42864c8a1 2015-03-26 pvaibhav Use my own Euler angle conversion formulas in sensorfusion
16:3e2468d4f4c1 2015-03-20 pvaibhav Barometer driver converted to new Sensor infrastructure
15:4488660e1a3b 2015-03-18 pvaibhav Axes updated again. SensorFusion class added. Works for quaternion output.
14:d9fbb3ccd482 2015-03-17 pvaibhav Magnetometer now has automatic background calibration for hard-iron and soft-iron effects
13:bc20290eaff2 2015-03-16 pvaibhav Magnetometer orientation "corrected" again to -y, x instead of x,y
12:1632d7391453 2015-03-13 pvaibhav Code reformatting
11:d21275e60ebb 2015-03-12 pvaibhav Magnetometer driver implemented including hall-compensation. Reading registers for all sensors uses big-endian sequential read.
10:670bba8a9a50 2015-02-24 pvaibhav QuaternionMath updated to our own fork
9:a0ae9e68f95d 2015-02-24 pvaibhav Properly scale accelerometer values for 12bit depth
8:cba37530d480 2015-02-18 pvaibhav Use Vector3 instead of Sensor::Data
7:604a8369b801 2015-02-17 pvaibhav Changed reading method for sensors to avoid high spikes
6:c12cea26842d 2015-02-12 pvaibhav New "Sensor" base class and delegation mechanism for sensor updates
5:b9f2f62a8f90 2015-02-12 pvaibhav Gyro data can now be read fine. 100 Hz.
4:e759b8c756da 2015-01-23 pvaibhav Added stub drivers for magneto and gyro
3:ee90a9ada112 2015-01-21 pvaibhav Motor driver now "stops" the output if voltage is set below 0.48V
2:3898208e02da 2015-01-14 pvaibhav Barometer improvements
1:c279bc3af90c 2015-01-14 pvaibhav Barometer and accelerometer are alive
0:943820483318 2015-01-13 pvaibhav Initial commit with working LED and motor drivers.