Commit Graph
68977 Commits
Author SHA1 Message Date
Leonard Hall 071ddb88ff Sub: AC_PosControl: Fix units on set_correction_speed_accel_U 2025-08-05 11:04:37 +09:00
Leonard Hall f9735e68eb AC_WPNav: AC_PosControl: Fix units on set_correction_speed_accel_U 2025-08-05 11:04:37 +09:00
Leonard Hall 9217217573 AC_AttitudeControl: AC_PosControl: Fix units on set_correction_speed_accel_U 2025-08-05 11:04:37 +09:00
Peter Barker 2464a70f80 bootloaders: remove no-longer-used bootloader files
variant boards now USE_BOOTLOADER_FROM_BOARD instead
2025-08-05 09:04:28 +09:00
Peter Barker 6ba8231901 bootloaders: add MatekL431 bootloader
to be used by all of the variants
2025-08-05 09:04:28 +09:00
Peter Barker 6062120e49 Tools: exempt MatekL431 variants from building bootloader
really would be nice to get this information from the hwdefs, but backwards-compataiblity turns out to be a problem
2025-08-05 09:04:28 +09:00
Peter Barker c2e4ee9791 hwdef: use USE_BOOTLOADER_FROM_BOARD on MatekL431 variants 2025-08-05 09:04:28 +09:00
Peter Barker 801703b457 ArduPlane: use get_roll_deg in place of degrees(get_roll_rad) etc. 2025-08-05 09:00:08 +09:00
Peter Barker d70074d1e9 AP_NMEA_Output: use get_roll_deg in place of degrees(get_roll_rad) etc. 2025-08-05 09:00:08 +09:00
Peter Barker 60cf43135e AP_Mount: use get_roll_deg in place of degrees(get_roll_rad) etc. 2025-08-05 09:00:08 +09:00
Peter Barker 8c5d28a2cf AP_DroneCAN: use get_roll_deg in place of degrees(get_roll_rad) etc. 2025-08-05 09:00:08 +09:00
Peter Barker 57688f5e03 AP_Compass: use get_roll_deg in place of degrees(get_roll_rad) etc. 2025-08-05 09:00:08 +09:00
Peter Barker 8538cf65c8 AC_AttitudeControl: use get_roll_deg in place of degrees(get_roll_rad) etc. 2025-08-05 09:00:08 +09:00
Iampete1 e630c11e1c AP_Vehicle: init msp after CAN manager 2025-08-04 18:09:55 -05:00
Huibean 395fd9c0f6 AP_HAL_ChibiOS:remove vm l431 target unnecessary defaults.parm 2025-08-05 07:40:25 +10:00
Huibean 171e0e6b72 AP_HAL_ChibiOS:remove vm l431 target HAL_USE_EMPTY_IO define that cause save param fail 2025-08-05 07:40:25 +10:00
Peter Barker 369836a44b autotest: reboot vehicle before checking current waypoint seqno
Even after we clear a mission the vehicle's current waypoint number remains intact.  This state of affairs can continue indefinitely.

This patch moves us to reboot the vehicle before checking the current sequence number is zero.
2025-08-05 07:12:51 +10:00
Peter Barker 16344ed7e6 autotest: add test for double-fence-breach 2025-08-05 07:12:21 +10:00
ES-Alexander a74718472f ArduSub: improve turn counting 2025-08-04 15:17:14 -03:00
Peter Barker 05d186e993 Tools: set dummy GIT_VERSION_EXTENDED for repeatible bootloader builds 2025-08-04 09:12:59 +01:00
Peter Barker fa554d74bb .github: set dummy GIT_VERSION_EXTENDED for repeatible bootloader builds 2025-08-04 09:12:59 +01:00
Andrew Tridgell 5370da33b6 AP_Param: ensure flags is filled in for find()
top level parameters don't have flags, but we need to fill in the
flags return field as otherwise we can refuse to set a parameter based
on it being internal and the allow_set_via_mavlink() check
2025-08-04 09:03:07 +10:00
Andrew Tridgell 96b968b7be GCS_MAVLink: allow for multiple MAVFTP sessions
this allows multiple groundstations to perform FTP operations at the
same time, making FTP much more useful in multi-GCS environments or
when a companion computer wants to use FTP
2025-08-04 09:03:07 +10:00
Andrew Tridgell 2c34635d6c GCS_MAVLink: split GCS_FTP into it's own class 2025-08-04 09:03:07 +10:00
Peter Barker d5d00d580d autotest: test Plane maintains alt when switching to circle from loiter
.... when loitering rel-terrain
2025-08-03 13:45:42 -05:00
Peter Barker 60d7f4d3e6 AP_HAL_SITL: emit flightview connection information on stdout
just handy if you want a quick reminder where this traffic goes to
2025-08-03 13:06:52 -05:00
Peter Barker 017431841c autotest: use context to get AUTOPILOT_VERSION
... avoid race condition in modern ways
2025-08-03 13:04:50 -05:00
Peter Barker 9d166fcacc autotest: add a test for driving each Rover frame 2025-08-03 10:07:55 +10:00
Peter Barker 837ae6658b autotest: loosen constrain on DO_CHANGE_SPEED
we're really only after gross changes here, and that's taken care of by the three cases which are tested.

CI is getting values of 82 or 83 vs what I get on my machine here.  Vagaries of race conditions getting into this state, I believe.
2025-08-03 09:11:47 +10:00
Willian Galvani 21fdace4ea AP_Camera_Servo: report back zoom and focus levels 2025-08-03 07:42:37 +10:00
David Howie 85a8a55611 RC_Channel: Add All-Vehicles value to scripting options for OPTION param. 2025-08-02 15:12:49 +10:00
Abhishek Shukla e789a8e62c AP_Bootloader: BOTWINGF405 add support for the board 2025-08-01 17:02:23 +01:00
Abhishek Shukla 9f3b09fe70 bootloaders: BOTWINGF405 add bootloader 2025-08-01 17:02:23 +01:00
Abhishek Shukla 12254b37a9 hwdef: BOTWINGF405 add hwdef and readme file 2025-08-01 17:02:23 +01:00
Leonard Hall 3d199a9bc5 AC_WPNav: AC_WPNav_OA: Improve function internal comments 2025-08-01 14:09:50 +09:00
Leonard Hall 8584c0efea AC_WPNav: AC_WPNav_OA: Update Function descriptions 2025-08-01 14:09:50 +09:00
Leonard Hall fa07ec96a9 AC_WPNav: AC_WPNav_OA: Convert from cm to m 2025-08-01 14:09:50 +09:00
Leonard Hall f81c8354ab AC_WPNav: AC_WPNav_OA: Fix variable axis and units 2025-08-01 14:09:50 +09:00
Leonard Hall a7c6669e0b AC_WPNav: AC_Loiter: Improve function internal comments 2025-08-01 14:09:50 +09:00
Leonard Hall 8d2ee40e74 AC_WPNav: AC_Loiter: Update Function descriptions 2025-08-01 14:09:50 +09:00
Leonard Hall ac9dc2d3e3 AC_WPNav: AC_Loiter: Improve parameter descriptions 2025-08-01 14:09:50 +09:00
Leonard Hall 9a01a596e9 AC_WPNav: AC_Loiter: Convert from cm to m 2025-08-01 14:09:50 +09:00
Leonard Hall f97d4372db AC_WPNav: AC_Loiter: Fix variable axis and units 2025-08-01 14:09:50 +09:00
David Howie 6f52fd52ef Tools: Add All-Vehicles Values option to param_parse.py 2025-08-01 08:09:31 +10:00
Peter Barker 549e40ae7b Plane: add comment on speed scalar calculation
it needs to be a constant so that when the user changes TRIM_THROTTLE (eg. via DO_CHANGE_SPEED or via the parameter) that it doesn't change the tuning of their PID loops by changing the speed scaler. The aircraft could either start oscillating badly or could become very sluggish in control
2025-07-31 10:06:39 +10:00
rubenp02 8d3c52ccb2 Plane: Add climb slope minimum height parameter
Slope treatment for a flight leg was conditioned to a minimum height of
20m (which was a hardcoded value and only documented in a comment in the
code), below which an immediate altitude change was performed for that
leg. This caused unpredictable results for flight plans with waypoints
at exactly 20m followed by a climb, as the aircraft could, depending on
chance, be above or below the height demand, resulting in very different
trajectories.

This commit addresses that issue with the following changes:
- Added a parameter to control the minimum height at which a gradual
  climb slope can be performed. This documents the original feature and
  retains the safety aspect of it.
- Changed the behavior when below said minimum height to only
  immediately climb up to the safe height, regaining the intended climb
  slope afterwards. This leverages existing code for recalculating climb
  slopes, provides a good balance between safety and following the
  flight plan as intended, and fixes the core issue of different
  trajectories being taken based on random external factors.
2025-07-31 10:06:12 +10:00
rubenp02 7596555099 Plane: Fix crash false positive on shake to launch
Fixed a bug where, if the "shake to launch" functionality is configured,
a crash would instantly be detected after the final acceleration event.
The issue occurred because if a minimum acceleration threshold was set,
a crash was detected if the aircraft wasn't flying immediately after
reaching that threshold. This holds for single event acceleration
launches but usually not when "shaking to launch".
2025-07-31 10:05:24 +10:00
Peter Barker 207106fa62 SITL: SIM_Vicon: add usage information 2025-07-30 17:53:13 +10:00
James O'Shannessy 8afb9e2541 uploader.py: Update to support reading bootloader software version
Supports both ArduPilot and PX4 implementation of reading bootloader software version.
2025-07-30 17:21:38 +10:00
James O'Shannessy 5f76ae9e33 Bootloader: Add bootloader version reporting to the bootloader 2025-07-30 17:21:38 +10:00