Lorenz Meier
cbb5ce8f59
Fixed startup behavior for PX4 autostart
2013-08-11 16:54:00 +02:00
Lorenz Meier
0012b39b37
Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup
2013-08-06 09:54:14 +02:00
Lorenz Meier
28fa96e2db
Made sure airspeed tests reset the sensors to default state
2013-08-06 09:53:52 +02:00
Andrew Tridgell
46fd904b5a
px4io: include board_config.h
...
without this we don't get the I2C interface built for PX4IO
2013-08-06 09:21:59 +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
ca9a11a586
Indendation fixes
2013-08-05 23:09:02 +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
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
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
Lorenz Meier
17da1e3f36
Fixed MS5611 startup on V1 boards
2013-08-04 19:19:48 +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
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
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
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
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
Andrew Tridgell
bee8e27f04
adc: allow "adc test" to read 10 values
2013-08-02 12:45:50 +02:00
Andrew Tridgell
c7d8535151
px4io: don't try the px4io serial interface on FMUv1
...
this caused px4io start to fail on FMUv1
2013-08-02 12:45:41 +02:00
Andrew Tridgell
f3764d0b5a
px4fmu: expanded "fmu test"
...
this now does testing in a similar manner as "px4io test", except that
it tests both ioctl and write based setting of servos
2013-08-02 12:44:47 +02:00
px4dev
feee1ccc65
Remove some timer reload events; these seem to break PWM output on IO.
2013-07-30 22:47:17 -07:00
Julian Oes
7e9a18da79
Changed gyro scaling according to datasheet
2013-07-30 18:20:31 +02:00
Lorenz Meier
1543c99003
Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup
2013-07-30 11:28:30 +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
px4dev
57cbf724f1
Fix the clock enable register for FMUv2 PWM outputs 1-4.
...
Teach the stm32 pwm driver about the MOE bit on advanced timers.
2013-07-29 23:13:46 -07:00
Lorenz Meier
1410625dea
Enabled additional drivers on v2, kill misplaced code in mkblctrl
2013-07-28 16:12:40 +02:00
Lorenz Meier
453687a006
Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup
2013-07-28 15:42:47 +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
4e5eb9740b
Fixed led and reboot linker challenges in C++ environments
2013-07-28 14:50:27 +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
18635c5f5f
Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup
2013-07-26 15:16:58 +02:00
Lorenz Meier
dd3033fa6f
Symbol cleanup for servo vs. battery voltage
2013-07-26 15:16:48 +02:00
Lorenz Meier
ffd14e1396
Updated F330 script, enabled amber led
2013-07-25 12:44:47 +02:00