Commit Graph

27293 Commits

Author SHA1 Message Date
Andrew Tridgell
6ea2a74c54 Travis: split build of v2/v4 into separate builds
we are sometimes going past max time limit with the v2/v4 build
2017-03-15 09:17:27 +11:00
GuillermoGuevara
c2905fc7f6 Update
Is it better this way :)
2017-03-14 21:29:28 +01:00
Andrew Tridgell
e3a8d477f5 Plane: improve tiltrotor transition strategy
avoid running forward motors at high throttle when transitioning to a
VTOL mode
2017-03-14 14:42:20 +11:00
Andrew Tridgell
3f7e7d456f Plane: in fixed wing mode slave quadplane attitude rate controller
For quadplanes this uses the attitude controller from fixed wing
when using the multicopter controller to assist fixed wing
flight. This prevents a rate mismatch between the two controller
leading to oscillation
2017-03-14 14:42:20 +11:00
Andrew Tridgell
2db8589f49 Plane: smarter Z controller initialisation for quadplanes
this is more generic than the previous one used only for the full
position controller
2017-03-14 14:42:20 +11:00
Andrew Tridgell
dd4f56dd98 Plane: added PIQ messages for quadplane PIDs
keep them separate from fixed wing PIDs, so we can watch the
interaction between the PIDs in transitions
2017-03-14 14:42:20 +11:00
Randy Mackay
e3bca10e9a Tools: fix Solo param file name 2017-03-14 11:36:08 +09:00
Randy Mackay
6e47eaf3c2 Tools: initial Solo default params
These are not perfect but it's a start
2017-03-14 11:10:19 +09:00
Andrew Tridgell
ed66190ca2 Sub: log home and origin on logging start 2017-03-14 10:51:15 +11:00
Andrew Tridgell
0e175179a6 Plane: log home and origin on logging start 2017-03-14 10:51:15 +11:00
Andrew Tridgell
dae1567d6c Copter: log home and origin on logging start 2017-03-14 10:51:15 +11:00
Andrew Tridgell
3a7c541145 Rover: log home and origin on logging start 2017-03-14 10:51:15 +11:00
Andrey Kolobov
5fdebe23cc AP_TECS: disable bad descent for soaring 2017-03-14 08:53:11 +11:00
Andrey Kolobov
9f2f070439 AP_Soaring: adding const qualifiers to some of soaring controller's methods 2017-03-14 08:53:11 +11:00
Andrew Tridgell
2b2fed735b AP_Soaring: fixed SOAR logging 2017-03-14 08:53:10 +11:00
Andrey Kolobov
42f5b5a232 AP_Soaring: fixes for matrixN changes 2017-03-14 08:53:10 +11:00
Andrew Tridgell
819c70494f AP_Soaring: added SOAR_ENABLE_CH parameter 2017-03-14 08:53:10 +11:00
Andrey Kolobov
35d406aeab Plane: added a soaring controller to Arduplane 2017-03-14 08:53:10 +11:00
Andrey Kolobov
a1fa2a9de3 AP_Math: added matrixN for soaring controller 2017-03-14 08:35:44 +11:00
akolobov
a3f3097941 AP_TECS: added function to reset integrator 2017-03-14 08:20:48 +11:00
akolobov
acddf6bdf3 AP_SpdHgtControl: added function to reset integrator 2017-03-14 08:20:48 +11:00
Andrey Kolobov
ea534f0445 AP_Soaring: added AP_Soar library, formerly known as SoaringController 2017-03-14 08:20:48 +11:00
Andrew Tridgell
ddfe55849e mavlink: submodule update 2017-03-14 05:43:34 +11:00
Randy Mackay
375f7b15ff Copter: 3.5-rc2 release notes 2017-03-13 12:25:07 +09:00
Francisco Ferreira
7afcbf51ec
AP_Math: also fix SEC_PER_WEEK 2017-03-13 02:57:30 +00:00
murata
1982285e23 AP_Math: update MSEC_PER_SEC definition to fix GPS time calcs 2017-03-13 11:50:33 +09:00
Randy Mackay
b82098ca44 AP_GPS: fix blended ground course
Thanks to jyl58 for finding this
2017-03-13 11:21:47 +09:00
Randy Mackay
3e628f30ff AP_GPS: fix blending when accuracy reported as 1mm
Thanks to Michael DuBreuil for suggesting the fix
2017-03-13 11:31:51 +11:00
Randy Mackay
f340c118d4 AP_Arming: GPS blending health check renamed 2017-03-13 11:31:51 +11:00
Randy Mackay
2002827de3 AP_GPS: rename pre-arm blending health check 2017-03-13 11:31:51 +11:00
Randy Mackay
e9c881c668 AP_GPS: stop blending if too many blending failures 2017-03-13 11:31:51 +11:00
Randy Mackay
b7ad8da9b9 AP_GPS: minor bracketing fix
This silences a warning from eclipse
No functional change
2017-03-13 11:31:51 +11:00
Randy Mackay
5de64273ec AP_GPS: more efficient initialisation of blending arrays 2017-03-13 11:31:51 +11:00
Randy Mackay
81b20e971b AP_GPS_UBLOX: use get_rate_ms accessor 2017-03-13 11:31:51 +11:00
Randy Mackay
ef1399a52f AP_GPS: fixups after peer review
This includes these changes:
RATE_MS, RATE_MS2 parameter description Range minimum reduced to 50
_blend_health_counter is reset to 0 if blending is disabled
GPS_MAX_RECEIVERS is replaced with GPS_BLENDED_INSTANCE where appropriate
simplify all_consistent functions check of number of receivers
calc_blended_weights fix for initial check of how many receivers we have
remove unnecessary setting of GPS last time when blending fails
remove RebootRequired from AUTO_SWITCH param description
2017-03-13 11:31:51 +11:00
Randy Mackay
2f21e3b40c DataFlash: rename GPS3/GPA3 to GPSB/GPAB 2017-03-13 11:31:51 +11:00
Randy Mackay
4f0333892d AP_Arming: clarify GPS inconsistency message 2017-03-13 11:31:51 +11:00
Randy Mackay
8140353c64 Copter: log event when primary GPS changes 2017-03-13 11:31:51 +11:00
Randy Mackay
b30d743812 Copter: AP_Arming calls parent's gps checks
Allows removing some duplicate code
2017-03-13 11:31:51 +11:00
Randy Mackay
e398bb5c68 AP_Arming: make gps-checks virtual
Copter's GPS checks will override this
2017-03-13 11:31:51 +11:00
Randy Mackay
9f21649dc0 AP_Arming: add gps consistency and blend health check 2017-03-13 11:31:51 +11:00
Randy Mackay
729ce34ce3 AP_GPS: add all_consistent and blend health for use as pre-arm check 2017-03-13 11:31:51 +11:00
Randy Mackay
72dfe1127f AP_GPS: protect parameters from being accessed externally
backends become friends so they can continue to access parameters held in frontend
get_rate_ms made private because only used by frontend
Also moved static arrays higher in cpp file
2017-03-13 11:31:51 +11:00
Randy Mackay
3172657f26 AP_GPS: move constructor and complex accessors to cpp file
These functions are slightly long and make the .h file hard to read.  Also saves a small amount of flash space.
No functional change
2017-03-13 11:31:51 +11:00
Randy Mackay
0066022a7f AP_GPS: check for valid instance in highest_supported_status
highest_supported_status will always return FIX_3D for blended or invalid instance
setHIL_Accuracy checks instance is 2 or less
send_mavlink_gps2_raw uses num_instances variable directly to avoid confusion with num_sensors
2017-03-13 11:31:51 +11:00
Randy Mackay
e764f0d5d0 AP_GPS: sanity check update rate
Also minor spelling and parameter documentation fix
2017-03-13 11:31:51 +11:00
priseborough
6b26bdd454 AP_GPS: Add option to blend multiple GPS receivers
Fix pre-existing bug in hard switch logic
Update GPS_AUTO_SWITCH description
protect against zero accuracy estimates returned by GPS drivers
2017-03-13 11:31:51 +11:00
Randy Mackay
cd379b0e86 AP_GPS: move time_epoch calcs into proper file
The frontend implementation was in the backend file
No functional change
2017-03-13 11:31:51 +11:00
Randy Mackay
a79474dcbc AP_GPS: minor comment fix
No functional change
2017-03-13 11:31:51 +11:00
Randy Mackay
201504dbae AP_GPS: remove unused get_antenna_offsets()
callers always specify an instance
2017-03-13 11:31:51 +11:00