3689 Commits

Author SHA1 Message Date
Lorenz Meier
28fa96e2db Made sure airspeed tests reset the sensors to default state 2013-08-06 09:53:52 +02:00
Lorenz Meier
ab90030a0b Merge branch 'mpu6k_queue' of github.com:PX4/Firmware 2013-08-06 09:25:05 +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
px4dev
9ca5cf3108 Fix CAN2 pinout selection thanks to heads-up from Joe van Niekerk 2013-08-05 21:05:53 -07:00
Lorenz Meier
cfd737aa73 Made sensors startup routine more flexible 2013-08-05 21:08:19 +02:00
Lorenz Meier
a2f923b9a3 Increased MPU6K poll and sampling rate to 1 KHz 2013-08-05 21:05:34 +02:00
Lorenz Meier
b5d19d08ea Equipped MPU6k driver with Butterworth for accel and gyro 2013-08-05 21:05:08 +02:00
Lorenz Meier
86e5d39b89 Merge branch 'master' of github.com:PX4/Firmware into mpu6k_queue 2013-08-05 20:11:44 +02:00
Lorenz Meier
901a9c3e35 Hotfix: MEAS Airspeed sensor fixes from Sarthak Kaingade 2013-08-05 12:44:38 +02:00
Lorenz Meier
5ddbe24d8e Fixed code style for meas_airspeed.cpp 2013-08-05 12:26:31 +02:00
px4dev
f8951759f8 Add a top-level Makefile rule for building "everything" as a test. 2013-08-04 19:50:23 -07:00
px4dev
1acbbe46d1 Make it possible to create a cdev without automatically creating a device node. 2013-08-04 19:49:19 -07:00
px4dev
1fb4705ab7 Add size and flush methods to the ringbuffer class. 2013-08-04 19:48:46 -07:00
px4dev
4b4f33e6a4 Add direct-access methods to the base Device class, so that there's a common way of talking to drivers regardless of which of the specialised classes they derive from.
Make the Device destructor public and virtual, so that arbitrary devices can be deleted. Likewise for classes that derive from it.

Make Device::init public so that arbitrary devices can be initialised after being returned by factories.
2013-08-04 19:48:20 -07:00
px4dev
567f621754 Fix an issue with the pwm_servo driver when using one of the STM32 advanced timers. 2013-08-04 19:43:05 -07:00
px4dev
c33048b521 Add the ability to cancel a begin/end perf counter if the begin turns out to have been in error. 2013-08-04 19:42:16 -07:00
px4dev
97e4909d9e Improvements to the HX stream protocol implementation. 2013-08-04 19:40:57 -07:00
Lorenz Meier
cac4a6f578 Merge branch 'master' into mpu6k_queue 2013-08-04 19:21:45 +02:00
Lorenz Meier
7c3ee6714c Enabled mathlib 2013-08-04 19:14:25 +02:00
Andrew Tridgell
ac89322d74 mathlib: added LowPassFilter2p object
used in gyro and accel drivers for better filtering
2013-08-04 19:12:41 +02:00
Lorenz Meier
36cca7a31b Added rate limit in sensors app. Just pending accel filters now 2013-08-04 19:10:56 +02:00
Lorenz Meier
9bcabc5ba9 Hotfix for attitude estimator EKF init 2013-08-04 19:09:10 +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
px4dev
a3ab88872c Add some more useful methods to the ringbuffer class. 2013-08-03 19:02:54 -07:00
px4dev
42f2794dee Merge branch 'master' into mpu6k_queue 2013-08-03 18:29:26 -07:00
px4dev
234ad24081 Simple ring-buffer template class, because re-implementing the wheel in every driver is silly. 2013-08-03 18:23:48 -07:00
Lorenz Meier
9a97001cc8 Added queue to mpu6k driver 2013-08-04 01:50:58 +02:00
px4dev
ce2fa29fe3 Add a missing module -> module makefile dependency 2013-08-03 10:06:34 -07:00
px4dev
c14a71c095 Move NuttX configurations out of the NuttX tree proper. This reduces the diffs we have to carry against the NuttX upstream repo to just our local patches to the NuttX code itself. 2013-08-03 10:06:10 -07:00
Lorenz Meier
24c43ad62d Hotfix: ROMFS autostart includes now IO upgrade 2013-08-02 15:47:04 +02:00
Lorenz Meier
241244ab96 Hotfix: Added missing drivers to USB startup 2013-08-02 15:38:17 +02:00
Lorenz Meier
9220f33ce0 More USB startup fixing 2013-08-02 15:37:11 +02:00
Lorenz Meier
5d356ec3d8 Fixed USB startup 2013-08-02 13:51:46 +02:00
Lorenz Meier
d14891554e Merge branch 'config' of github.com:PX4/Firmware 2013-07-30 11:03:45 +02:00
Andrew Tridgell
dad76c56c6 ets_airspeed: cope with zero value from ETS airspeed sensor 2013-07-30 10:58:47 +02:00
Lorenz Meier
db527ee881 Removed unused code 2013-07-29 11:00:36 +02:00
Lorenz Meier
043dc4e225 Merge branch 'master' of github.com:PX4/Firmware 2013-07-29 00:30:50 +02:00
Lorenz Meier
339c2599a4 Hotfix: Fixed sdlog2 MATLAB export 2013-07-29 00:30:37 +02:00
Lorenz Meier
f4e1151607 Hotfix: Cleaned up outdated docs 2013-07-28 15:43:31 +02:00
Lorenz Meier
57db5d912b Merge pull request #343 from PX4/meas_split
ETS airspeed and MEAS airspeed combined driver
2013-07-28 06:41:42 -07:00
Lorenz Meier
382c637fab Fixed stack sizes for airspeed drivers 2013-07-28 15:41:10 +02:00
Lorenz Meier
30405331bd Merge branch 'master' of github.com:PX4/Firmware 2013-07-28 14:10:53 +02:00
Lorenz Meier
f4fc3bbd57 Added RAMTRON device, updated diagrams 2013-07-28 14:10:37 +02: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
830dff9b6a First operational test version, provides correct readings (as far as tests were possible) 2013-07-25 11:16:25 +02:00
Lorenz Meier
edcd25b5ed Airspeed sensor driver operational, needs cleanup / testing 2013-07-22 10:24:35 +02:00
Lorenz Meier
97f732ccf1 Fixed up ets driver (not tested, WIP on meas driver) 2013-07-22 09:19:59 +02:00
Lorenz Meier
dc5bcdda76 Hotfix: Made accel calibration a bit more forgiving about motion threshold 2013-07-21 11:29:10 +02:00
Lorenz Meier
0f19de5311 Ensured correct pointer init 2013-07-21 11:27:52 +02:00