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 | ||||
* | 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 | ||||
* | 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 | ||||
* | 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. | ||||
* | MPU6000: Add regdump command | Grant Morphett | 2014-12-21 | 1 | -2/+42 |
| | | | | Add mpu6000 regdump command for debugging mpu6000. | ||||
* | Sensor drivers: Optimize for size | Lorenz Meier | 2014-11-15 | 1 | -0/+2 |
| | |||||
* | mpu6000: added logging of good transfers | Andrew Tridgell | 2014-10-30 | 1 | -0/+11 |
| | | | | this helps tracking down a startup issue | ||||
* | Set filter frequency for hardware and software in parallel, always do so in ↵ | Lorenz Meier | 2014-09-30 | 1 | -2/+4 |
| | | | | the same order | ||||
* | mpu6k: set hardware filter during ACCELIOCLOWPASS | Randy Mackay | 2014-09-30 | 1 | -10/+5 |
| | | | | | | | also set from GYROIOCLOWPASS Conflicts: mavlink/include/mavlink/v1.0 | ||||
* | Merge sensor_startup_cleanup | Lorenz Meier | 2014-07-16 | 2 | -4/+17 |
|\ | |||||
| * | MPU6K: Cleaner init | Lorenz Meier | 2014-07-16 | 2 | -0/+11 |
| | | |||||
| * | MPU6K: Start handler startup and stack review and adjustments | Lorenz Meier | 2014-07-16 | 2 | -4/+6 |
| | | |||||
* | | mpu6000: Support for up to three accels / gyros | Lorenz Meier | 2014-07-15 | 1 | -24/+24 |
| | | |||||
* | | Merged master | Lorenz Meier | 2014-07-15 | 1 | -50/+115 |
|\| | |||||
| * | mpu6000: fixed internal/external mixup in pointers | Andrew Tridgell | 2014-07-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Thanks to Emile for spotting this! Conflicts: mavlink/include/mavlink/v1.0 | ||||
| * | MPU6000: Fix usage function call to fit existing structure. | Lorenz Meier | 2014-07-08 | 1 | -5/+6 |
| | | |||||
| * | mpu6000: added -R rotation option | Andrew Tridgell | 2014-07-08 | 1 | -9/+23 |
| | | |||||
| * | mpu6000: allow for two mpu6000 instances, one internal, one external | Andrew Tridgell | 2014-07-08 | 1 | -36/+46 |
| | | | | | | | | split g_dev into g_dev_int and g_dev_ext | ||||
| * | mpu6000: added -X option for external bus | Andrew Tridgell | 2014-07-08 | 1 | -7/+41 |
| | | |||||
| * | mpu6000: allow disabling of on-sensor low pass filter | Andrew Tridgell | 2014-07-08 | 1 | -7/+13 |
| | | | | | | | | used for vibration testing | ||||
| * | MPU6K: Use usleep where usleep should be used instead of up_udelay() | Lorenz Meier | 2014-06-22 | 1 | -1/+1 |
| | | |||||
* | | Introduce MPU6K multi-device uORB support | Lorenz Meier | 2014-06-10 | 1 | -21/+50 |
|/ | |||||
* | drivers: Fix compile warnings and non-standard performance counter names | Lorenz Meier | 2014-05-21 | 1 | -1/+0 |
| | |||||
* | MPU6000: gyro topic was not initialized | Julian Oes | 2014-02-16 | 1 | -0/+1 |
| | |||||
* | Fixed up init sequence of all sensors - we can publish in interrupt context, ↵ | Lorenz Meier | 2014-01-14 | 1 | -24/+35 |
| | | | | but not advertise! All advertisements now contain valid data | ||||
* | Support for publication blocking: MPU6000, cleaned up device start | Lorenz Meier | 2014-01-12 | 1 | -20/+26 |
| | |||||
* | mpu6000: disable interrupts during initial reset | Andrew Tridgell | 2013-12-16 | 1 | -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 Meier | 2013-12-15 | 1 | -1/+1 |
| | | | | bus lock time to half | ||||
* | mpu6000: treat all zero data from mpu6k as bad | Andrew Tridgell | 2013-12-10 | 1 | -6/+19 |
| | |||||
* | mpu6000: close fds before exit | Andrew Tridgell | 2013-12-10 | 1 | -0/+4 |
| | |||||
* | mpu6000: use register_class_devname() | Andrew Tridgell | 2013-12-10 | 1 | -43/+71 |
| | |||||
* | Made all usual suspects default to their custom names and only register the ↵ | Lorenz Meier | 2013-12-07 | 1 | -8/+25 |
| | | | | default name if its not already taken by someone else | ||||
* | mpu6000: change bus speed based on registers being accessed | Andrew Tridgell | 2013-11-30 | 1 | -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 possible | Andrew Tridgell | 2013-09-12 | 1 | -1/+1 |
| | |||||
* | Rework the ringbuffer class so that it's not templated, and refactor its ↵ | px4dev | 2013-09-12 | 1 | -53/+41 |
| | | | | clients so they aren't dancing around the linker anymore. | ||||
* | mpu6000: fixed race condition in buffer increment | Andrew Tridgell | 2013-09-12 | 1 | -3/+5 |
| | |||||
* | mpu6000: use a wrapper struct to avoid a linker error | Andrew Tridgell | 2013-09-12 | 1 | -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 Meier | 2013-08-21 | 1 | -4/+6 |
| | | | | / conversion libs | ||||
* | Adapted the MPU6000 to have the same get range ioctls and defines for defaults | Julian Oes | 2013-08-21 | 1 | -39/+48 |
| | |||||
* | Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup | Lorenz Meier | 2013-08-20 | 1 | -3/+68 |
|\ | |||||
| * | Fixed accel self test | Julian Oes | 2013-08-20 | 1 | -0/+2 |
| | | |||||
| * | Made accel / gyro self tests aware of offsets and scales, added support to ↵ | Lorenz Meier | 2013-08-09 | 1 | -3/+66 |
| | | | | | | | | config command to call these | ||||
* | | Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup | Lorenz Meier | 2013-08-06 | 1 | -13/+63 |
|\| | |||||
| * | mpu6000: set the default DLFP filter to 42Hz | Andrew Tridgell | 2013-08-06 | 1 | -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 gyro | Lorenz Meier | 2013-08-05 | 1 | -12/+62 |
| | | |||||
* | | Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup | Lorenz Meier | 2013-08-04 | 1 | -93/+223 |
|\| |