Commit Graph

57164 Commits

Author SHA1 Message Date
Peter Barker
d80449ac13 AP_Arming: correct IMU accel consistency check 2023-02-24 09:21:42 +11:00
Peter Barker
421c382bcc autotest: add test for accel consistency check 2023-02-24 09:21:42 +11:00
Peter Barker
8ce904559d autotest: correct armable time calculation 2023-02-24 09:21:42 +11:00
Peter Barker
2e987b3b35 AP_Mount: rename local _chan to chan in Gremsy methods
based on PR feedback
2023-02-24 09:21:09 +11:00
Peter Barker
035f49c248 GCS_MAVLink: add method to get link (not just channel number) for mavtype and compid 2023-02-24 09:21:09 +11:00
Peter Barker
550d94f99f AP_Mount: correct double-mapping of port to channel number
set_message_interval takes a port number, not a channel number (it was originally written as an internal function, after all).  Before this patch we were double-mapping from one to the other.  That works so long as the port you are mapping also corresponds to the chanel number - which it will, for example, if you are using serial2 with both serial0 and serial1 also set to mavlink.  If you set serial5_protocol to 2 an attempt to use it for controlling a gremsy it will *not* work because we map into backwards twice.
2023-02-24 09:21:09 +11:00
Tom Pittenger
54e56beba8 AP_Scripting: fix doc warnings 2023-02-23 13:07:08 -08:00
Richard Allen
90cbb6ad26 AP_HAL_Linux: Update GPIO and RCInput for pi version change
Update version numbers according to earlier change.

Fixes: 53c1c235b8
2023-02-22 21:10:04 -08:00
Richard Allen
693068e68a AP_HAL_Linux: more rpi initialization checks
Check more mmap() call sites for failure and exit.
Also exit when starting on an unknown board.
2023-02-22 21:10:04 -08:00
Tom Pittenger
7a6f398668 Plane: add TKOFF_GND_PITCH 2023-02-23 11:12:39 +11:00
James O'Shannessy
b5e17bfc5d AP_HAL_ChibiOS: Fix half-duplex serial on L431 periph nodes 2023-02-23 08:53:40 +11:00
Tom Pittenger
f96a3176ab autotest: more jumptag test 2023-02-22 05:33:38 -08:00
Peter Barker
20279417e8 autotest: more tests for jump tags 2023-02-22 05:33:38 -08:00
Peter Barker
edb301a4d0 autotest: add tests for JumpToTag 2023-02-22 05:33:38 -08:00
Tom Pittenger
28f4ac7bbc AP_Mission: add Jump_TAG support 2023-02-22 05:33:38 -08:00
Tom Pittenger
b5bbcffaac GCS_MAVLink: add GCS handling of DO_JUMP_TAG 2023-02-22 05:33:38 -08:00
Tom Pittenger
617da9a873 Tools/autotest: add JUMP_TAG support 2023-02-22 05:33:38 -08:00
Peter Barker
362a0cb6c6 AP_Bootloader: save some space by using iterators rather than ARRAY_SIZE
... this is important on 16kB bootloaders!
2023-02-22 19:41:49 +11:00
Peter Barker
1cb4bc223d AP_HAL_ChibiOS: entirely remove check_limit_flash_1M if not needed
taking up valuable space on non-F427 boards
2023-02-22 19:41:49 +11:00
Peter Barker
5b6b18803e Tools: add and use AP_COMPASS_MMC5XX3_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
1889d3dea5 AP_Compass: add and use AP_COMPASS_MMC5XX3_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
47c48775ed Tools: add and use AP_COMPASS_RM3100_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
69bc24bc16 AP_Compass: add and use AP_COMPASS_RM3100_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
aa7932e65a Tools: use AP_COMPASS_EXTERNALAHRS_ENABLED more
Also rename driver name from serial to externalahrs for consistency
2023-02-22 19:40:13 +11:00
Peter Barker
c47a698edd AP_ExternalAHRS: honour AP_COMPASS_EXTERNALAHRS_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
2c93b7809c AP_Compass: use AP_COMPASS_EXTERNALAHRS_ENABLED more
Also rename driver name from serial to externalahrs for consistency
2023-02-22 19:40:13 +11:00
Peter Barker
bd33f5894b Tools: add and use AP_COMPASS_MAG3110_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
aac6228f58 AP_Compass: add and use AP_COMPASS_MAG3110_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
3173c92417 Tools: add and use AP_COMPASS_QMC5883L_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
89a9636c46 AP_Compass: add and use AP_COMPASS_QMC5883L_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
4a44b6af86 AP_UAVCAN: AP_Compass_UAVCAN may not be enabled 2023-02-22 19:40:13 +11:00
Peter Barker
f7fc5cd947 Tools: build_options.py: add AP_COMPASS_UAVCAN_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
60ff9182b2 Tools: add and use AP_COMPASS_MMC3416 2023-02-22 19:40:13 +11:00
Peter Barker
b6e2586f50 AP_Compass: add and use AP_COMPASS_MMC3416 2023-02-22 19:40:13 +11:00
Peter Barker
927055784d Tools: add and use AP_COMPASS_ICM20948_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
ee6b44113d AP_Compass: add and use AP_COMPASS_ICM20948_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
648fe94d2e Tools: add and use AP_COMPASS_AK09916_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
ad9521c1c4 AP_Compass: add and use AP_COMPASS_AK09916_ENABLED 2023-02-22 19:40:13 +11:00
Peter Barker
1abce258e4 AP_Compass: mark all_external as used even if it is not 2023-02-22 19:40:13 +11:00
Peter Barker
430f19222a AP_Compass: don't define driver backend type if it is not compiled in
Catches places where code isn't disabled properly
2023-02-22 19:40:13 +11:00
Iampete1
f7a14a58fd AP_Scripting: luacheck: check globals 2023-02-22 19:36:02 +11:00
Iampete1
eefa3b1ce4 Plane: move training mode function to mode training 2023-02-22 19:26:59 +11:00
Iampete1
f6b0c3775c Plane: move mode acro functions to mode acro 2023-02-22 19:26:59 +11:00
Reilly Callaway
9097f51698 AP_PiccoloCAN: Fix ESC voltage and current telem scaling 2023-02-22 18:40:12 +11:00
Andy Piper
35e18db28b bootloaders: update MambaF405-2022 to include VTX pwoer 2023-02-22 18:38:10 +11:00
Andy Piper
558ba47e7e AP_HAL_ChibiOS: enable VTX power on MambaF405 2022 2023-02-22 18:38:10 +11:00
Randy Mackay
5fc322b327 AP_Scripting: add djirs2 driver parameter descriptions 2023-02-22 18:08:27 +11:00
Randy Mackay
c80c4adf3e AP_Scripting: djirs2 driver supports upsidedown setup 2023-02-22 18:08:27 +11:00
Randy Mackay
4918bb4705 AP_Scripting: djirs2 driver minor comment fix 2023-02-22 18:08:27 +11:00
Andy Piper
3cca401af8 AP_InertialSensor: calculate backend sample rates on ICM45686 correctly 2023-02-22 18:06:46 +11:00