Commit Graph

54715 Commits

Author SHA1 Message Date
Peter Barker
f9b409ce01 AP_Mission: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker
bf5817e108 AP_Logger: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker
e4bc7a0ef5 AP_HAL_ChibiOS: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Peter Barker
936fef11e2 AP_Filesystem: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Shiv Tyagi
5ff268fa97 AC_PrecLand: return target distance if enabled from SIM_Precland
For rover, we cant measure distance towards target using a rangefinder. Hence, we should must return target distance if enabled through SIM_Precland.
2022-08-18 22:47:43 +10:00
Shiv Tyagi
8411b2ec03 SITL: add param in SIM_Precland to enable return dist to target 2022-08-18 22:47:43 +10:00
Peter Barker
27e7042377 Tools: build_autotest.sh: sync submodules from new master not old
Also remove a redundant pull
2022-08-18 22:47:10 +10:00
Stephen Dade
58cb4cbfb1 Copter: Make mode flowhold a build option via MODE_FLOWHOLD_ENABLED 2022-08-18 07:46:13 -04:00
Stephen Dade
5b5cdfa1f1 Tools: Add mode flowhold to build_options 2022-08-18 07:46:13 -04:00
nrt
c3d8f0fa45 AP_AHRS: added a getter function to get active source set once the ekf3 filter is started 2022-08-18 02:05:27 -04:00
nrt
5decc08dd4 AP_NavEKF: added a getter function for active source set 2022-08-18 02:05:27 -04:00
nrt
0c65cd1b47 AP_NavEKF3: added a getter function to infer the source index used by ekf3 2022-08-18 02:05:27 -04:00
nrt
2c58206a75 AP_Scripting: added Lua example demonstrating the use of active source set 2022-08-18 02:05:27 -04:00
Andrew Tridgell
507dbb0d61 autotest: switch sim_vehicle to EKF3
this was a leftover from many years ago
2022-08-18 14:50:44 +10:00
Peter Barker
e51a99763f Rover: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
2cb5a0cc26 ArduSub: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
0d19d7646f ArduPlane: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
78c742978e ArduCopter: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
35ab667e74 RC_Channel: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
cd98fcec87 GCS_MAVLink: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
20f73ad55e AP_Scripting: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
e45f938056 AP_OpticalFlow: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
c95ff4b82b AP_MSP: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
4139b7a548 AP_AHRS: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
082eb83f30 Rover: return true straight away in prearm checks if armed
mirrors equivalent clause in Plane
2022-08-17 17:44:48 +10:00
Peter Barker
9b1b06fd95 hwdef: remove ICEngine support from many boards
Ran out of room on omnibusf4pro-bdshot.

Removed ICEngine in the same place we were removing OpticalFlow
2022-08-17 17:40:21 +10:00
Peter Barker
dc8862822f AP_HAL_ChibiOS: remove unused HAL_RCIN_PULSE_PPM_ONLY define 2022-08-17 17:39:15 +10:00
Peter Barker
2ebba3ea99 Tools: include blimp in manifest 2022-08-17 17:34:45 +10:00
Peter Barker
b76e2316bb AP_HAL: do not gate AP_CRASHDUMP_ENABLED on bootloader
Also rename from HAL_CRASHDUMP_ENABLE

Removes code based on define rather than creating empty functions.  Makes it clearer what's going on in the callers.
2022-08-17 17:34:00 +10:00
Peter Barker
4ca0f35943 AP_HAL_ChibiOS: do not gate AP_CRASHDUMP_ENABLED on bootloader
Also rename from HAL_CRASHDUMP_ENABLE

Removes code based on define rather than creating empty functions.  Makes it clearer what's going on in the callers.
2022-08-17 17:34:00 +10:00
Peter Barker
680d158f59 AP_Filesystem: do not gate AP_CRASHDUMP_ENABLED on bootloader
Also rename from HAL_CRASHDUMP_ENABLE

Removes code based on define rather than creating empty functions.  Makes it clearer what's going on in the callers.
2022-08-17 17:34:00 +10:00
Peter Barker
d269758737 build_binaries.py: retain elf files in stm32 boards, add .elf to them 2022-08-17 17:31:52 +10:00
Peter Barker
46234e85f9 build_binaries.py: tidy file copying loop
notably, don't make fwinfo file more than once
2022-08-17 17:31:52 +10:00
Peter Barker
26b17b7c39 build_binaries.py: collapse copyit into sole caller 2022-08-17 17:31:52 +10:00
Iampete1
e7cbf266b3 Tools: autotest: plane: test allow mode change after fence breach option 2022-08-17 17:21:30 +10:00
Iampete1
2b0492e6aa Plane: disalow mode change during fence recovery if option is set 2022-08-17 17:21:30 +10:00
Iampete1
259e70b2b1 AC_Fence: add options param on plane 2022-08-17 17:21:30 +10:00
Iampete1
83b544dd0c Tools: autotest: plane: wait at least 10 seconds before retriggering fence 2022-08-17 17:21:30 +10:00
Iampete1
a8a1e619df Plane: only trigger fence action for new breaches 2022-08-17 17:21:30 +10:00
Iampete1
367984a6b8 Plane: set fence manual recovery on mode change 2022-08-17 17:21:30 +10:00
Iampete1
e7cb949f5f AC_Fence: plane needs larger circle backup distance 2022-08-17 17:21:30 +10:00
Iampete1
df6a5f0e0d AP_Scripting: reuse uint32 dev operation for idiv 2022-08-17 17:18:26 +10:00
Iampete1
2c8a11885f AP_Scripting: Boxed numerics and maunal bindings use generated arg checker 2022-08-17 17:18:26 +10:00
Randy Mackay
63db93c6d7 AP_Proximity: minor format fix 2022-08-17 10:46:57 +09:00
Randy Mackay
1dd2fb695c AP_Proximity: minor format fix 2022-08-17 10:46:56 +09:00
Henry Wurzburg
d3aebd72d8 Copter: logging disentangle and correct bugs and rename bitmasks
fix
2022-08-16 20:16:24 -04:00
murata
f3da373beb SRV_Channel: Change the minimum value of minimum PWM for servo output 2022-08-17 09:58:52 +10:00
Peter Barker
8360a3c247 autotest: force-disarm quadplane after ICEngine test
ICE provides forward thrust, which can make us think we're flying
2022-08-17 09:58:11 +10:00
Peter Barker
e091e8ad33 autotest: clear context before looking for GPS type
Will clarify the output as currently we look through the text messages for all of the previous gps types when trying to find the detection message for the current GPS
2022-08-17 09:57:39 +10:00
Peter Barker
bd2ef2e413 autotest: pop extra contexts post-test to clean up message hooks 2022-08-17 09:57:12 +10:00