Commit Graph

18758 Commits

Author SHA1 Message Date
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 dbaf6af257 scale dummy mixer output 2014-12-30 16:55:34 +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 16c66669c2 dummy attitude estimator copies attitude from gazebo 2014-12-30 14:53:53 +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 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
Roman Bapst 40f6e9f386 Merge branch 'ros_dev_roman' into dev_ros 2014-12-30 11:42:15 +01:00
Roman Bapst bfc3984426 cleanup 2014-12-30 11:41:28 +01:00
Roman Bapst fa1f09b850 made class for mc_mixer and moved into folder 2014-12-30 11:34:37 +01:00
Thomas Gubler 502952e034 make clear that switches are hardcoded to manual mode 2014-12-30 11:25:27 +01:00
Thomas Gubler c016804594 manual input: map axes 2014-12-30 11:16:53 +01:00
Thomas Gubler 824446bf2f typo 2014-12-30 11:15:46 +01:00
Roman Bapst 484020177d further progress on mixer node 2014-12-30 11:06:40 +01:00
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 7bed5b382f Clean up docs in PX4FLOW driver 2014-12-30 10:28:35 +01:00
Roman Bapst 67c4930315 added mixer node 2014-12-30 10:21:21 +01:00
Thomas Gubler 4c51121079 add example ROS_INFO 2014-12-30 10:19:33 +01:00
Thomas Gubler 27203beaa7 add some info in README about joystick 2014-12-30 09:58:45 +01:00
Thomas Gubler 1f8fd5d120 new dummy attitude estimator skeleton 2014-12-30 09:13:20 +01:00
Thomas Gubler b632d128aa add ros helper nodes readme 2014-12-30 08:22:18 +01:00
Thomas Gubler c9b0dfaaa1 skeleton code for manual input node 2014-12-30 08:17:59 +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
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
Roman Bapst 3e941a2d1f progress on att_estimator node 2014-12-29 14:03:37 +01:00
Thomas Gubler 2c12a524de dummy estimator skeleton code 2014-12-29 11:57:45 +01:00