aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/mpu6000
Commit message (Collapse)AuthorAgeFilesLines
* 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
* mpu6000: change bus speed based on registers being accessedAndrew Tridgell2013-11-301-1/+22
| | | | | this ensures we follow the datasheet requirement of 1MHz for general registers and up to 20MHz for sensor and int status registers
* drivers: report error_count in drivers where possibleAndrew Tridgell2013-09-121-1/+1
|
* Rework the ringbuffer class so that it's not templated, and refactor its ↵px4dev2013-09-121-53/+41
| | | | clients so they aren't dancing around the linker anymore.
* mpu6000: fixed race condition in buffer incrementAndrew Tridgell2013-09-121-3/+5
|
* mpu6000: use a wrapper struct to avoid a linker errorAndrew Tridgell2013-09-121-69/+64
| | | | | | | | the linker doesn't cope with us having multiple modules implementing RingBuffer<gyro_report> this also switches to use force() instead of put(), so we discard old entries when the buffer overflows
* Moved math library to library dir, improved sensor-level HIL, cleaned up geo ↵Lorenz Meier2013-08-211-4/+6
| | | | / conversion libs
* Adapted the MPU6000 to have the same get range ioctls and defines for defaultsJulian Oes2013-08-211-39/+48
|
* Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringupLorenz Meier2013-08-201-3/+68
|\
| * Fixed accel self testJulian Oes2013-08-201-0/+2
| |
| * Made accel / gyro self tests aware of offsets and scales, added support to ↵Lorenz Meier2013-08-091-3/+66
| | | | | | | | config command to call these
* | Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringupLorenz Meier2013-08-061-13/+63
|\|
| * mpu6000: set the default DLFP filter to 42HzAndrew Tridgell2013-08-061-1/+1
| | | | | | | | | | this allows for apps to ask for slightly higher filters with the software filter and not have it completely ruined by the on-chip DLPF
| * Equipped MPU6k driver with Butterworth for accel and gyroLorenz Meier2013-08-051-12/+62
| |
* | Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringupLorenz Meier2013-08-041-93/+223
|\|
| * Fixed driver test / direct read, looks goodLorenz Meier2013-08-041-41/+70
| |