Commit Graph

15166 Commits

Author SHA1 Message Date
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
Thomas Gubler a5890662c5 attitude estimator: fix signs 2014-12-31 16:52:00 +01:00
Thomas Gubler 2ab6eefc29 reduce manualinput queue size 2014-12-31 16:51:33 +01:00
Thomas Gubler e826187efe reduce mixer queue size 2014-12-31 16:51:08 +01: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
Thomas Gubler 1b0446ed41 improve launch files 2014-12-31 15:23:28 +01:00
Thomas Gubler 134f41c707 make ros params from launch files work 2014-12-31 15:23:09 +01:00
Thomas Gubler 3684ac6bf1 fix dummy mixer 2014-12-31 14:43:55 +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 f8214f3e01 manual input fix variable names 2014-12-31 09:19:57 +01:00
Thomas Gubler bc5fe30270 make mixer to radps scaling a param and raise default 2014-12-31 09:14:59 +01:00
Thomas Gubler e0396ffab7 mavlink tests module: -Wno-attributes -Wno-packed
This was introduced in ca97d0156c / 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
Thomas Gubler 255ba24288 Merge remote-tracking branch 'private_thomas/dev_ros' into dev_ros 2014-12-30 16:56:24 +01:00
Thomas Gubler a0260b6f6e use joystick launch file (joystick will not be used actually from euroc directly) 2014-12-30 16:56:03 +01:00
Thomas Gubler dbaf6af257 scale dummy mixer output 2014-12-30 16:55:34 +01:00
Roman Bapst a2edc284b2 fixed launch file 2014-12-30 16:47:38 +01:00
Thomas Gubler 60b02477e5 fix mixed motor commands publication 2014-12-30 16:01:52 +01:00
Thomas Gubler 0ea60f56e9 attitude estimator: fix readin of pose 2014-12-30 15:55:39 +01:00
Thomas Gubler 133842e89d fix launch files 2014-12-30 15:43:23 +01:00
Thomas Gubler 6f446d9abc add first version of simulator launch file 2014-12-30 15:31:44 +01:00
Thomas Gubler 481f18cb3e include commander and mixer in launch file 2014-12-30 14:58:00 +01:00
Thomas Gubler 16c66669c2 dummy attitude estimator copies attitude from gazebo 2014-12-30 14:53:53 +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
Thomas Gubler 2623ec156f Merge branch 'dev_ros_commander' into dev_ros
Conflicts:
	CMakeLists.txt
2014-12-30 12:34:18 +01:00
Thomas Gubler f968e7355d fix mixer path 2014-12-30 12:31:24 +01:00
Thomas Gubler 838f860347 variable rename 2014-12-30 12:27:45 +01:00
Thomas Gubler 6f425ca7fc commander dummy node 2014-12-30 12:27:29 +01:00
Lorenz Meier c82996850b Update EKF estimator to most recent version from Paul Riseborough 2014-12-30 12:20:23 +01:00
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
Thomas Gubler 664a240779 Merge pull request #5 from thomasgubler/PR_mixer
Pr mixer
2014-12-30 11:46:46 +01:00
Roman Bapst 4307b48c03 fixed description 2014-12-30 11:46:18 +01:00