Commit Graph

59518 Commits

Author SHA1 Message Date
Andrew Tridgell b612c245bd Tools: added build_peripherals.py
useful for testing that changes in AP_Periph have not broken any builds
2023-09-01 13:04:59 +10:00
Andrew Tridgell 0c38dada6c AP_Periph: re-structure peripheral code
split into separate cpp files and avoid static functions
2023-09-01 13:04:59 +10:00
Andrew Tridgell c0cd255135 hwdef: use HAL_PERIPH_ENABLE_PROXIMITY 2023-09-01 13:04:59 +10:00
Randy Mackay 9bb8df7b70 AP_Mount: Siyi supports rangefinder distance 2023-09-01 10:35:12 +10:00
Randy Mackay d5772774d1 AP_Mount: Siyi timeout moved to definition 2023-09-01 10:35:12 +10:00
Randy Mackay 23deeb3a00 AP_Mount: Siyi supports set_lens 2023-09-01 10:35:12 +10:00
Randy Mackay 74fa07ae13 AP_Mount: Siyi displays zoom version 2023-09-01 10:35:12 +10:00
Randy Mackay 9a5acec243 AP_Mount: Siyi gets improved model detection
# Conflicts:
#	libraries/AP_Mount/AP_Mount_Siyi.cpp
2023-09-01 10:35:12 +10:00
Rhys Mainwaring fa70a56a65 AP_HAL_ESP32: change storage sector size to 128K
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-09-01 10:34:27 +10:00
Andy Piper ad19321d89 AP_Bootloader: board ids for SpeedyBeeF4Mini, FlywooF4Pro, TMotorH7 2023-08-31 23:51:09 +10:00
Anthony Luo 5e5ddd8ba4 Tools: document SIM_GPS_BYTELOSS and SIM_GPS_NUMSATS 2023-08-31 16:58:06 +10:00
Anthony Luo 991e429afb SITL: document SIM_GPS_BYTELOSS and SIM_GPS_NUMSATS 2023-08-31 16:58:06 +10:00
Peter Barker 06a8dafbf5 AC_PID: tidy AC_PID construction 2023-08-31 11:09:10 +10:00
Peter Barker 70109f968c AC_AttitudeControl: tidy AC_PID construction 2023-08-31 11:09:10 +10:00
Peter Barker f8f28ee767 AP_ExternalAHRS: correct AP_ExternalAHRS init
default clause is in wrong place and shouldn't be present to start with...
2023-08-31 11:08:51 +10:00
subashchandar 3cfa13c0b2 AP_HAL_CHIBIOS: allow RCIN thread priority to be overridden
Add provision to change Rcin thread priority
-needed to increase priority for some low speed cpu
2023-08-31 09:24:05 +10:00
Randy Mackay d59ff8501c AP_Mount: Siyi loses unused definitions 2023-08-30 16:00:47 +09:00
Randy Mackay 33542c0c1d AP_Mount: Siyi absolute zoom simplification 2023-08-30 16:00:47 +09:00
Peter Barker b06921fbac AC_AttitudeControl: remove unused defines 2023-08-30 12:30:25 +10:00
Peter Barker 0bb8ec1e57 AP_ExternalAHRS: add missing includes 2023-08-30 12:26:14 +10:00
Peter Barker 9c03685400 AP_Camera: add missing includes 2023-08-30 12:26:14 +10:00
Peter Barker 1c85512f8f AP_ADSB: add missing includes 2023-08-30 12:26:14 +10:00
Iampete1 2fbc27584b AP_HAL_ChibiOS: default to 0 battery capacity on periph 2023-08-30 12:25:46 +10:00
Iampete1 73c77d0757 AP_BattMonitor: expose CAPACITY param on periph 2023-08-30 12:25:46 +10:00
Peter Barker 22141a8bc6 Tracker: handle SET_SERVO and MISSION_START as command_int+command_long 2023-08-30 12:22:15 +10:00
Peter Barker 8ee773f77d autotest: augment tracker tests to cover MISSION_START and SET_SERVO 2023-08-30 12:22:15 +10:00
Ryan Friedman cbc0043b9b AP_ExternalAHRS: Fix nullptr crash on bootup
* If you didn't set the serial port parameter correctly, but enabled MicroStrain AHRS, it would crash on boot
* This is because AP_AHRS calls update() which calls build_packet()

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2023-08-30 12:21:59 +10:00
Peter Barker e69760f51b autotest: fix flapping Rally test
when MAVProxy says "loaded" it is only refering to getting the files into its own state, not into the autopilot
2023-08-30 12:21:17 +10:00
Randy Mackay 0b04b265de autotest: quadplane AirMode test disables mag check 2023-08-30 11:17:42 +09:00
Randy Mackay 943630e53a AP_Arming: mag field check vs world magnetic model 2023-08-30 11:17:42 +09:00
Andrew Tridgell a2d5a32b4c autotest: don't warn about vcan loading 2023-08-29 15:09:48 +10:00
Andrew Tridgell 47eb597dd6 CI: don't load vcan kernel modules
not needed any more
2023-08-29 15:09:48 +10:00
Andrew Tridgell c28fa15d52 AP_Periph: fixed macos build 2023-08-29 15:09:48 +10:00
Andrew Tridgell d8c5ce4347 AP_AHRS: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 12f5448bf4 AP_Mount: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 74139423cb AP_GPS: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell e6d43811ad AP_Compass: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell f1aaf78fee AP_CANManager: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 595748d7ff AP_BattMonitor: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Andrew Tridgell 61ca0df301 waf: enable CAN on all SITL builds 2023-08-29 15:09:48 +10:00
Andrew Tridgell 3508d7eaa9 SITL: added SIM_CAN_TYPE0 and SIM_CAN_TYPE1
this selects the transport to use for CAN
2023-08-29 15:09:48 +10:00
Andrew Tridgell b6e79d05fd HAL_SITL: support multicast UDP for CAN in SITL
this will work on windows and in WSL
2023-08-29 15:09:48 +10:00
Peter Barker 624d8f3964 autotest: add test for DO_ENGINE_CONTROL 2023-08-29 11:48:24 +10:00
Peter Barker 4103d5cdb9 Plane: accept DO_ENGINE_CONTROL as both COMMAND_LONG and COMMAND_INT 2023-08-29 11:48:24 +10:00
Peter Barker 4317a40fef autotest: remove generation of defaults files
these were never particularly useful, and now we can actually retrieve the defaults from the running vehicle, so this is even less useful.
2023-08-29 11:40:03 +10:00
Randy Mackay c733872435 RC_Channel: add camera functions to RC init 2023-08-29 11:34:51 +10:00
Randy Mackay a8057f0157 AP_Mount: DEVID made writeable 2023-08-29 11:34:51 +10:00
Randy Mackay 6a14c1f72f AP_Mount: Viewpro fix for date sent from autopilot 2023-08-29 11:34:51 +10:00
Peter Barker fe512f7074 GCS_MAVLink: handle servo/relay events as both command_long and command_int 2023-08-29 11:15:14 +10:00
Peter Barker d197ad6a90 autotest: augment relay tests to run as cmd_int, and more messages 2023-08-29 11:15:14 +10:00