Commit Graph

35592 Commits

Author SHA1 Message Date
Peter Barker
7406c5be37 AP_AHRS: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
d8e90ded90 Sub: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
b258e89a2d Plane: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
61df15ffe8 Tracker: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
e3c719b27f SITL: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
035957ca4c DataFlash: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
0d4475f443 AP_NavEKF3: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
ebd12b30e8 AP_NavEKF2: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
2f3237143f AP_Mount: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
b12dc3cde7 AP_Mission: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
31fa9e582e AP_Math: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
30980815a8 AP_GPS: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
384ab476b4 AP_ADSB: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
0215aff8f4 AC_WPNav: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
b4c65dde92 Sub: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
845f015648 Copter: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker
4e94d5c0ce APMrover2: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
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