px4dev
19fdaf2009
Use the generic device::SPI locking strategy.
2013-09-12 23:56:53 -07: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
63fb702d7f
l3gd20: convert to using RingBuffer class
2013-09-12 00:52:31 +02:00
Lorenz Meier
3a326cb467
Guard probe / reset against other SPI drivers
2013-09-11 22:16:29 +02:00
Andrew Tridgell
fdbc09e2a5
avoid counters going above limit in INCREMENT()
...
when using INCREMENT() the counter would temporarily read equal to
limit, which could cause an issue if the task is preempted.
(this macro should be in a common header, though which header?)
2013-08-28 11:16:30 +02:00
Julian Oes
1ede95d252
L3GD20 and LSM303D reset and range config working properly now
2013-08-21 14:21:54 +02:00
Lorenz Meier
2a58929ffd
Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup
2013-08-20 16:26:15 +02:00
Lorenz Meier
05e4c086ce
Added orientation support and detection to the L3GD20/H driver to support the different variants in use
2013-08-16 16:24:44 +02:00
Lorenz Meier
cbb5ce8f59
Fixed startup behavior for PX4 autostart
2013-08-11 16:54:00 +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
Andrew Tridgell
547a747752
Merged commit disabling FIFO in L3GD20
2013-08-07 15:40:43 +02:00
Lorenz Meier
ca9a11a586
Indendation fixes
2013-08-05 23:09:02 +02:00
Andrew Tridgell
83189a85da
l3gd20: disable the FIFO
...
the FIFO was not gaining us anything, and was adding latency. If we
use the FIFO we'd need to do multiple SPI transfers to ensure it is
drained
2013-08-04 16:13:48 +02:00
Andrew Tridgell
a87690d0e2
Added L3GD20 lowpass
2013-08-04 15:46:41 +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
Andrew Tridgell
a9c1882ea0
l3gd20: fixed bit definitions for filter rates
...
and allow requests for the rates in table 21 of the l3gd20H datasheet
2013-08-02 16:35:54 +02:00
Julian Oes
7e9a18da79
Changed gyro scaling according to datasheet
2013-07-30 18:20:31 +02:00
Lorenz Meier
c8aca814ca
Improved comments
2013-07-16 12:46:23 +02:00
Lorenz Meier
6902177b99
Default to 2000 dps for L3GD20
2013-07-16 12:45:43 +02:00
Sam Kelly
53f29a25b6
Added l3gd20h detection
2013-06-13 12:51:50 -07:00
Lorenz Meier
e6ed8268ee
Moved position_estimator_mc, px4io driver and sdlog app to new style build
2013-04-27 12:59:47 +02:00
px4dev
01e427b17c
Merge working changes into export-build branch.
2013-04-26 16:14:32 -07:00