Commit Graph

35556 Commits

Author SHA1 Message Date
Peter Barker
8dfdda1cf0 AP_Avoidance: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
b416bc603e AP_AHRS_DCM: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
a3a012b77e AP_Common: remove packed nature of Location, move flags out of union
This saves ~2.5kB on fmuv3
2019-01-16 11:45:29 +11:00
Peter Barker
4dc157951b AP_Common: add template to check structure size
This has the advantage of telling you what the sizes are

In file included from ../../libraries/AC_AttitudeControl/AC_PosControl.h:3:
../../libraries/AP_Common/AP_Common.h:103:3: fatal error: static_assert failed "wrong size"
  static_assert(s == t, "wrong size");
  ^             ~~~~~~
../../libraries/AP_Common/AP_Common.h:147:52: note: in instantiation of template class 'assert_structure_size<12, 11>' requested here
assert_structure_size<sizeof(struct Location), 11> _assert_location_size;
2019-01-16 11:45:29 +11:00
Tom Pittenger
99120cddf9 Frame_params: add SkykWalker X8 param files 2019-01-15 09:47:59 -07:00
Randy Mackay
8ba87171e6 Sub: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Randy Mackay
2650b1fe93 Plane: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Randy Mackay
50c5ad7076 Copter: TradHelis force spool up before takeoff 2019-01-15 11:41:44 +09:00
bnsgeyer
ca565675f2 Copter: Tradheli gets support for spool logic 2019-01-15 11:41:44 +09:00
bnsgeyer
12f4d8518e Copter: Tradheli moves init_targets_on_arming flag to motors 2019-01-15 11:41:44 +09:00
Leonard Hall
2ddb3f6697 Copter: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
Leonard Hall
4edc464b83 AC_AutoTune: desired-ground-idle replaces spin-when-armed 2019-01-15 11:41:44 +09:00
bnsgeyer
10572c2f9b AP_Motors: remove unused defines from multicopter 2019-01-15 11:41:44 +09:00
bnsgeyer
28f4c68f2f AP_MotorsHeli: add spool logic support
Also moved heli init_target_on_arming flag in from vehicle code
2019-01-15 11:41:44 +09:00
bnsgeyer
ac87b3e1e5 AP_Motors: spool state moved from multi to parent
Also rename SPIN_WHEN_ARMED to GROUND_IDLE
2019-01-15 11:41:44 +09:00
Randy Mackay
bee90261ef AC_PrecLand: enabled param desc loses 2nd option
this strict option was not actually supported
2019-01-15 10:25:28 +09:00
Randy Mackay
011cb89499 Copter: 3.6.5-rc2 release notes 2019-01-15 10:23:35 +09:00
Michael du Breuil
843c92ced5 Plane: Remove some redundant code/state resets 2019-01-15 10:45:50 +11:00
Andrew Tridgell
bc88d74b2e Tools: updated IO_Firmware 2019-01-15 10:33:15 +11:00
IamPete1
28884f60d5 AP_Motors: tricopter apply diffential thrust in forward flight 2019-01-15 10:19:19 +11:00
IamPete1
c26948ef59 AP_Motors: multicopter apply diffential thrust in forward flight 2019-01-15 10:19:19 +11:00
IamPete1
c82f158b56 AP_Motors: add get roll factor 2019-01-15 10:19:19 +11:00
IamPete1
9c0ac5899f Plane: pass rudder diffential thrust to AP_motors 2019-01-15 10:19:19 +11:00
IamPete1
eaed0a2d47 Plane: make rudder differnal thrust global 2019-01-15 10:19:19 +11:00
Peter Barker
8fd8ae660b GCS_MAVLink: send multiple async replies per call to send_queued_param 2019-01-15 10:11:21 +11:00
Peter Barker
99ea5d1a5e GCS_MAVLink: avoid initial rush of params into uart
bandwidth calculation is based on this.
2019-01-15 10:11:21 +11:00
Michael du Breuil
c4ff1f4307 AP_Arming: Allow disarming to force the safety switch 2019-01-15 08:59:25 +11:00
Michael du Breuil
ba49e9e17c AP_BoardConfig: Add safety option off 2019-01-15 08:59:25 +11:00
Willian Galvani
8638446c36 Tools: update install-prereqs-arch.sh 2019-01-14 14:25:11 -07:00
Peter Barker
d0aaf34db5 Tools: autotest: add option to skip tests if they're annoying us in CI 2019-01-14 20:15:47 +11:00
Peter Barker
35f3906424 GCS_MAVLink: do not adjust parameter stream rate on MAV_DATA_STREAM_ALL 2019-01-14 13:27:55 +11:00
Andrew Tridgell
3f25891fea AP_RCProtocol: on DSM sync error don't reset channel count
this fixes the issue noticed by Andreyl in 3.6.5rc1
2019-01-14 12:46:16 +11:00
Andrew Tridgell
a885f86ce7 AC_AutoTune: fixed testing of gains with aux switch
this fixes the use of an aux switch for autotune to test gains before
disarm.

Many thanks to Mark Whitehorn for noticing this regression
2019-01-14 09:43:15 +11:00
Andrew Tridgell
f35cebcca4 Plane: fixed EKF yaw reset
we need to do the yaw reset before updating the rest of quadplane, or
it is not effective

thanks to Leonard for noticing the bug!
2019-01-14 08:32:17 +11:00
Andrew Tridgell
6dffb209d2 DataFlash: wrap yaw targets in ATT log 2019-01-14 08:32:17 +11:00
Andrew Tridgell
358c570d9d SITL: added simulated battery for quadplane
needed for motor interference for mag
2019-01-14 08:23:47 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
00d9cc2e09 Copter: Only use the 6 LSBs, avoids a cpp warning 2019-01-11 20:55:17 +09:00
Michael du Breuil
3aee083540 AP_HAL_ChibiOS: Fix FMUv2 LED lighting up 2019-01-11 17:45:43 +11:00
Andrew Tridgell
1cf4a9b8d8 waf: fixed ROMFS compression to use zero timestamp
this makes the apj file indepenent of build date, which fixes this
issue:

https://discuss.ardupilot.org/t/arducopter-waf-build-repeatability/37182
2019-01-11 17:45:07 +11:00
Randy Mackay
0db8a48453 Copter: 3.6.5-rc1 release notes 2019-01-11 12:32:04 +09:00
Andrew Tridgell
53a1d98b68 Plane: fixed VTOL takeoff to ignore lat/lon in mission
we should always takeoff vertically
2019-01-11 13:48:45 +11:00
Pierre Kancir
1bd9b61bf6 AP_Arming: const correctness 2019-01-11 08:38:53 +09:00
Pierre Kancir
2c895599e1 Sub: correct rc_checks_copter_sub call 2019-01-11 08:38:53 +09:00
Pierre Kancir
dd2798d099 AP_Arming: remove unused parameter and variable 2019-01-11 08:38:53 +09:00
Pierre Kancir
0800f72377 AP_Arming: untangle header inclusion 2019-01-11 08:38:53 +09:00
TsuyoshiKawamura
1e033e616f Rover: Loiter in AUTO mode for boat 2019-01-10 20:42:39 +09:00
TsuyoshiKawamura
5575eeddab Rover: fixed coverity issue around loiter logic 2019-01-10 20:24:57 +09:00
TsuyoshiKawamura
41fd596c06 Rover: improve cruise speed/throttle learning. fix #9777 2019-01-10 20:23:36 +09:00
Pierre Kancir
8c5d9d38a6 Copter: fix snprintf size warning 2019-01-10 20:00:29 +09:00
Andrew Tridgell
36d908c524 Tools: fixed typo for CubePurple 2019-01-10 21:33:05 +11:00