Commit Graph

12904 Commits

Author SHA1 Message Date
Randy Mackay 61506c52dc Replay: fix example sketch 2014-07-29 15:26:05 +09:00
Andrew Tridgell 03dc27147e AP_Math: port examples to Linux 2014-07-29 15:49:38 +10:00
Andrew Tridgell 91ec4e56d5 Copter: fixed ESC calibration on Pixhawk
this ensures motors are armed after safety is pressed, and also gives
print out of channel inputs and outputs on USB console for debug
purposes

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-07-29 13:59:28 +10:00
Randy Mackay 053a45e9cf AC_WPNav: fix example sketch 2014-07-29 12:01:09 +09:00
Randy Mackay 6a6482fb03 AC_Sprayer: fix example sketch 2014-07-29 12:00:59 +09:00
Randy Mackay 71df1eb94f AC_Fence: fix example sketch 2014-07-29 12:00:46 +09:00
Randy Mackay 424cb1aeca AC_AttControl: fix example sketch 2014-07-29 12:00:33 +09:00
Randy Mackay 2951fb50e9 InertialNav: fix example sketch 2014-07-29 11:51:49 +09:00
Randy Mackay c9667131dd Copter: log flight mode after arming 2014-07-29 11:43:47 +09:00
Randy Mackay 55f679b54b BaroGlitch: shorten param prefix to BAROGLTCH_ 2014-07-28 22:21:46 +09:00
Randy Mackay 4d6588a479 Notify: APM2 buzzer for arming, ekf and baro failures 2014-07-28 22:16:24 +09:00
Randy Mackay dcc74be4aa Notify: baro warning tone alarm 2014-07-28 22:16:23 +09:00
Randy Mackay cd9e786935 Notify: RGB led flashes yellow-purple for baro warning 2014-07-28 22:16:22 +09:00
Randy Mackay 5f1f619829 HAL_AVR_SITL: integrate ACC_BIAS and BARO_GLITCH
Adjust simulated accelerometer values and barometer altitude
2014-07-28 22:16:21 +09:00
Randy Mackay 79291f25a0 SITL: add ACC_BIAS and BARO_GLITCH parameters
These allow testing accelerometer bias which often comes from vibration
and sudden changes in baro altitude.
2014-07-28 22:16:21 +09:00
Randy Mackay 7cc1501dc6 Copter: integrate baro glitch protection 2014-07-28 22:16:20 +09:00
Randy Mackay 4db4471f49 INav_EKF: accept baro_glitch in constructor
Required so it can create an InertialNav object
2014-07-28 22:16:19 +09:00
Randy Mackay 322f527c4f InertialNav: skip baro updates when glitching
Also resets inertial nav alt estimate once glitch clears
2014-07-28 22:16:19 +09:00
Randy Mackay ee6d4d570a Notify: add baro_glitch flag 2014-07-28 22:16:18 +09:00
Randy Mackay 2289b98d34 Baro_Glitch: initial version of baro glitch protection
Based on GPS Glitch protection library
2014-07-28 22:16:12 +09:00
Andrew Tridgell bea5c8ae0c Rover: change default throttle slew rate to 100
this will help with NiMH batteries which may brownout with sudden
currents
2014-07-27 22:18:52 +10:00
Andrew Tridgell 2ebdfce4ea GCS_MAVLink: avoid integer underflow in mavlink txspace check 2014-07-27 22:18:52 +10:00
Andrew Tridgell f7b01a6f3f AP_InertialSensor: avoid integer underflow in mavlink txspace check 2014-07-27 22:18:52 +10:00
Andrew Tridgell 1aeac23f46 AntennaTracker: avoid integer underflow in mavlink txspace check 2014-07-27 22:18:52 +10:00
Andrew Tridgell b82457eaa6 FollowMe: avoid integer underflow in mavlink txspace check 2014-07-27 22:18:51 +10:00
Andrew Tridgell b36e4b4122 Copter: avoid integer underflow in mavlink txspace check 2014-07-27 22:18:51 +10:00
Andrew Tridgell 7810314f7c Rover: avoid integer underflow in mavlink txspace check 2014-07-27 22:12:08 +10:00
Andrew Tridgell a60590d1fe autotest: use run_in_terminal.sh for HIL 2014-07-27 22:12:08 +10:00
Andrew Tridgell a21998aece GCS_MAVLink: prevent integer underflow with comm_get_txspace() 2014-07-27 22:12:08 +10:00
Andrew Tridgell fe3c51d516 Plane: prevent integer underflow with comm_get_txspace() 2014-07-27 22:12:08 +10:00
Randy Mackay df4bc3d617 Copter: pass motor_mask to ServoRelayEvents 2014-07-26 16:33:26 +09:00
Randy Mackay b665ebd7a0 MotorsMatrix: implement get_motor_mask 2014-07-26 16:33:24 +09:00
Randy Mackay d73605ece8 MotorsCoax: implement get_motor_mask 2014-07-26 16:33:22 +09:00
Randy Mackay 72c3e9cc72 TradHeli: implement get_motor_mask 2014-07-26 16:33:20 +09:00
Randy Mackay 6d99524e56 MotorsSingle: implement get_motor_mask 2014-07-26 16:33:18 +09:00
Randy Mackay 6ae855c1cf MotorsTri: implement get_motor_mask 2014-07-26 16:33:16 +09:00
Randy Mackay 7749bfe82c Motors: add get_motor_mask method
This returns a bitmask of output channels that are used by the motors
library.  This allows removing the chance of a do-set-servo interfering
with a motor or control surface used to control the vehicle.
2014-07-26 16:33:14 +09:00
Andrew Tridgell 1ea1d9983d build: don't build examples for apm1 any more
so little APM1 development happening it is not worth it
2014-07-25 21:03:23 +10:00
Andrew Tridgell 95b62512f8 AntennaTracker: fixed build 2014-07-25 21:01:09 +10:00
Andrew Tridgell 9c69e736f1 CPUInfo: fixed build 2014-07-25 18:41:30 +10:00
Andrew Tridgell b4a441620f AP_Notify: fixed example build 2014-07-25 18:38:15 +10:00
Andrew Tridgell a6db247f82 GCS_Console: fixed example build 2014-07-25 17:55:22 +10:00
Andrew Tridgell e67c468e2d DataFlash: fixed example build 2014-07-25 17:55:16 +10:00
Andrew Tridgell 7bf72d1c2b AP_RangeFinder: fixed example build 2014-07-25 17:55:11 +10:00
Andrew Tridgell f2c636250b AP_Notify: fixed example build 2014-07-25 17:55:04 +10:00
Andrew Tridgell 6ea68b318e AP_Mount: fixed example build 2014-07-25 17:54:58 +10:00
Andrew Tridgell d9f20c6785 AP_Motors: fixed example build 2014-07-25 17:54:51 +10:00
Andrew Tridgell 50f67dd57d AP_Mission: fixed example build 2014-07-25 17:54:45 +10:00
Andrew Tridgell c1650eed7a AP_InertialNav: fixed example build 2014-07-25 17:54:37 +10:00
Andrew Tridgell db1479b46b AP_GPS: fixed example build 2014-07-25 17:54:25 +10:00