Commit Graph

31804 Commits

Author SHA1 Message Date
Peter Barker
4591895540 SITL: add gyro bias simulation 2023-02-24 09:21:42 +11:00
Peter Barker
601c46f7e0 AP_InertialSensor: add gyro bias simulation 2023-02-24 09:21:42 +11:00
Peter Barker
c3e79c9865 AP_Arming: correct IMU gyro consistency check 2023-02-24 09:21:42 +11:00
Peter Barker
d80449ac13 AP_Arming: correct IMU accel consistency check 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
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
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
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
1889d3dea5 AP_Compass: add and use AP_COMPASS_MMC5XX3_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
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
aac6228f58 AP_Compass: add and use AP_COMPASS_MAG3110_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
b6e2586f50 AP_Compass: add and use AP_COMPASS_MMC3416 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
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
Reilly Callaway
9097f51698 AP_PiccoloCAN: Fix ESC voltage and current telem scaling 2023-02-22 18:40:12 +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
bugobliterator
7f32a756bb AP_HAL_ChibiOS: change the order of icm45686 and icm20649 2023-02-22 18:06:46 +11:00
bugobliterator
5680c411e9 AP_InertialSensor: can check icm45686 RTC_CONFIG reg because reserved value changes 2023-02-22 18:06:46 +11:00
bugobliterator
ef9e264919 AP_InertialSensor: set default data rate to 3.2kHz for ICM-45686 2023-02-22 18:06:46 +11:00
bugobliterator
b20ffce39d AP_InertialSensor: add soft reset, clkin for icm45686 and other fixes 2023-02-22 18:06:46 +11:00
Andy Piper
5fc9f6d469 AP_HAL_ChibiOS: enable ICM45686_CLKIN on CubeOrangePlus 2023-02-22 18:06:46 +11:00
Andy Piper
727aa02c26 AP_InertialSensor: correct register setup for ICM45686, make CLKIN optional 2023-02-22 18:06:46 +11:00
Andy Piper
4aafb3ab71 AP_InertialSensor: fast sampling for ICM45686
Fix accel scale on ICM45686
2023-02-22 18:06:46 +11:00
Tom Pittenger
5608dbe0f0 AP_BattMonitor: refactor Option param usage 2023-02-21 16:30:19 -08:00
Henry Wurzburg
ab6886f056 RC_Channel:fix code formatting 2023-02-22 08:57:15 +11:00
Stephen Dade
0b048b4b42 AP_Scripting: Add Mavlink example 2023-02-21 22:32:32 +11:00
Stephen Dade
d4bb4e4526 AP_Scripting: Add lua scripts for Rockblock modem 2023-02-21 22:32:32 +11:00
Stephen Dade
0d8fedd2d5 AP_Scripting: Add bindings for throttle and frame type 2023-02-21 22:32:32 +11:00
Stephen Dade
a3cdfd0e3c AP_Scripting: Add high latency MAVLink control 2023-02-21 22:32:32 +11:00
Stephen Dade
a39a933cbd GCS_Mavlink: Move high_latency_link_enabled to GCS 2023-02-21 22:32:32 +11:00
Peter Barker
d7357a3330 AP_Airspeed: add get_calibration_state in dummy driver 2023-02-21 17:07:41 +11:00
Peter Barker
8b38cc671a GCS_MAVLink: add in-progress to formatsdcard process 2023-02-21 17:07:41 +11:00
Peter Barker
d633bd3f49 AP_Filesystem: add in-progress to formatsdcard process 2023-02-21 17:07:41 +11:00