10179 Commits

Author SHA1 Message Date
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
Lorenz Meier
5de80bbaf1 Clean up MC controller usage of VTOL topics 2014-12-30 11:05:28 +01:00
Lorenz Meier
ef065808a3 Merged master 2014-12-30 11:01:09 +01:00
Lorenz Meier
4942883ddc RTL params: Set safer initial value for RTL altitude for all vehicles, improve dparam documentation 2014-12-30 10:45:09 +01:00
Lorenz Meier
d8ff76bf7e Fix parameter name for initial setup parameter config 2014-12-30 10:44:23 +01:00
Lorenz Meier
7bed5b382f Clean up docs in PX4FLOW driver 2014-12-30 10:28:35 +01:00
Randy Mackay
c4e3577476 batt_smbus: add search 2014-12-30 13:43:23 +09:00
Randy Mackay
a952a18b42 batt_smbus: add get_PEC 2014-12-30 13:43:21 +09:00
Randy Mackay
65bcd0e122 batt_smbus: minor format fix 2014-12-30 13:43:18 +09:00
Randy Mackay
78b9e06a15 batt_smbus: remove redundant ORB_DECLARE 2014-12-30 13:43:15 +09:00
Randy Mackay
b8e818b387 batt_smbus: remove sleep before I2C transfer 2014-12-30 13:43:13 +09:00
Randy Mackay
df9547e9d3 batt_smbus: driver for smart battery 2014-12-30 13:43:11 +09:00
Randy Mackay
ac9e9835ac i2c: const get_address 2014-12-30 13:43:08 +09:00
Randy Mackay
59e0b67c8e NuttxConfig: increase I2C timeout to 10ms 2014-12-30 13:43:06 +09:00
Thomas Gubler
f05aa01e69 fw att: fix comment style 2014-12-29 16:55:22 +01:00
Mark Whitehorn
a0b767f467 add yaw_manual override variable, effective only in ALTCTL and do not publish it in attitude rates 2014-12-29 16:49:42 +01:00
Lorenz Meier
22f744f0e1 sdlog2: Fix flow message 2014-12-29 00:13:17 +01:00
Lorenz Meier
1b5c3271cf Merge pull request #1529 from PX4/fdmax
FMUv1 / FMUv2: Up number of file descriptors slightly - no known issues,...
2014-12-28 23:46:39 +01:00
Lorenz Meier
00aac99ce4 Merge pull request #1544 from jgoppert/flow_log_fix
Fixed FLOW sdlog2 format.
2014-12-28 23:45:09 +01:00
Lorenz Meier
786c7a260f Merge pull request #1542 from PX4/werrorfix
Werror fix
2014-12-28 23:42:35 +01:00
James Goppert
277fde472c Fixed FLOW sdlog2 format. 2014-12-28 16:41:20 -06:00
Thomas Gubler
ca97d0156c -Wno-attributes -Wno-packed for mavlink 2014-12-28 23:22:34 +01:00
Thomas Gubler
c583f1fe8b increase commander framesize 2014-12-28 23:22:02 +01:00
M.H.Kabir
33653b25c6 fix Z rotation 2014-12-27 23:25:08 +05:30
M.H.Kabir
11a14c2c3d Add rotation switching to flow from mavlink 2014-12-27 23:16:09 +05:30
M.H.Kabir
d40168dc4b Add support for rotations of PX4flow 2014-12-27 23:01:31 +05:30
M.H.Kabir
c29972424f fix timestamp 2014-12-27 12:56:31 +01:00