10209 Commits

Author SHA1 Message Date
Lorenz Meier
f28e8d6731 sdlog2: Adjust frame size 2015-01-02 12:28:23 +01:00
Lorenz Meier
1f81a8bd61 2nd baro support for common topics 2015-01-02 12:28:23 +01:00
Lorenz Meier
a12ac452a1 Objects common 2015-01-02 12:28:22 +01:00
Lorenz Meier
f5b6b83161 Added 2nd baro to sensor combined topic 2015-01-02 12:28:22 +01:00
Lorenz Meier
08297db39a Support for 2nd baro 2015-01-02 12:28:22 +01:00
Lorenz Meier
d20ebd7390 Add logging for 2nd baro
Conflicts:
	src/modules/sdlog2/sdlog2_messages.h
2015-01-02 12:28:22 +01:00
Lorenz Meier
d638cbda83 start MS5611 in parallel 2015-01-02 12:28:22 +01:00
Lorenz Meier
4c3ebee15b Hackery on option parsing to make MS5611 comply 2015-01-02 12:28:22 +01:00
Lorenz Meier
a77c9225df Allow access to both device handles, make external use a special handle 2015-01-02 12:28:21 +01:00
Lorenz Meier
bf134e6979 Allow to get access to dev name 2015-01-02 12:28:21 +01:00
Lorenz Meier
2effc9a23d MS5611: Allow two instances 2015-01-02 12:28:21 +01:00
Andrew Tridgell
500ac1443b lsm303d: detect large fixed values and report an error
we have logs where the lsm303d gets large fixed values for long
periods. This will detect that error case and raise error_count so the
higher level sensor integration code can choose another sensor
2015-01-02 16:47:48 +11:00
Lorenz Meier
a0e1255e28 Merge pull request #1543 from thomasgubler/rcparamtune
RC param tune
2015-01-01 18:15:28 +01:00
Thomas Gubler
dd8dfc971c update mavlink c library 2015-01-01 17:59:31 +01:00
tumbili
a7bc38869e added pitch trim for vtol in fixed wing mode 2015-01-01 14:51:18 +01:00
Andrew Tridgell
7b6620b319 ll40ls: fixed exit code on external sensor startup failure 2015-01-01 13:06:46 +01:00
Lorenz Meier
f3b021ac05 Merge pull request #1555 from tridge/pullrequest-regcheck-fixes
this fixes errors in the recent regcheck code
2015-01-01 00:48:29 +01:00
Andrew Tridgell
8470105f9e lsm303d: fixed build warning 2015-01-01 10:04:09 +11:00
Andrew Tridgell
7864958f1c l3gd20: fixed build warning 2015-01-01 10:04:07 +11:00
Andrew Tridgell
82b9e08e4c mpu6000: removed unsafe printf in interrupt context
instead delay 3ms between register writes. This seems to give a quite
high probability of correctly resetting the sensor, and does still
reliably detect the sensor going bad, which is the most important
thing in this code
2015-01-01 08:51:57 +11:00
Andrew Tridgell
b5f6fedfa8 lsm303d: show all perf counters in "info" 2015-01-01 08:51:54 +11:00
Andrew Tridgell
083d9e3e69 lsm303d: check DRDY after check_registers()
this allows recovery from a state where DRDY is not set
2015-01-01 08:51:52 +11:00
Andrew Tridgell
1de7fab974 lsm303d: removed unsafe printf in interrupt context 2015-01-01 08:51:49 +11:00
Andrew Tridgell
e4318345f3 lsm303d: added two more checked registers
these are key for DRDY behaviour
2015-01-01 08:51:47 +11:00
Andrew Tridgell
2ac3a6fcf4 l3m303d: added testerror command
useful for testing error handling
2015-01-01 08:51:44 +11:00
Andrew Tridgell
5c1da70d0c l3gd20: fixed reporting of error count 2015-01-01 08:51:42 +11:00
Andrew Tridgell
1bb3974c84 l3gd20: check DRDY after check_registers() is called
this allows us to recover from an error that disables data ready
2015-01-01 08:51:40 +11:00
Andrew Tridgell
8db2066151 l3gd20: removed printf in interrupt context
this is not safe
2015-01-01 08:51:37 +11:00
Andrew Tridgell
353ea9beac l3gd20: added testerror command
useful for testing error handling
2015-01-01 08:51:34 +11:00
tumbili
72eafad510 introduced vtol_fw_permanent stabilization: allows vtol to be attitude-stabilized in manual mode 2014-12-31 16:40:16 +01:00
Lorenz Meier
57ca716402 Merge pull request #1513 from PX4/isvtol
is_vtol flag in vehicle_status
2014-12-31 14:01:18 +01:00
Andrew Tridgell
c9e795156f makefiles: make it easier to use ccache for build on windows 2014-12-31 11:43:32 +01:00
Andrew Tridgell
6bc6739676 makefiles: removed stray spaces 2014-12-31 11:43:21 +01:00
Lorenz Meier
3aacaf036c Merge branch 'accelfail' of github.com:thomasgubler/Firmware 2014-12-31 11:42:58 +01:00
Thomas Gubler
e0396ffab7 mavlink tests module: -Wno-attributes -Wno-packed
This was introduced in ca97d0156c07ad6cc09e4623140a7f47214946f5 / pull
1542 for the mavlink module
2014-12-31 08:31:07 +01:00
Andrew Tridgell
a8cea3a4da l3gd20: use the I2C disable bit on l3gd20H
this seems to prevent a mpu6000 reset from causing an issue on the
l3gd20H
2014-12-30 20:55:57 +01:00
Andrew Tridgell
b455d647b2 l3gd20: added "l3gd20 regdump" command 2014-12-30 20:55:57 +01:00
Andrew Tridgell
4a81384b2d mpu6000: make register fixup much closer to a reset()
this may help automatic reset on the faulty boards
2014-12-30 20:55:57 +01:00
Andrew Tridgell
e537de20e3 mpu6000: wait for 10ms after a full reset
this prevents the mpu6000 getting in a really weird state!
2014-12-30 20:55:57 +01:00
Andrew Tridgell
333039d3db mpu6000: added "mpu6000 testerror" command
used to generate a error case for reset testing
2014-12-30 20:55:57 +01:00
Andrew Tridgell
b157466608 mpu6000: monitor some more registers 2014-12-30 20:55:57 +01:00
Andrew Tridgell
e5d3c80686 mpu6000: added factory self-test function
this follows the factory calibration self-test method in the datasheet
to see if the sensor still has the same calibration it had in the factory
2014-12-30 20:55:57 +01:00
Andrew Tridgell
ca47952281 l3gd20: added register checking
this checks at runtime that key registers have correct values
2014-12-30 20:55:57 +01:00
Andrew Tridgell
ae3a92569d mpu6000: try resetting the mpu6000 up to 5 times
this mirrors the ardupilot driver. We have seen situations where the
mpu6000 on the Pixhawk comes up in SLEEP mode, despite a reset
2014-12-30 20:55:57 +01:00
Andrew Tridgell
03c40d5d91 lsm303d: replace old register checking with new check_registers() method
this uses the same method as is now used in the MPU6000 to check that
the sensor retains its correct values

Conflicts:
	src/drivers/lsm303d/lsm303d.cpp
2014-12-30 20:55:57 +01:00
Andrew Tridgell
3e06a65516 mpu6000: monitor some key registers for correct values
this will catch both bad SPI bus comms and a sensor that has been
reset causing incorrect configuration.
2014-12-30 20:55:57 +01:00
Lorenz Meier
75bff509c4 Merge pull request #1540 from mhkabir/flow_orient
Add support for PX4Flow board orientation
2014-12-30 14:36:07 +01:00
Mohammed Kabir
84d724503f Remove invalid params 2014-12-30 18:06:48 +05:30
M.H.Kabir
32bfc6cdb8 Minor re-addition 2014-12-30 16:32:16 +05:30
M.H.Kabir
ce03794eca Merge remote-tracking branch 'upstream/master' into flow_orient
Conflicts:
	src/drivers/px4flow/px4flow.cpp
2014-12-30 16:23:52 +05:30