Commit Graph

44222 Commits

Author SHA1 Message Date
Patrick José Pereira 8701e3626d GCS_MAVLink: Update GCS_Dummy to use new AP_FWVersionDefine header
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-07 19:32:12 +11:00
Patrick José Pereira adda695630 AP_Common: Update AP_FWVersion struct to be used with binary parsers
- Add an uint64_t header to allow easy detection of struct
- Add an uint16_t version
    - MSB is for major release, compatibility break
    - LSB for minor version, no compatibility break
- Add pointer size variable to allow decode of pointers
- Add vehicle type information
- Add board type and subtype to allow hardware identification
- Set type of fw_type to uint8_t since enum is declared as int
- Organize struct to be packed inside 32bits system

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-07 19:32:12 +11:00
Patrick José Pereira 75e9550bce AP_Vehicle: Define APM_BUILD_DIRECTORY as UNKNOWN if not defined
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-07 19:32:12 +11:00
Andy Piper af8542b5d6 AP_ADSB: conditionally compile based on HAL_ADSB_ENABLED 2020-10-07 19:11:38 +11:00
Tom Pittenger 150b8653a4 Revert "AP_Param: add set_and_save_and_notify()"
This reverts commit 96a2aa485a.
2020-10-07 19:11:38 +11:00
Tom Pittenger 787d7f5254 Revert "AP_Math: add function to convert any base to any base"
This reverts commit 935cb39dff.
2020-10-07 19:11:38 +11:00
Tom Pittenger a0f25640a2 Revert "AP_Math: add bitwise fetch/load 16, 24, 32bit operations"
This reverts commit 6efaa29577.
2020-10-07 19:11:38 +11:00
Tom Pittenger 899cc9ef5d Revert "AP_SerialManager: add support for Sagetech protocol"
This reverts commit b74c22864d.
2020-10-07 19:11:38 +11:00
Tom Pittenger 8e1f5ec6cd Revert "AP_ADSB: create backend and add Sagetech driver" 2020-10-07 19:11:38 +11:00
Tom Pittenger f2e65ea3cd Revert "AP_ADSB: Sagetech for 2MB only"
This reverts commit 1fce38c62a.
2020-10-07 19:11:38 +11:00
Tom Pittenger b2eb3eb881 Revert "AP_ADSB: conditionally compile based on HAL_ADSB_ENABLED"
This reverts commit 465357e715.
2020-10-07 19:11:38 +11:00
Tom Pittenger 90b4056aa4 Revert "AP_ADSB: remove annoying debug"
This reverts commit 5a535b25e3.
2020-10-07 19:11:38 +11:00
Tom Pittenger ee8f50e6a5 Revert "AP_Math: fix LoadUint() to allow 32bit values"
This reverts commit 5e2450c4ea.
2020-10-07 19:11:38 +11:00
Iampete1 0201692eeb Plane: Q_OPTION to disable synthetic airspeed assist 2020-10-07 18:20:08 +11:00
Andy Piper af8d6c5fc9 AP_Scheduler: add the fast loop to task statistics 2020-10-07 18:08:19 +11:00
Randy Mackay 530eb6d236 AC_WPNav: remove unused reached_spline_destination 2020-10-07 15:41:18 +09:00
Andrew Tridgell 99170c3954 Tools: update IO firmware 2020-10-07 16:44:13 +11:00
Andrew Tridgell 1b5551206a AP_IOMCU: fixed bug in SBUS output when scanning for FPort input
when we are looking for FPort input, we normally switch UART3 on the
IOMCU to 115200 to look for inverted inputs at 115200 baudrate. We
need to disable this switching when we have SBUS output enabled to
prevent a change in the SBUS output baudrate

Many thanks to afishman for finding this bug

Fixes #15522
2020-10-07 16:44:13 +11:00
Tatsuya Yamaguchi e347618210 Rover: support speed control of DO_REPOSITION 2020-10-07 10:12:24 +09:00
Peter Barker 1d0735f206 autotest: add a poll_message method 2020-10-07 11:54:02 +11:00
Randy Mackay d31a00a6a1 AP_Scripting: replace prearm_healthy binding with healthy 2020-10-07 11:53:07 +11:00
Randy Mackay facc0ea8bb Sub: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay 161d235c8b Rover: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay 60b4953751 Plane: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay 49e1e8cc16 Copter: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay eeaf135cca AP_Arming: integrate ahrs.pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay eeb1a1846c AP_NavEKF3: replace prearm_healthy with pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay b2d4622320 AP_NavEKF2: replace prearm_healthy with pre_arm_check 2020-10-07 11:53:07 +11:00
Randy Mackay 1d97416a51 AP_AHRS: replace prearm_healthy with pre_arm_check
Also removes prearm_failure_reason
2020-10-07 11:53:07 +11:00
mhefny 02daa4c3ec AP_InertialSensor: update L3G4200D driver 2020-10-06 09:27:26 -07:00
mhefny 1200d0e2f8 AP_HAL: add PROBE_IMU_I2C2 to linux.h 2020-10-06 09:27:26 -07:00
Randy Mackay d9de6e8de9 AP_Common: UINT16_VALUE, UINT32_VALUE get parentheses around arguments 2020-10-06 20:52:29 +11:00
Randy Mackay 4381eff482 AP_Proximity: simplify get_horizontal_distances
no need to fill in missing orientations.  This is only used for reporting to the ground stations
2020-10-06 20:52:29 +11:00
Randy Mackay e081d83185 AP_Proximity: Lightware SF45B driver 2020-10-06 20:52:29 +11:00
Randy Mackay f3b193d6f8 AP_Common: add UINT32_VALUE 2020-10-06 20:52:29 +11:00
Randy Mackay 1858fbe951 AP_Arming: correct proximity pre-arm check msg 2020-10-06 20:52:29 +11:00
Randy Mackay 63a21c6c12 AP_Proximity: add correct_angle_for_orientation to backend 2020-10-06 20:52:29 +11:00
Randy Mackay cf020e1d84 AP_Proximity: minor spelling fix for SF40c assert 2020-10-06 20:52:29 +11:00
Randy Mackay 5d31a443b6 Copter: update 4.0.5-rc1 release notes 2020-10-06 16:43:13 +09:00
Randy Mackay 8753d3cf8d Copter: 4.0.5-rc1 release notes 2020-10-06 16:43:10 +09:00
Andrew Tridgell e995a198bd AP_GPS: always send GPS2_RAW if 2nd GPS configured
this improves the display on the GCS when the GPS has not yet been
found. This is particularly important after a reboot, as otherwise the
GCS may display stale information from the previous boot
2020-10-06 16:48:19 +11:00
Randy Mackay 92f34a19d3 Plane: integrate parachute check_sink_rate
this was previously part of the update function.  It can be run before or after the update
2020-10-06 16:14:59 +11:00
Randy Mackay e2d41a3e04 Copter: integrate parachute check_sink_rate
also move set_is_flying into check parachute to increase it's update rate
2020-10-06 16:14:59 +11:00
Randy Mackay 4b7709f11d AP_Parachute: move sink rate check to new method
also remove unused critical_sink accessor
2020-10-06 16:14:59 +11:00
Randy Mackay 17d4e797fb AP_Parachute: formatting fixes 2020-10-06 16:14:59 +11:00
Andrew Tridgell dbf6f6f4b1 Copter: fixed parachute checks for sink rate
ensure is_flying is set, setup sink rate at the right position, force
disarm if chute releases
2020-10-06 16:14:59 +11:00
Michael du Breuil b04844ca13 AP_Logger: Log all vibration instances 2020-10-06 14:20:49 +11:00
Peter Barker 04633d7e1c autotest: if MODE_AUTO is disabled then we also need to disabled AFS 2020-10-06 11:25:09 +11:00
Peter Barker c86ee44264 Copter: correct compilation when AFS enabled 2020-10-06 11:25:09 +11:00
Peter Barker 4136397810 Copter: correct compilation when CIRCLE mode is disabled 2020-10-06 11:25:09 +11:00