21 Commits

Author SHA1 Message Date
Andrew Tridgell
4893509344 drivers: report error_count in drivers where possible 2013-09-12 09:26:49 +02:00
px4dev
cefc7ac00e Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore. 2013-09-12 00:53:08 +02:00
Andrew Tridgell
815ccee0e7 mpu6000: fixed race condition in buffer increment 2013-09-12 00:52:13 +02:00
Andrew Tridgell
37d09f0944 mpu6000: use a wrapper struct to avoid a linker error
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
2013-09-12 00:51:54 +02:00
Lorenz Meier
fab110d21f Moved math library to library dir, improved sensor-level HIL, cleaned up geo / conversion libs 2013-08-21 18:13:01 +02:00
Julian Oes
4f51f333a9 Adapted the MPU6000 to have the same get range ioctls and defines for defaults 2013-08-21 14:52:20 +02:00
Lorenz Meier
2a58929ffd Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-20 16:26:15 +02:00
Julian Oes
ae3a549d57 Fixed accel self test 2013-08-20 10:39:11 +02:00
Lorenz Meier
dccdc977d5 Made accel / gyro self tests aware of offsets and scales, added support to config command to call these 2013-08-09 17:56:32 +02:00
Lorenz Meier
461b2eb366 Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-06 09:15:24 +02:00
Andrew Tridgell
338e506a28 mpu6000: set the default DLFP filter to 42Hz
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
2013-08-06 09:07:12 +02:00
Lorenz Meier
b5d19d08ea Equipped MPU6k driver with Butterworth for accel and gyro 2013-08-05 21:05:08 +02:00
Lorenz Meier
e95861e9df Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-04 23:50:41 +02:00
Lorenz Meier
f45e74265e Fixed driver test / direct read, looks good 2013-08-04 15:15:41 +02:00
px4dev
02f5b79948 Try to save our sanity a bit and use the generic ringbuffer class rather than re-implementing the wheel. 2013-08-03 19:03:24 -07:00
Lorenz Meier
9a97001cc8 Added queue to mpu6k driver 2013-08-04 01:50:58 +02:00
px4dev
9d6ec6b365 Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Lorenz Meier
95dde5f1be Implemented config command, fixed a number range set / get issues for some sensor drivers, fixed gyro calibration 2013-07-26 18:24:37 +02:00
Lorenz Meier
8d1abf4aa4 Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC 2013-07-18 13:16:34 +02:00
sergeil
496127ca45 mpu6000 driver support for setting rate 2013-05-31 11:44:20 +02:00
Lorenz Meier
5974c37abb Moved the bulk of sensor drivers to the new world 2013-04-27 14:06:23 +02:00