Commit Graph

13169 Commits

Author SHA1 Message Date
priseborough
d5442fe64e AP_NavEKF : Modified compass fail logic
If the vehicle can fly without a compass (a fly forward vehicle)
then if the compass times out (large errors for more than 10 seconds,
then it will be declared permanently failed and will not be
used until the filter is reset
2014-07-31 21:12:11 +10:00
Randy Mackay
85b4ba6142 Copter: Thr and Batt failsafe disarm when landed
When throttle/radio failsafe or battery failsafe are triggered, the
vehicle will disarm if it is landed even if the throttle is not at zero.
Auto mode will disarm if landed and mission has not started.  This
ensures that the vehicle does not disarm during a mission land command
that appears mid way through a mission.
2014-07-31 15:00:06 +09:00
Randy Mackay
77d5b2171e Copter: rename control_modes.pde to switches.pde 2014-07-31 15:00:04 +09:00
Andrew Tridgell
cc735a4200 AP_InertialSensor: some more debug info for VibTest 2014-07-31 12:48:30 +10:00
Randy Mackay
b09568ffb5 Copter: use hal.rcout to send servo output to GCS 2014-07-30 17:31:11 +09:00
Andrew Tridgell
fcbdcb520a Plane: rename enum for Telem2Protocol 2014-07-30 14:49:20 +10:00
Andrew Tridgell
3ccac6736d Copter: rename TELEM2_PROTOCOL to SERIAL2_PROTOCOL
this matches SERIAL2_BAUD
2014-07-30 14:49:10 +10:00
Andrew Tridgell
30b9c60938 Rover: rename Tele2Protocol to Serial2Protocol 2014-07-30 14:48:41 +10:00
Craig Elder
7d152cbbf2 Frame_params: Added Iris with 3 Positon Mode Switch.param 2014-07-29 17:27:37 -07:00
Matthias Badaire
57253fc2ee Rover: Add SERIAL2_PROTOCOL for GCS and FRSky telemtry
This allows selection of protocol type on telem2. The default is MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:20 -07:00
Matthias Badaire
874ef65d74 Plane: Add SERIAL2_PROTOCOL for GCS and FRSky telemtry
This allows selection of protocol type on telem2. The default is MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:20 -07:00
Matthias Badaire
147e91877e Copter: Add SERIAL2_PROTOCOL for GCS and FRsky telemtry
this allows selection of protocol type on telem2. The default is
MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:19 -07:00
Matthias Badaire
c7cd1c9fde AP_Frsky_Telem: added initial Frsky telemetry library
based on work from the PX4Firmware tree, this adds a library which can
create and send Frsky telemetry packets
2014-07-29 17:08:19 -07:00
Randy Mackay
728da12441 BaroGlitch: remove debug 2014-07-29 22:05:09 +09:00
Andrew Tridgell
c538cc0665 AP_Baro: fixed example build 2014-07-29 21:04:26 +10:00
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