Commit Graph

58934 Commits

Author SHA1 Message Date
Peter Barker 46b262cb32 waf: tidy interpretation of -Werror 2023-08-01 11:31:07 +10:00
Peter Barker 09a59bc934 AP_LandingGear: avoid use of MINIMIZE_FEATURES in AP_LandingGear_config.h 2023-08-01 10:44:59 +10:00
Peter Barker ac9fd6fcb6 AP_HAL_ChibiOS: avoid use of MINIMIZE_FEATURES in AP_LandingGear_config.h 2023-08-01 10:44:59 +10:00
Peter Barker d5b064b660 Blimp: remove un-needed DO_FOLLOW code case
UNSUPPORTED is the default return value from any unhandled case
2023-08-01 10:43:34 +10:00
Peter Barker 5c7e22debb ArduPlane: correct return error return codes for DO_FOLLOW
in the case it wasn't compiled in the return code would be correct.

in the case that the parameter was invalid we would return FAILED, which is wrong, it should be DENIED
2023-08-01 10:43:34 +10:00
Peter Barker d41e677c08 Copter: correct return error return codes for DO_FOLLOW
in the case it wasn't compiled in the return code would be correct.

in the case that the parameter was invalid we would return UNSUPPORTED , which is wrong, it should be DENIED
2023-08-01 10:43:34 +10:00
Peter Barker a79a8ca659 ArduCopter: rely on conversion from long to int for DO_FOLLOW
we have code which tries to handle commands coming in as command long as command int.

Change to rely on that code working, rather than handling both command-long and command-int variants
2023-08-01 10:43:34 +10:00
Peter Barker 354e3fa5bf Plane: rely on conversion from long to int for DO_FOLLOW
we have code which tries to handle commands coming in as command long as command int.

Change to rely on that code working, rather than handling both command-long and command-int variants
2023-08-01 10:43:34 +10:00
Martin Luessi 459ea697d9 AP_HAL_ChibiOS: RADIX2HD target change Serial4 default protocol to ESC telemetry 2023-08-01 10:40:53 +10:00
Andrew Tridgell a8c17873fc AC_Fence: added option bit for union of inclusion areas
this allows for treating total inclusion area as union of all
inclusion areas. This is useful for:

- circles with corridors between them
- a fence for each flying site all loaded at once
- temporary addition of an extra area to a complex fence
2023-08-01 10:40:17 +10:00
Peter Barker 3ee2d24f1c AC_Fence: clarify bit 2 in FENCE_ENABLE parameter
these aren't just polygon fences ('though they used to be)
2023-08-01 10:17:54 +10:00
Peter Barker 17ec5f7d3b GCS_MAVLink: use long-to-int conversion code for SET_ROI_SYSID
also remove more code based on the mount-enabled define
2023-08-01 10:16:14 +10:00
Peter Barker 8b88dcf336 autotest: ensure we test SET_ROI_SYSID as both command-long and command-int 2023-08-01 10:16:14 +10:00
Iampete1 b4cd3a4d26 AC_AttitudeControl: Heli: move integrate_bf_rate_error_to_angle_errors to private 2023-08-01 09:14:46 +09:00
Iampete1 6ece7ffb2e AC_AttitudeControl: Heli: remove unused flags 2023-08-01 09:14:46 +09:00
Iampete1 d927af03e9 Copter: remove heli motors param checks, moved to motors arming check 2023-08-01 09:12:51 +09:00
Iampete1 40414499fd Copter: AP_Arming: print multiple failures at once. 2023-08-01 09:12:51 +09:00
Iampete1 3e246c9d25 AP_Motors: Heli: remove loop rate "RSC control mode change failed" meassage 2023-08-01 09:12:51 +09:00
Iampete1 c5f3d5a98b AP_Motors: Heli: move heli parameter check to arming check 2023-08-01 09:12:51 +09:00
Henry Wurzburg 0aef2cc133 AP_AHRS:improve filter inconsistent messages
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2023-08-01 09:09:01 +09:00
Peter Barker 8819490e32 autotest: allow log message entries to be excluded by OFFBOARD_GUIDED define 2023-08-01 10:07:28 +10:00
Peter Barker 3f791ed734 hwdef: exclude landing library from SkyViper build 2023-08-01 10:07:28 +10:00
Peter Barker 2cec1204d0 ArduPlane: trim LogStructure base off included code 2023-08-01 10:07:28 +10:00
Peter Barker 10ef10da45 AP_Logger: trim LogStructure base off included code 2023-08-01 10:07:28 +10:00
Peter Barker a3aaaf3691 AP_Landing: trim LogStructure base off included code 2023-08-01 10:07:28 +10:00
Peter Barker ab15485968 hwdef: only one GPS receiver on SkyViper
notably that means no blending
2023-08-01 10:03:19 +10:00
Peter Barker 407cfc22ca AP_GPS: remove code if blended instance is not available 2023-08-01 10:03:19 +10:00
abaghiyan ae1eb93aec AP_L1_Control: Made changes to avoid zero division in proposed formula
According suggestion from Andrew Tridgell: https://github.com/ArduPilot/ardupilot/pull/24331#discussion_r1267798397
2023-08-01 10:01:47 +10:00
abaghiyan c2f4661b90 AP_L1_Control: Fixed formula in AP_L1_Control::nav_roll_cd
See details here: https://github.com/ArduPilot/ardupilot/issues/24319
2023-08-01 10:01:47 +10:00
Randy Mackay dbf5bfd707 AP_Scripting: add rover quicktune 2023-08-01 09:16:17 +10:00
Randy Mackay 0fd87667e5 AP_Scripting: AR_PosControl bindings 2023-08-01 09:16:17 +10:00
Randy Mackay 5e3c0d4ead AP_Scripting: add AR_AttitudeControl srate binding
also add AP_Vehicle:get_steering_and_throttle binding
2023-08-01 09:16:17 +10:00
Randy Mackay 99bfcb7498 AC_PID: AC_PID_2D integrates SlewCalculator2D 2023-08-01 09:16:17 +10:00
Randy Mackay 07ecbd18ec Filter: add SlewCalculator2D 2023-08-01 09:16:17 +10:00
Randy Mackay f91cda7b6e Filter: SlewLimiter definitions moved to cpp 2023-08-01 09:16:17 +10:00
Randy Mackay ce76e896dc Rover: implement get_steering_and_throttle 2023-08-01 09:16:17 +10:00
Randy Mackay 1fd1a7f881 AP_Vehicle: add get_steering_and_throttle 2023-08-01 09:16:17 +10:00
Randy Mackay 57b54a4263 AR_PosControl: add singleton and get_srate 2023-08-01 09:16:17 +10:00
Randy Mackay 68e1769cc1 AR_AttitudeControl: add singleton and get_srate 2023-08-01 09:16:17 +10:00
Peter Barker 3784841eaa Tools: extract_features.py: sort extracted features string into more useful order
when taking differences between output of this file it is more useful to sort the list regardless of compiled-in/compiled-out.
2023-08-01 07:08:19 +10:00
Willian Galvani 9d768c0843 Sub: create and use defaults_table 2023-07-31 12:32:06 -03:00
Andrew Tridgell 5908508811 hwdef: default most boards to MAVLink2 for 2nd USB endpoint
only CubeOrange and CubeBlack left as SLCAN
2023-07-31 19:03:13 +10:00
Andrew Tridgell 9d5560fc42 hwdef: default 2nd USB endpoint to MAVLink2 2023-07-31 19:03:13 +10:00
muramura d9492c1c6c Copter: Change RATE (NFC) 2023-07-31 17:18:21 +09:00
Andrew Tridgell c6a4c2ae87 Tools: added test for MSP GPS 2023-07-31 14:24:04 +10:00
Andrew Tridgell 217f073165 SITL: added simulated MSP GPS 2023-07-31 14:24:04 +10:00
Ryan Friedman 01c5f44556 AP_DDS: Add dynamic TF subscriber support
* This is the first step for GSOC Cartographer external odometry input
* Moved subscriber data members to class member variables

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-07-31 13:28:10 +10:00
Andrew Tridgell e7881077e2 Rover: fixed constructor ordering build error with gcc-12.2
the constructor order comes from the order in the class
2023-07-31 12:17:30 +10:00
Peter Barker 550f95f094 autotest: add autotest for RunMission script 2023-07-29 18:20:16 +10:00
Peter Barker 36a225f902 autotest: add run_mission.py quick-test tool 2023-07-29 18:20:16 +10:00