Commit Graph

5311 Commits

Author SHA1 Message Date
Thomas Gubler
23d0c6f8dd temporary workaround to trigger failsafe with remote control 2013-12-14 11:03:02 +01:00
Thomas Gubler
367d5d0cf2 fix wrong usage of navigation state in flighttermination state machine 2013-12-14 11:02:16 +01:00
Thomas Gubler
c3cbaf5deb Merge remote-tracking branch 'upstream/master' into fw_autoland_att_tecs_navigator_termination_controlgroups
Conflicts:
	src/drivers/px4io/px4io.cpp
2013-12-13 21:07:27 +01:00
Thomas Gubler
54e739926d Merge branch 'control_groups' into fw_autoland_att_tecs_navigator_termination_controlgroups 2013-12-13 20:34:44 +01:00
Thomas Gubler
4ab7ac67a5 px4iofirmware: improve check for rc controlled channels in manual mode 2013-12-13 20:34:10 +01:00
Thomas Gubler
2fb493e639 px4io frimware: improve handling of manual mode when fmu is still healthy, use data from fmu for channels which are not controlled by rc 2013-12-13 20:33:59 +01:00
Lorenz Meier
0b9b68f0d9 Merge pull request #535 from NosDE/master
Device renamed, custom device on parameter switch
2013-12-13 08:10:57 -08:00
Lorenz Meier
3e708f881e Merge pull request #538 from thomasgubler/commander_localpos
update the commander to only use local pos for landing detection when on...
2013-12-13 08:10:42 -08:00
Lorenz Meier
39dcda3996 Merge pull request #541 from limhyon/master
SO(3) estimator has been debugged and cleaned.
2013-12-13 08:10:18 -08:00
Lorenz Meier
0b58c01dcc Merge pull request #534 from thomasgubler/tecs_fix_comparison
tecs: fix wrong != 0 check
2013-12-13 08:09:36 -08:00
Lorenz Meier
96997697e5 Merge pull request #536 from limhyon/patch-1
Update fw_att_control_params.c
2013-12-13 08:09:18 -08:00
Lorenz Meier
e8bc6cdd62 Merge pull request #547 from julianoes/fix_py_uploader
Python uploader: Ignore exceptions when sending reboot tries
2013-12-13 08:08:40 -08:00
Lorenz Meier
a91a8aeea8 Merge pull request #542 from PX4/hil_fixes
Various HIL-related fixes
2013-12-13 07:54:13 -08:00
Lorenz Meier
017a85df06 Merge pull request #545 from PX4/mavlink_fixes
Mavlink fixes
2013-12-13 07:53:28 -08:00
Lorenz Meier
c311462f3c Added actuator control removal 2013-12-13 16:52:35 +01:00
Andrew Tridgell
c46bd8b041 Enabled DMA on both telemetry ports and GPS 2013-12-13 11:26:16 +01:00
Andrew Tridgell
5b7d1af5d8 Merged crccheck command 2013-12-13 11:22:14 +01:00
Andrew Tridgell
6016fbe55d Merged PX4IO crc checks and force update 2013-12-13 11:21:00 +01:00
Andrew Tridgell
8f90efa312 l3gd20: print more perf counters and make DRDY usage clearer 2013-12-13 11:19:18 +01:00
Andrew Tridgell
e808e015dd LowPassFilter: allow for filtering to be disabled
using bandwidth of 0 gives no filtering
2013-12-13 11:19:08 +01:00
Andrew Tridgell
17502cbde4 l3gd20: fixed a warning 2013-12-13 11:18:59 +01:00
Thomas Gubler
c033443208 px4iofirmware: improve check for rc controlled channels in manual mode 2013-12-11 16:58:11 +01:00
Thomas Gubler
b69097df38 px4io frimware: improve handling of manual mode when fmu is still healthy, use data from fmu for channels which are not controlled by rc 2013-12-11 16:58:03 +01:00
Lorenz Meier
1a1570d902 Merged all of the LSM303D debug changes 2013-12-10 12:09:03 +01:00
Andrew Tridgell
cf78440ee6 drv_hrt: added note on why an uninitialised hrt_call is safe 2013-12-10 12:07:03 +01:00
Andrew Tridgell
d43e3394b0 l3gd20: added rescheduling and error checking 2013-12-10 12:06:56 +01:00
Andrew Tridgell
91870953d9 mpu6000: treat all zero data from mpu6k as bad 2013-12-10 12:06:48 +01:00
Andrew Tridgell
96881d8810 ms5611: check for all zero in the prom
when SPI CLK fails we get all zero data
2013-12-10 12:06:41 +01:00
Andrew Tridgell
f0d84d4826 mpu6000: close fds before exit 2013-12-10 12:06:34 +01:00
Andrew Tridgell
acd0a70dca lsm303d: close fds before exit 2013-12-10 12:06:25 +01:00
Andrew Tridgell
09ece4306e l3gd20: close fds before exit 2013-12-10 12:06:18 +01:00
Andrew Tridgell
1fc122562c mpu6000: use register_class_devname() 2013-12-10 12:06:11 +01:00
Andrew Tridgell
02e7f7fa85 lsm303d: use register_class_devname() 2013-12-10 12:06:02 +01:00
Andrew Tridgell
1d5f0a1433 l3gd20: use register_class_devname() 2013-12-10 12:05:55 +01:00
Andrew Tridgell
c5097a6561 hmc5883: use register_class_devname() 2013-12-10 12:05:42 +01:00
Andrew Tridgell
6145e69fc6 device: added register_class_devname() API
this allows drivers to register generic device names for a device
class, with automatic class instance handling
2013-12-10 12:05:36 +01:00
Andrew Tridgell
f24479c27a lsm303d: dump I2C control registers in regdump 2013-12-10 12:05:29 +01:00
Lorenz Meier
1fb406ba09 Add also default descriptor for alternate sensors 2013-12-10 12:05:21 +01:00
Lorenz Meier
3d27dd7246 Made all usual suspects default to their custom names and only register the default name if its not already taken by someone else 2013-12-10 12:05:14 +01:00
Andrew Tridgell
0456ee2364 ms5611: give cleaner SPI traces
this makes logic traces cleaner by zeroing extra bytes written
2013-12-10 12:05:07 +01:00
Andrew Tridgell
bc6ddb971f ms5611: removed unused variable 2013-12-10 12:05:00 +01:00
Andrew Tridgell
7e30941475 ms5611: change bus speed to 5MHz
this gives 5MHz SPI bus speed (by asking for 6MHz due to timer
granularity).

Tests with a logic analyser show that the ms5611 is actually more
reliable at 5MHz than lower speeds
2013-12-10 12:04:52 +01:00
Andrew Tridgell
30ff61fa90 lsm303d: use DRDY pins to automatically reschedule measurements
this prevents double reads of sensor data, and missing samples from
the accel
2013-12-10 12:04:46 +01:00
Andrew Tridgell
0e97c288bb px4fmu2: enable SPI sensor DRDY pins 2013-12-10 12:04:39 +01:00
Andrew Tridgell
4956feffdf drv_hrt: added hrt_call_init() and hrt_call_delay() APIs
hrt_call_init() can be used to initialise (zero) a hrt_call structure
to ensure safe usage. The hrt_call_every() interface calls this
automatically.

hrt_call_delay() can be used to delay a current callout by the given
number of microseconds
2013-12-10 12:04:26 +01:00
Andrew Tridgell
513d014f03 l3gd20: added retries to disable_i2c() 2013-12-10 12:04:20 +01:00
Andrew Tridgell
24a243843e lsm303d/l3gd20: change filters to 50Hz analog on-chip filters
after discussion with Leonard these analog on-chip filters should be
at 50Hz
2013-12-10 12:04:13 +01:00
Andrew Tridgell
0a83772c0d l3gd20: use highest possible on-chip filter bandwidth
this allows the software filter to do its job properly
2013-12-10 12:04:05 +01:00
Andrew Tridgell
f0e50fc87a lsm303d: init filter to 773 Hz 2013-12-10 12:03:58 +01:00
Andrew Tridgell
2de588e861 lsm303d: changed tones for accel fail to 3 tones
distinct tones for init fail, post-boot fail and recovery
2013-12-10 12:00:55 +01:00