aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/mpu6000
Commit message (Collapse)AuthorAgeFilesLines
* MPU6K: Temp supportLorenz Meier2015-03-251-1/+1
|
* mpu6000: add set_accel_rangeJonathan Challinger2015-03-251-71/+40
|
* mpu6000: show temperature in "mpu6000 info"Andrew Tridgell2015-03-171-3/+10
|
* MPU6000 driver: Rotate before applying offsets.Lorenz Meier2015-03-151-12/+20
|
* MPU6K: Allow stopLorenz Meier2015-02-281-9/+36
|
* MPU6K: Move to 0 based indicesLorenz Meier2015-02-091-4/+4
|
* mpu6000: fix if styleThomas Gubler2015-02-031-2/+1
|
* mpu6000: check for default sample rateThomas Gubler2015-02-031-7/+14
| | | | Also check if input variable is 0 and fix indentation
* Save and check device id for acc and gyro calibration parameters.config_all_deviceshauptmech2015-01-311-21/+35
| | | | | | | | Fix config utility to work with all devices of each type. Accel, gyro and mag devices correctly set their device_id devtype. Combo devices (mpu6000 lsm303d) now correctly return their devtype. config util shows device id for all sensor types. Add, save during calibration and check during preflight ID parameters for accelerometer and gyro
* Move all drivers to multi pub/sub APILorenz Meier2015-01-291-39/+24
|
* Added more docs to offset as suggested by @velocoderaptor, thanks!Lorenz Meier2015-01-261-0/+10
|
* MPU6K: Improve gyro self test to allow more realistic deviations from ↵Lorenz Meier2015-01-261-7/+20
| | | | nominal state
* MPU6000: Increase gyro offset tolerance to 7 dpsJohan Jansen2015-01-261-4/+5
|
* MPU6K driver: Start performance counters for system latency, as its commonly ↵Lorenz Meier2015-01-111-0/+7
| | | | the main sensor
* mpu6000: removed unsafe printf in interrupt contextAndrew Tridgell2015-01-011-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
* mpu6000: make register fixup much closer to a reset()Andrew Tridgell2014-12-301-5/+37
| | | | this may help automatic reset on the faulty boards
* mpu6000: wait for 10ms after a full resetAndrew Tridgell2014-12-301-7/+24
| | | | this prevents the mpu6000 getting in a really weird state!
* mpu6000: added "mpu6000 testerror" commandAndrew Tridgell2014-12-301-2/+45
| | | | used to generate a error case for reset testing
* mpu6000: monitor some more registersAndrew Tridgell2014-12-301-2/+6
|
* mpu6000: added factory self-test functionAndrew Tridgell2014-12-301-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
* mpu6000: try resetting the mpu6000 up to 5 timesAndrew Tridgell2014-12-301-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
* mpu6000: monitor some key registers for correct valuesAndrew Tridgell2014-12-301-10/+132
| | | | | this will catch both bad SPI bus comms and a sensor that has been reset causing incorrect configuration.
* MPU6000: Add regdump commandGrant Morphett2014-12-211-2/+42
| | | | Add mpu6000 regdump command for debugging mpu6000.
* Sensor drivers: Optimize for sizeLorenz Meier2014-11-151-0/+2
|
* mpu6000: added logging of good transfersAndrew Tridgell2014-10-301-0/+11
| | | | this helps tracking down a startup issue
* Set filter frequency for hardware and software in parallel, always do so in ↵Lorenz Meier2014-09-301-2/+4
| | | | the same order
* mpu6k: set hardware filter during ACCELIOCLOWPASSRandy Mackay2014-09-301-10/+5
| | | | | | | also set from GYROIOCLOWPASS Conflicts: mavlink/include/mavlink/v1.0
* Merge sensor_startup_cleanupLorenz Meier2014-07-162-4/+17
|\
| * MPU6K: Cleaner initLorenz Meier2014-07-162-0/+11
| |
| * MPU6K: Start handler startup and stack review and adjustmentsLorenz Meier2014-07-162-4/+6
| |
* | mpu6000: Support for up to three accels / gyrosLorenz Meier2014-07-151-24/+24
| |
* | Merged masterLorenz Meier2014-07-151-50/+115
|\|
| * mpu6000: fixed internal/external mixup in pointersAndrew Tridgell2014-07-121-2/+2
| | | | | | | | | | | | | | Thanks to Emile for spotting this! Conflicts: mavlink/include/mavlink/v1.0
| * MPU6000: Fix usage function call to fit existing structure.Lorenz Meier2014-07-081-5/+6
| |
| * mpu6000: added -R rotation optionAndrew Tridgell2014-07-081-9/+23
| |
| * mpu6000: allow for two mpu6000 instances, one internal, one externalAndrew Tridgell2014-07-081-36/+46
| | | | | | | | split g_dev into g_dev_int and g_dev_ext
| * mpu6000: added -X option for external busAndrew Tridgell2014-07-081-7/+41
| |
| * mpu6000: allow disabling of on-sensor low pass filterAndrew Tridgell2014-07-081-7/+13
| | | | | | | | used for vibration testing
| * MPU6K: Use usleep where usleep should be used instead of up_udelay()Lorenz Meier2014-06-221-1/+1
| |
* | Introduce MPU6K multi-device uORB supportLorenz Meier2014-06-101-21/+50
|/
* drivers: Fix compile warnings and non-standard performance counter namesLorenz Meier2014-05-211-1/+0
|
* MPU6000: gyro topic was not initializedJulian Oes2014-02-161-0/+1
|
* Fixed up init sequence of all sensors - we can publish in interrupt context, ↵Lorenz Meier2014-01-141-24/+35
| | | | but not advertise! All advertisements now contain valid data
* Support for publication blocking: MPU6000, cleaned up device startLorenz Meier2014-01-121-20/+26
|
* mpu6000: disable interrupts during initial resetAndrew Tridgell2013-12-161-2/+11
| | | | | this seems to avoid a problem where the mpu6000 doesn't startup correctly if other devices are transferring at the same time.
* Cranking up bus speeds for all sensors to achievable 10.4 MHz, will cut the ↵Lorenz Meier2013-12-151-1/+1
| | | | bus lock time to half
* mpu6000: treat all zero data from mpu6k as badAndrew Tridgell2013-12-101-6/+19
|
* mpu6000: close fds before exitAndrew Tridgell2013-12-101-0/+4
|
* mpu6000: use register_class_devname()Andrew Tridgell2013-12-101-43/+71
|
* Made all usual suspects default to their custom names and only register the ↵Lorenz Meier2013-12-071-8/+25
| | | | default name if its not already taken by someone else