314 Commits

Author SHA1 Message Date
Julian Oes
0c4e3dce0e Added LED_TOGGLE for normal LEDs 2013-08-15 17:34:49 +02:00
Julian Oes
56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +02:00
Lorenz Meier
0bbc4b7012 Build fixes 2013-08-15 08:42:08 +02:00
px4dev
50cf1c01b7 Compile fix. 2013-08-14 22:29:36 -07:00
px4dev
33863165b2 Merge commit 'de749a3602423f5ee6ca56f3cf2dfff04e31ec6d' (kconfig-cleanup) into fmuv2_bringup 2013-08-14 21:23:00 -07:00
Lorenz Meier
aebdd6e059 Merged master 2013-08-14 22:53:42 +02:00
Lorenz Meier
d2f19c7d84 Merge pull request #354 from jean-m-cyr/master
Support initiating DSM bind via QGroundControl
2013-08-14 12:43:59 -07:00
Andrew Tridgell
3b10f8431d rgbled: try expansion bus first, unless specific bus given
this will allow "rgbled start" to detect which bus the LED is on,
supporting boards with either external or internal LEDs
2013-08-14 15:02:35 +02:00
Andrew Tridgell
21a919d973 rgbled: added LED_MODE_RGB to allow for constant RGB values
this allows apps to fully control the 3 LED elements
2013-08-14 15:02:15 +02:00
Lorenz Meier
e14d034528 Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-14 14:58:02 +02:00
px4dev
de749a3602 Stop expecting CONFIG_HRT_anything since we aren't baking it into the NuttX config anymore. 2013-08-13 00:34:41 -07:00
Jean Cyr
0b93555043 Tell mavlink about bind results 2013-08-11 21:16:55 -04:00
Jean Cyr
35ec651cee Remove unused IOCTLs 2013-08-11 18:07:25 -04:00
Lorenz Meier
828626ee01 Merge pull request #347 from jgoppert/md25_dev
Segway Controller
2013-08-11 14:23:25 -07:00
Jean Cyr
1d408b80ad Support DSM bind via QGroundControl 2013-08-11 17:19:54 -04:00
Lorenz Meier
083cc60acb Increased logging to 200 Hz in F330 startup for v2, allowed to set up to 333 Hz update rate in IO driver for v2 link 2013-08-11 18:42:20 +02:00
Lorenz Meier
42b4961781 Reduced excessive IO stack size (had 4k, is using 0.7k, has now 2k) 2013-08-11 16:54:24 +02:00
Lorenz Meier
cbb5ce8f59 Fixed startup behavior for PX4 autostart 2013-08-11 16:54:00 +02:00
Jean Cyr
36679fbb39 Some DSM satellites are fussier about bind pulse timing
These values work better
2013-08-10 11:22:08 -04:00
Andrew Tridgell
547a747752 Merged commit disabling FIFO in L3GD20 2013-08-07 15:40:43 +02:00
Anton Babushkin
40c56ab61e Corrected bug in px4io driver that lead to hang of FMU-IO communication 2013-08-06 21:10:41 +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