Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mpu6000: removed unsafe printf in interrupt context | Andrew Tridgell | 2015-01-01 | 1 | -38/+4 |
| | | | | | | | instead delay 3ms between register writes. This seems to give a quite high probability of correctly resetting the sensor, and does still reliably detect the sensor going bad, which is the most important thing in this code | ||||
* | lsm303d: show all perf counters in "info" | Andrew Tridgell | 2015-01-01 | 1 | -0/+2 |
| | |||||
* | lsm303d: check DRDY after check_registers() | Andrew Tridgell | 2015-01-01 | 1 | -13/+14 |
| | | | | this allows recovery from a state where DRDY is not set | ||||
* | lsm303d: removed unsafe printf in interrupt context | Andrew Tridgell | 2015-01-01 | 1 | -8/+0 |
| | |||||
* | lsm303d: added two more checked registers | Andrew Tridgell | 2015-01-01 | 1 | -3/+5 |
| | | | | these are key for DRDY behaviour | ||||
* | l3m303d: added testerror command | Andrew Tridgell | 2015-01-01 | 1 | -2/+34 |
| | | | | useful for testing error handling | ||||
* | l3gd20: fixed reporting of error count | Andrew Tridgell | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | l3gd20: check DRDY after check_registers() is called | Andrew Tridgell | 2015-01-01 | 1 | -11/+12 |
| | | | | this allows us to recover from an error that disables data ready | ||||
* | l3gd20: removed printf in interrupt context | Andrew Tridgell | 2015-01-01 | 1 | -8/+0 |
| | | | | this is not safe | ||||
* | l3gd20: added testerror command | Andrew Tridgell | 2015-01-01 | 1 | -2/+33 |
| | | | | useful for testing error handling | ||||
* | l3gd20: use the I2C disable bit on l3gd20H | Andrew Tridgell | 2014-12-30 | 1 | -2/+9 |
| | | | | | this seems to prevent a mpu6000 reset from causing an issue on the l3gd20H | ||||
* | l3gd20: added "l3gd20 regdump" command | Andrew Tridgell | 2014-12-30 | 1 | -2/+41 |
| | |||||
* | mpu6000: make register fixup much closer to a reset() | Andrew Tridgell | 2014-12-30 | 1 | -5/+37 |
| | | | | this may help automatic reset on the faulty boards | ||||
* | mpu6000: wait for 10ms after a full reset | Andrew Tridgell | 2014-12-30 | 1 | -7/+24 |
| | | | | this prevents the mpu6000 getting in a really weird state! | ||||
* | mpu6000: added "mpu6000 testerror" command | Andrew Tridgell | 2014-12-30 | 1 | -2/+45 |
| | | | | used to generate a error case for reset testing | ||||
* | mpu6000: monitor some more registers | Andrew Tridgell | 2014-12-30 | 1 | -2/+6 |
| | |||||
* | mpu6000: added factory self-test function | Andrew Tridgell | 2014-12-30 | 1 | -18/+208 |
| | | | | | this follows the factory calibration self-test method in the datasheet to see if the sensor still has the same calibration it had in the factory | ||||
* | l3gd20: added register checking | Andrew Tridgell | 2014-12-30 | 1 | -24/+122 |
| | | | | this checks at runtime that key registers have correct values | ||||
* | mpu6000: try resetting the mpu6000 up to 5 times | Andrew Tridgell | 2014-12-30 | 1 | -23/+39 |
| | | | | | this mirrors the ardupilot driver. We have seen situations where the mpu6000 on the Pixhawk comes up in SLEEP mode, despite a reset | ||||
* | lsm303d: replace old register checking with new check_registers() method | Andrew Tridgell | 2014-12-30 | 1 | -222/+125 |
| | | | | | | | | this uses the same method as is now used in the MPU6000 to check that the sensor retains its correct values Conflicts: src/drivers/lsm303d/lsm303d.cpp | ||||
* | mpu6000: monitor some key registers for correct values | Andrew Tridgell | 2014-12-30 | 1 | -10/+132 |
| | | | | | this will catch both bad SPI bus comms and a sensor that has been reset causing incorrect configuration. | ||||
* | Minor re-addition | M.H.Kabir | 2014-12-30 | 1 | -0/+3 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into flow_orient | M.H.Kabir | 2014-12-30 | 5 | -6/+602 |
|\ | | | | | | | | | Conflicts: src/drivers/px4flow/px4flow.cpp | ||||
| * | Clean up docs in PX4FLOW driver | Lorenz Meier | 2014-12-30 | 1 | -5/+6 |
| | | |||||
| * | batt_smbus: add search | Randy Mackay | 2014-12-30 | 1 | -3/+38 |
| | | |||||
| * | batt_smbus: add get_PEC | Randy Mackay | 2014-12-30 | 1 | -7/+77 |
| | | |||||
| * | batt_smbus: minor format fix | Randy Mackay | 2014-12-30 | 1 | -1/+1 |
| | | |||||
| * | batt_smbus: remove redundant ORB_DECLARE | Randy Mackay | 2014-12-30 | 1 | -3/+0 |
| | | |||||
| * | batt_smbus: remove sleep before I2C transfer | Randy Mackay | 2014-12-30 | 1 | -3/+0 |
| | | |||||
| * | batt_smbus: driver for smart battery | Randy Mackay | 2014-12-30 | 3 | -0/+496 |
| | | |||||
| * | i2c: const get_address | Randy Mackay | 2014-12-30 | 1 | -1/+1 |
| | | |||||
* | | fix Z rotation | M.H.Kabir | 2014-12-27 | 1 | -2/+3 |
| | | |||||
* | | Add rotation switching to flow from mavlink | M.H.Kabir | 2014-12-27 | 1 | -1/+1 |
| | | |||||
* | | Add support for rotations of PX4flow | M.H.Kabir | 2014-12-27 | 3 | -8/+31 |
|/ | |||||
* | Rework HoTT into a proper library, which fixes parallel build breakage | Lorenz Meier | 2014-12-26 | 5 | -16/+53 |
| | |||||
* | Added HMC chip select support | Lorenz Meier | 2014-12-26 | 2 | -0/+17 |
| | |||||
* | Merged master into indoor branch | Lorenz Meier | 2014-12-26 | 20 | -230/+1324 |
|\ | |||||
| * | Merge pull request #1527 from dagar/Werror | Lorenz Meier | 2014-12-25 | 9 | -8/+11 |
| |\ | | | | | | | turn on -Werror and fix resulting errors | ||||
| | * | turn on -Werror and fix resulting errors | Daniel Agar | 2014-12-22 | 9 | -8/+11 |
| | | | |||||
| * | | add interrupt latency printout command and mean/variance to interval ↵ | Mark Whitehorn | 2014-12-24 | 1 | -3/+5 |
| |/ | | | | | | | performance counter | ||||
| * | MPU6000: Add regdump command | Grant Morphett | 2014-12-21 | 1 | -2/+42 |
| | | | | | | | | Add mpu6000 regdump command for debugging mpu6000. | ||||
| * | Merge pull request #1497 from PX4/ll40lsdefaultmax | Lorenz Meier | 2014-12-14 | 1 | -1/+1 |
| |\ | | | | | | | ll40ls: max distance according to datasheet | ||||
| | * | ll40ls: max distance according to datasheet | Thomas Gubler | 2014-12-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Datasheet: http://pulsedlight3d.com/pl3d/wp-content/uploads/2014/11/LIDAR-Lite.pdf | ||||
| | * | ll40ls: fix whitespace | Thomas Gubler | 2014-12-13 | 1 | -9/+9 |
| | | | |||||
| * | | ll40ls: write min and max to report | Thomas Gubler | 2014-12-14 | 1 | -0/+2 |
| | | | |||||
| * | | ll40ls: fix whitespace | Thomas Gubler | 2014-12-14 | 1 | -9/+9 |
| | | | |||||
| * | | trone: write min and max to report | Thomas Gubler | 2014-12-14 | 1 | -0/+2 |
| | | | |||||
| * | | trone: fix whitespace | Thomas Gubler | 2014-12-14 | 1 | -4/+4 |
| | | | |||||
| * | | sf0x: write min and max to report | Thomas Gubler | 2014-12-14 | 1 | -0/+2 |
| | | | |||||
| * | | sf0x: fix whitespace | Thomas Gubler | 2014-12-14 | 1 | -1/+1 |
| | | |