Commit Graph

4351 Commits

Author SHA1 Message Date
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
px4dev ec2e02d50e Fix CAN2 pinout selection thanks to heads-up from Joe van Niekerk 2013-08-05 21:09:18 -07:00
px4dev 657a6dad2c Merge branch 'fmuv2_bringup' of https://github.com/cvg/Firmware_Private into fmuv2_bringup 2013-08-05 21:08:27 -07: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 eb40b65b00 Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup_mpu 2013-08-05 23:09:44 +02:00
Lorenz Meier ca9a11a586 Indendation fixes 2013-08-05 23:09:02 +02: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
Julian Oes 58a4c5d544 Added missing include for MS5611 2013-08-05 16:32:59 +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
px4dev b911d37975 Merge a path definition from the mainline. 2013-08-04 19:37:08 -07:00
px4dev 64e856276e Merge branch 'fmuv2_bringup' of https://github.com/cvg/Firmware_Private into fmuv2_bringup 2013-08-04 15:01:11 -07: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 b6ceba4c0a Merged master 2013-08-04 23:50:23 +02:00
px4dev 1cc6235e77 Merge branch 'master' into fmuv2_bringup 2013-08-04 10:45:07 -07:00
Lorenz Meier 8b4413f3b1 Hotfix for attitude estimator EKF init 2013-08-04 19:22:32 +02:00
Lorenz Meier cac4a6f578 Merge branch 'master' into mpu6k_queue 2013-08-04 19:21:45 +02:00
Lorenz Meier c2ee4437e0 Rate limit sensors, as the in-sensor lowpass allows us to operate at 200-250 Hz 2013-08-04 19:20:55 +02:00
Lorenz Meier 17da1e3f36 Fixed MS5611 startup on V1 boards 2013-08-04 19:19:48 +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
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
Lorenz Meier c84cdf2ff6 Enabled filter in makefile 2013-08-04 16:03:50 +02:00
Andrew Tridgell 26204496b6 Merged LSM303D lowpass 2013-08-04 15:49:34 +02:00
Andrew Tridgell 686edfefb8 Removed LSM303D filter 2013-08-04 15:47:35 +02:00
Andrew Tridgell a87690d0e2 Added L3GD20 lowpass 2013-08-04 15:46:41 +02:00
Andrew Tridgell 7ddd88623e mathlib: added LowPassFilter2p object
used in gyro and accel drivers for better filtering
2013-08-04 15:43:56 +02:00
Lorenz Meier f45e74265e Fixed driver test / direct read, looks good 2013-08-04 15:15:41 +02:00
px4dev e931d3b9cd Add an option to the systemreset() call and to the reboot command (-b) to reboot into the bootloader.
The system will remain in the bootloader until it's reset, or until an upload is completed.
2013-08-03 22:35:18 -07:00
px4dev fbd5aae8c6 Revert "Merged USB ID changes to match bootloader"
This reverts commit 8e599e4a3c.
2013-08-03 19:41:37 -07: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 9499e48a52 Fixed setting mag queue depth 2013-08-04 01:52:22 +02:00
Lorenz Meier 9a97001cc8 Added queue to mpu6k driver 2013-08-04 01:50:58 +02:00
Lorenz Meier 6cf24ac106 Increased comm buf size to better deal with higher-speed MAVLink transfers 2013-08-04 00:16:59 +02:00