Commit Graph

35575 Commits

Author SHA1 Message Date
Peter Barker
9deee2a805 AP_Fence: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
57804e3118 AP_Common: unify Location_Class and Location 2019-01-16 11:45:29 +11:00
Peter Barker
d92f34c3d0 Sub: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
f1299dc9bf DataFlash: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
90b708f9e7 AP_Terrain: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
acafb0f3c1 Plane: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
f48d757bd4 Copter: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
1f5727c0b2 AP_Rally: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
dd8da7321c AP_NavEKF3: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
9be604e3ce AP_NavEKF2: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
828317860a AP_Mount: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
1b2ac38691 AP_Mission: adjust for Location no longer being packed 2019-01-16 11:45:29 +11:00
Peter Barker
ce37c9f69b AP_Math: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
e8da58201a AP_Landing: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
30d5d6b578 AP_GPS: do not zero options after assigning from location
On the assumption that the assignment operator knows what it is doing,
and that we have no idea what fields are actually present in options
2019-01-16 11:45:29 +11:00
Peter Barker
38a649033f AP_Frsky_Telem: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
1c6b52c8de AP_Follow: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
4e7d64fd17 AP_Camera: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Peter Barker
1075227c90 AP_Beacon: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
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