Commit Graph

66860 Commits

Author SHA1 Message Date
rubenp02
f7ec2e7420 autotest: Change glide slope to altitude slope
Smooth altitude changes were always referred to as "glide slopes"
despite this not being the appropriate aviation term in the case of a
climb. A better option is "altitude slope", which encompasses both
smooth climbs and descents.

Changed all references to glide slopes, except those that specifically
refer to a single kind (like those used for landings), to the more
general term. This also includes changing the GLIDE_SLOPE_MIN and
GLIDE_SLOPE_THR parameters to ALT_SLOPE_MIN and ALT_SLOPE_THRESH,
respectively.
2025-03-04 10:55:06 +11:00
rubenp02
b885bfadb4 SITL: Change glide slope to altitude slope
Smooth altitude changes were always referred to as "glide slopes"
despite this not being the appropriate aviation term in the case of a
climb. A better option is "altitude slope", which encompasses both
smooth climbs and descents.

Changed all references to glide slopes, except those that specifically
refer to a single kind (like those used for landings), to the more
general term. This also includes changing the GLIDE_SLOPE_MIN and
GLIDE_SLOPE_THR parameters to ALT_SLOPE_MIN and ALT_SLOPE_THRESH,
respectively.
2025-03-04 10:55:06 +11:00
rubenp02
3f11aa7bf7 Tools: Change glide slope to altitude slope
Smooth altitude changes were always referred to as "glide slopes"
despite this not being the appropriate aviation term in the case of a
climb. A better option is "altitude slope", which encompasses both
smooth climbs and descents.

Changed all references to glide slopes, except those that specifically
refer to a single kind (like those used for landings), to the more
general term. This also includes changing the GLIDE_SLOPE_MIN and
GLIDE_SLOPE_THR parameters to ALT_SLOPE_MIN and ALT_SLOPE_THRESH,
respectively.
2025-03-04 10:55:06 +11:00
Peter Barker
67cc6dd612 hwdef: use board_config names rather than numbers in hwdefs 2025-03-04 10:49:43 +11:00
Peter Barker
abec8a838e board_types.txt: add missing board IDs 2025-03-04 10:49:43 +11:00
Iampete1
b648b55640 Plane: Tiltrotor: fix has_vtol_motor function 2025-03-04 08:43:09 +11:00
Thomas Watson
89cc25ca81 AP_Filesystem: LittleFS: clarify fsync bytes logic
Studied by copying and pasting the equations into a simple program to
step through each file offset and print the results.

* The equations return nonsense results for small file positions. This
  is expected (and noted by the LittleFS author) as block 0 does not
  have any pointers according to the LittleFS design; it's entirely
  filled with data. Therefore, check and avoid calculating them when we
  know we're in the first block.

* This function always assumes we are writing a full block, so
  `block_size - block_offset <= nbytes` is always true.

* `block_size == block_offset` can never be true, `block_offset` is at
  maximum `block_size-1`. Therefore we can remove the logic to sync when
  they are equal and we will always calculate the result to be
  `block_size - block_offset`.
2025-03-03 09:24:50 -05:00
Thomas Watson
9cc6e25fd4 AP_Filesystem: LittleFS: inline fsync bytes calculation
Rename _write_offset to file_pos and blocksize to block_size. Also
remove the unused return value.
2025-03-03 09:24:50 -05:00
Julio Cesar Matias
076951f003 matrix_alg: Probable redundancy 2025-03-03 08:57:39 +09:00
co63oc
d24da9e854 ArduCopter: correct typos and mis-spellings 2025-03-03 08:47:03 +09:00
Andrew Tridgell
43bf73000f Replay: fixed --force-ekf2 in Replay
when the original log used a firmware without EKF2 compiled in then
the format messages are missing
2025-03-01 20:56:53 +11:00
Peter Barker
6602f0b085 AC_Avoidance: add missing AP_AHRS.h include 2025-03-01 10:58:24 +09:00
Julio Cesar Matias
25c5cf13de AP_AccelCal: Remove an unusable return 2025-02-28 11:00:29 +00:00
Peter Barker
f9ca319aad Plane: log throttle throttle suppressed into STAT message 2025-02-28 21:53:08 +11:00
Shiv Tyagi
e100db3596 AP_HAL_ChibiOS: use new AP_PERIPH_PWM_HARDPOINT_ENABLED define 2025-02-28 20:45:47 +11:00
Shiv Tyagi
e6e3b58f18 Tools: use new AP_PERIPH_PWM_HARDPOINT_ENABLED define 2025-02-28 20:45:47 +11:00
tompsontan
1f208d5664 AP_Bootloader: reserve board id for X-MAV-AP-F405Mini 2025-02-28 20:42:52 +11:00
EternAlmox
80c8bda2f1 hwdef: MFT-SEMA100 Change compass orientation
Changed compass orientation
2025-02-28 16:42:40 +11:00
Peter Barker
03519ac2ef hwdef: specify AUTOBUILD_TARGETS for CubeRedSecondary-IO
iofirmware is currently the only sensible target
2025-02-28 10:27:19 +11:00
Andy Piper
fba40313ce AP_Math: add get_twos_complement() from betaflight 2025-02-27 22:32:10 +00:00
Andy Piper
1b9b24e347 AP_Baro: move get_twos_complement() to AP_Math 2025-02-27 22:32:10 +00:00
Andy Piper
7b29cade3f scripts: decode SPA06 2025-02-27 22:32:10 +00:00
Andy Piper
f9f0bfe08e AP_Baro: identify SPA06 in devid 2025-02-27 22:32:10 +00:00
Andy Piper
51efee283a AP_Baro: rework SPL06 to do background updates compliant with the spec.
Pull in some bug fixes from betaflight
2025-02-27 22:32:10 +00:00
Peter Barker
ba35528150 AP_GPS: correct GNSS_MODE parameter description 2025-02-28 07:44:45 +11:00
Andy Piper
bfa40f76d8 AP_HAL_ChibiOS: SpeedyBeeF405AIO 2025-02-27 22:44:52 +11:00
Andy Piper
2f7bf34f57 bootloaders: SpeedyBeeF405AIO 2025-02-27 22:44:52 +11:00
bugobliterator
f104bd251d IO_Firmware: add iofirmware_cubered 2025-02-27 20:11:40 +11:00
bugobliterator
679fa817e6 AP_HAL: move methods for stack overflow and memguard to AP_HAL/Util
also add reboot on memory errors for iomcu
2025-02-27 20:11:40 +11:00
bugobliterator
6b668d0113 AP_InternalError: move methods for stack overflow and memguard to AP_HAL/Util 2025-02-27 20:11:40 +11:00
bugobliterator
dd5b5847f6 AP_HAL_ChibiOS: remove unused define HAL_RCIN_PULSE_PPM_ONLY from CubeRedSecondary hwdef.dat 2025-02-27 20:11:40 +11:00
bugobliterator
e63909567f AP_OSD: add option for IOMCU SerialProtocol 2025-02-27 20:11:40 +11:00
bugobliterator
d1f7695244 AP_SerialManager: add support for SerialProtocol_IOMCU 2025-02-27 20:11:40 +11:00
bugobliterator
e75f2ecf07 AP_IOMCU: ignore call to shutdown if iomcu not initialised
fixes watchdog trigger on call to trigger after enabling iomcu from disabled state
2025-02-27 20:11:40 +11:00
bugobliterator
5cd8a3a429 AP_Vehicle: set iomcu serialmanager protocol if iomcu is enabled 2025-02-27 20:11:40 +11:00
bugobliterator
430f3861fc AP_HAL_ChibiOS: use TRBUFF define instead of hardcoding 2025-02-27 20:11:40 +11:00
bugobliterator
369f59050a scripts: add cuberedsecondary-io build to IOFirmware build script 2025-02-27 20:11:40 +11:00
bugobliterator
f2f98da3ef AP_IOMCU: remove heater polarity setting for IOMCU without heater 2025-02-27 20:11:40 +11:00
bugobliterator
9933b47087 hwdef: add env variable to set IOMCU Heater feature 2025-02-27 20:11:40 +11:00
bugobliterator
4603dbc3c3 AP_HAL_ChibiOS: fix CubeRedPrimary-PPPGW build 2025-02-27 20:11:40 +11:00
bugobliterator
d117253c8f AP_HAL_ChibiOS: add CubeRedSecondary-IO hwdef.dat 2025-02-27 20:11:40 +11:00
bugobliterator
38cf0b9453 AP_IOMCU: add support for running IOFW on CubeRedSecondary 2025-02-27 20:11:40 +11:00
bugobliterator
180e74241f AP_IOMCU: add support for custom uart options and iomcu flash size 2025-02-27 20:11:40 +11:00
bugobliterator
697ee76b0e AP_IOMCU: add support for new version of Bootloader 2025-02-27 20:11:40 +11:00
bugobliterator
e832bccac9 AP_HAL_ChibiOS: add support for using hal serial as IOMCU Serial 2025-02-27 20:11:40 +11:00
bugobliterator
71e24cf42d AP_HAL_ChibiOS: add support for IOMCU on Secondary 2025-02-27 20:11:40 +11:00
bugobliterator
92adaccdc0 modules: update ChibiOS 2025-02-27 20:11:40 +11:00
Stephen Dade
7ee0232d83 AP_Scripting: Better mavlink parsing for MAVLinkHL and Rockblock 2025-02-27 11:39:56 +11:00
Shiv Tyagi
450ffd1520 AP_HAL_ChibiOS: use new AP_PERIPH_PROXIMITY_ENABLED define 2025-02-27 08:00:43 +11:00
Shiv Tyagi
e1bcd39040 Tools: use new AP_PERIPH_PROXIMITY_ENABLED define 2025-02-27 08:00:43 +11:00