Commit Graph

25009 Commits

Author SHA1 Message Date
priseborough
77fad065d1 AP_NavEKF2: use a struct for all yaw step class variables 2016-09-13 17:35:16 +09:00
priseborough
885bfd1b4e AP_NavEKF2: Handle yaw jumps due to core switches 2016-09-13 17:35:14 +09:00
Randy Mackay
9b1b18b15b Copter: add sprayer to aux switch options 2016-09-13 17:34:15 +09:00
Randy Mackay
f37c17bd80 Copter: include spray in build by default 2016-09-13 15:16:13 +09:00
murata
c78dfd4aa4 AC_Sprayer: Change the comment of the variables in the form of doxygen. 2016-09-13 13:37:35 +09:00
Peter Barker
fce798bc7a DataFlash: avoid integer underflow
Thanks to mbelluzzo: f44b1b3556
2016-09-13 13:32:09 +09:00
Peter Barker
95d4475d45 DataFlash: avoid time going backwards in logs
WriteBlockCheckStartupMessages returned true if finished writing out
all startup messages.  However, that may have allowed the caller to
then write out their message - but the timestamp on that message would
almost certainly be lower than the messages we've just written out.
2016-09-13 13:32:06 +09:00
Randy Mackay
a8f0291711 Copter: parameter conversion only for matrix multicopters
Single, Coax and Tri copter rate parameter conversions were incorrect
2016-09-13 09:44:38 +09:00
Andrew Tridgell
d0dd10aeea Copter: added DEV_OPTIONS parameter
this is for little used options to allow standard firmware builds to
enable those options for development purposes

First option is for MAVLink based ADSB avoidance
2016-09-12 16:24:34 +10:00
Andrew Tridgell
9b83781b4f Plane: fixed mixer arming error with FMUv4
thanks to Tim Gold for reporting this
2016-09-11 08:25:40 +10:00
William Liu
cc28c8e6ee AP_Airspeed: AP_Airspeed_I2C: get the right status according to datasheet 2016-09-09 10:32:14 -07:00
William Liu
b1a62d6c8e AP_HAL_Linux: RCOutput_Bebop: fixed potential deadlock 2016-09-09 09:59:17 -07:00
Peter Barker
074e9dc9b0 Tools: special --aircraft mavproxy pass-through for sim-vehicle.py 2016-09-09 17:36:37 +10:00
Lucas De Marchi
f5be0823f9 sim_vehicle.py: move exit handler and start message
Move them after the argument parser because otherwise they would display
and the handler be registered when using the 'help' option.
2016-09-09 15:50:52 +10:00
Lucas De Marchi
0a75e2f12a sim_vehicle.py: fix indent on epilog 2016-09-09 15:50:52 +10:00
Andrew Tridgell
2e240699e6 Plane: final release notes for 3.7.0 2016-09-09 10:13:38 +10:00
Andrew Tridgell
26e1c30b19 autotest: avoid a race condition in quadplane test
this shows up on the new (faster) autotest server
2016-09-08 15:28:20 +10:00
Andrew Tridgell
aa4cde1aae AP_BoardConfig: work around issues with bad components on some FMUv4 boards
some pixracer copies have poor components which can cause sensor bus
brownout on boot. This resets the sensor bus for 20ms on boot to try
to get clean sensor startup
2016-09-08 13:18:13 +10:00
Benoit Tran
9b89b4f561 AP_HAL: Correct HAL_PARAM_DEFAULTS_PATH for Parrot Disco 2016-09-08 13:05:25 +10:00
Peter Barker
45bc95edeb Tools: LogAnalyzer: handle changed RCOU and parameters in motorbalance 2016-09-08 08:54:50 +10:00
Peter Barker
f42df1bc54 Tools: LogAnalyzer: handle MODE lines appearing before vehicle MSGs 2016-09-08 08:41:09 +10:00
Peter Barker
214bca8b30 Tools: LogAnalyzer: correct CTUN test 2016-09-08 08:41:09 +10:00
Peter Barker
f1641161d7 Tools: LogAnalyzer: correct Vcc test 2016-09-08 08:41:09 +10:00
Randy Mackay
b63666d188 AP_Motors: increase MOT_THST_HOVER parameter description range
No functional change
2016-09-07 15:28:49 +09:00
Niti Rohilla
cadd95fdd8 GCS_MAVLink: Added sanity check for DO_JUMP command on mission load. 2016-09-06 00:40:47 -07:00
Tom Pittenger
e13d5fa0bf ArduPlane: updated Mixer error message 2016-09-06 00:25:15 -07:00
Michael du Breuil
f0247a7be1 Plane: always check that the mixer has been configured as arming check 2016-09-06 00:03:13 -07:00
Grant Morphett
c5adb91017 Rover: Creating Beta Release 3 with recent parameter corruption fix. 2016-09-06 15:07:14 +10:00
Randy Mackay
f22f10460a Copter: 3.4-rc4 release notes 2016-09-06 11:18:07 +09:00
floaledm
85a3fda879 Copter: removed reliance on home_distance and home_bearing which are only in copter 2016-09-06 11:42:33 +10:00
floaledm
4d03be94cf AP_Frsky_Telem: removed reliance on home_distance and home_bearing which are only in copter 2016-09-06 11:42:32 +10:00
floaledm
33bd359463 AP_Frsky_Telem: LANDCOMPLETE switched to to ISFLYING flag 2016-09-06 11:23:29 +10:00
floaledm
4dc98faa48 AP_Frsky_Telem: transmit airspeed instead of groundspeed, if available 2016-09-06 11:15:11 +10:00
floaledm
8deba69715 AP_Frsky_Telem: added 1 to control_mode passed on Frsky link 2016-09-06 11:14:48 +10:00
floaledm
4f8cea6844 AP_Frsky_Telem: simplified constructor 2016-09-06 11:14:48 +10:00
Leonard Hall
1f2d17e8e7 Copter: increase chance that parachute will deploy
Previously a single moment where the vehicle was within 30deg of the target could cause the parachute release counter to reset to zero.  This change makes the parachute release if it is spending at least half it's time with more than a 30degree angle error.
2016-09-06 09:43:31 +09:00
Michael du Breuil
7a18d59099 GCS_MAVLink: On mission_set_current report the requested item if the set was a success
The problem with reporting the mission index, is that the mission index will be walked
forward until its referring to a nav target, which means that if a DO_ command was
requested, the requesting mavlink device had no way to validate the command was
accepted, it would have to make a infrence from it's copy of the mission
2016-09-06 08:55:04 +10:00
Michael du Breuil
d0da7411b2 Plane: Fetch mixer status for assessing mixer success 2016-09-06 08:42:16 +10:00
Andrew Tridgell
f2997901bd PX4Firmare: submodule update 2016-09-06 08:42:15 +10:00
Andrew Tridgell
d50bf93ac9 Plane: update 3.7.0 release notes 2016-09-06 07:11:13 +10:00
Andrew Tridgell
46c72a809d mavlink: submodule update 2016-09-05 20:37:15 +10:00
Andrew Tridgell
6e2c600fe7 autotest: make px4-clean between px4 builds
avoids an issue where vehicle object files are re-used from other
targets
2016-09-05 18:22:01 +10:00
Andrew Tridgell
670dd22ad9 mk: make px4-clean remove vehicle object files 2016-09-05 18:22:01 +10:00
Leonard Hall
fdcdcb0033 AC_PosControl: check Z-axis accel imax can always overpower hover throttle
This removes the possibility of the vehicle constantly climbing if the hover throttle becomes a very large value
2016-09-05 14:19:43 +09:00
Andrew Tridgell
aafd1512e4 HAL_PX4: limit IMU target temperature to 65 2016-09-05 12:59:50 +10:00
Andrew Tridgell
c0d21c5730 AP_Module: added gyro_bias to AHRS structure 2016-09-05 12:56:52 +10:00
Andrew Tridgell
334db0a1a5 AP_AHRS: added get_primary_accel_index() and get_primary_gyro_index() 2016-09-05 12:56:36 +10:00
Andrew Tridgell
902daff3a3 AP_Module: added FSYNC state to raw accel report 2016-09-05 12:55:52 +10:00
Andrew Tridgell
6f9530ebaa AP_InertialSensor: added optional FSYNC external sync bit
used to synchronise with image sensor on Disco
2016-09-05 12:55:32 +10:00
Andrew Tridgell
c62fc336cb AP_AHRS: use current EKF2 IMU core in gyro estimate
The EKF2 implementation uses one IMU per EKF2 core. When reporting the
gyro estimate, accel_ef estimate and gyro bias estimate we need to use
the values associated with the current IMU index being used by the
current EKF2 core. Otherwise we will have an inconsistency between the
gyro estimate and attitude estimate

This affects all multi-IMU systems using EKF2
2016-09-05 12:54:53 +10:00