Commit Graph

35801 Commits

Author SHA1 Message Date
Peter Barker 21f2b74096 DataFlash: remove PX4 ESC logging code
Left the log structure in place as we really should be using it for
telemetry-enabled ESCs
2019-01-16 13:59:25 +11:00
Peter Barker 9e8d2d7f7d Sub: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker cb92fba701 Plane: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker d3f5f0d7b0 Copter: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker 17deff637b Tracker: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker cc011d1a3d Rover: remove PX4 FWVersion info 2019-01-16 11:47:55 +11:00
Peter Barker 3a53c5f99c Tools: Replay: update Replay for Location/Location_Class merge 2019-01-16 11:45:29 +11:00
Peter Barker 2fa0b61f8b AP_Math: update example/test for Location_Class merge 2019-01-16 11:45:29 +11:00
Peter Barker 0b661e7872 AP_Beacon: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
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