Commit Graph

35568 Commits

Author SHA1 Message Date
Ryan Friedman 3cb4d2ec3b AP_ExternalAHRS: Populate orientation from filter
* Populating AHRS orientation from IMU was not correct

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-03-15 18:11:22 +11:00
Peter Barker aefa41f22a SITL: correct compilation on g++-7.5.0
.cpp: In member function void SITL::ShipSim::send_report():
BB-WAF: /mnt/volume_nyc3_01/autotest/APM/APM/libraries/SITL/SIM_Ship.cpp:189:42: sorry, unimplemented: non-trivial designated initializers not supported
BB-WAF:          autopilot : MAV_AUTOPILOT_INVALID};
BB-WAF:                                           ^
BB-WAF: compilation terminated due to -Wfatal-errors.
BB-WAF:
BB-WAF: Waf: Leaving directory `/home/autotest/build/tmp/binaries.build/SITL_x86_64_linux_gnu'
2024-03-15 18:10:53 +11:00
Minderring b316b3ab46 hwdef: added MicoAir405v2 2024-03-15 13:04:29 +11:00
Andy Piper 1e0d271fef AP_HAL_ChibiOS: always normalize ESC channel when using iomcu 2024-03-14 06:40:04 +11:00
Tom Pittenger 12f32707b3 AP_Rangefinder: fix (very) out-of-range lidar causing float inf 2024-03-13 12:02:10 -07:00
Tom Pittenger 9feccd6671 AP_HAL_Chibios hwdef script: remove h747 adc duplicate pin definitions 2024-03-13 18:52:05 +11:00
Randy Mackay 9b981cc7f3 AP_HAL_ChibiOS: CubeRedSecondary IMU orientation fix
Also remove duplicate RC_IN serial protocol
2024-03-13 18:51:18 +11:00
Andrew Tridgell 6a8130e8ba AP_Scripting: prevent "Starting XXX tune" happening multiple times
when filter setting disabled
2024-03-13 16:14:22 +09:00
Rhys Mainwaring c173b3f186 AP_DDS: add missing config include in client and type_conversions
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-03-13 17:06:03 +11:00
Rhys Mainwaring 7c50b34ad2 AP_DDS: update topics in README
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-03-13 17:05:15 +11:00
Rhys Mainwaring 88a4d6848a AP_DDS: publish gps global origin
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-03-13 17:05:15 +11:00
Rhys Mainwaring 5dc9366cea AP_DDS: add GeoPointStamped.idl
- Required for publishing the global position origin.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-03-13 17:05:15 +11:00
Rhys Mainwaring dac291c762 AP_DDS: use msg_prefix in GCS_SEND_TEXT
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-03-13 10:32:31 +11:00
Rhys Mainwaring 84e4a94ae7 AP_DDS: use microxrcedds_gen default-container-prealloc-size
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-03-13 10:32:31 +11:00
Rhys Mainwaring 3cb81b2e81 AP_DDS: remove unused TFMessage variable
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-03-13 10:32:31 +11:00
Stephen Dade faf2ae3a9c GCS_MAVLink: filter out additional messages for High Latency link 2024-03-12 21:13:47 +11:00
Patrick José Pereira 84a5a52351 AP_Compass: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Patrick José Pereira ce9fa18800 AP_HAL_ChibiOS: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Patrick José Pereira 8fa4d6200c AP_HAL: Turn hold_in_bootloader default as false in reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Patrick José Pereira 20d4b1e53f AP_OSD: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Patrick José Pereira 16926a2df8 AP_Vehicle: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Patrick José Pereira 3c095706ca DroneCAN_sniffer: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Patrick José Pereira 5b1cac268b INS_generic: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Peter Barker 8ab3b0db37 AP_GPS: correct update_primary check
takes an instance, not a type
2024-03-12 20:50:18 +11:00
Andrew Tridgell 9a092e4e3a AP_Arming: added arming check for fence storage 2024-03-12 11:43:36 +11:00
Andrew Tridgell 0e6a32a3e2 AC_Fence: allow for fence storage on microSD 2024-03-12 11:43:36 +11:00
Andrew Tridgell 95ee2c437e AP_BoardConfig: added BRD_SD_FENCE
allow for fence storage on microSD
2024-03-12 11:43:36 +11:00
Andrew Tridgell a444004a8a AP_BattMonitor: added MAX_AMPS and SHUNT parameters for INA239
allows for a wider range of current
2024-03-12 11:15:10 +11:00
Iampete1 8a06ee4cf6 AP_Gernerator: IE 2400: MAV_SEVERITY level depends on error code 2024-03-12 11:05:21 +11:00
Andrew Tridgell b9fbc7d809 AP_Scripting: support precision loiter in quadplanes
and allow for moving landing target
2024-03-12 10:45:56 +11:00
Andrew Tridgell c34e4907fe SITL: added moving precland simulator
added SIM_PLD_SHIP to make the precland location track the SIM_SHIP
location, giving a nice way of having a landing marker on a moving
ship
2024-03-12 10:45:56 +11:00
Andy Piper 2f246b7638 AP_RCProtocol: add CRSF binding API 2024-03-12 10:16:08 +11:00
Andy Piper cd6ed219f7 AP_RCTelemetry: add CRSF binding API 2024-03-12 10:16:08 +11:00
Iampete1 fdfdbe8d13 GCS_MAVLink: Routing: forward ADSB if local ADSB parsing is disabled 2024-03-12 09:36:15 +11:00
Andy Piper 3f681e4626 AP_HAL_ChibiOS: BlitzF745AIO update to ICM-42688
enable OSD
use minimal FPV config
enable compass probing
pull uart pins high in bootloader for ELRS
2024-03-12 09:26:58 +11:00
Peter Barker ce04d69d53 AP_NavEKF3: correct compilation in SITL when logging is disabled
this code is gated on HAL_BOARD_SITL already, and usually we have logging in SITL.  But not always
2024-03-12 09:25:17 +11:00
Peter Barker 34603bbfd0 SRV_Channel: add define for SRV_Channels being compiled in or not 2024-03-12 09:10:22 +11:00
Peter Barker e22a00680b AP_Vehicle: correct define around SRV_Channels init call 2024-03-12 09:10:22 +11:00
Peter Barker a77a894b8a AP_HAL_SITL: correct define around use of RC singleton
... you may not be a periphs and *still* not have RC...
2024-03-12 09:09:21 +11:00
Peter Barker 3e529a241b AP_Camera: add HAL_GCS_ENABLED to mavlink2 backend dependencies 2024-03-12 09:07:56 +11:00
Iampete1 8d7052887c AP_Filesystem: fixup AP_FILESYSTEM_FILE_WRITING_ENABLED comment 2024-03-12 08:52:38 +11:00
Iampete1 90ad109047 AP_Scripting: Only try to make scripts directory if file write and directory is enabled 2024-03-12 08:52:38 +11:00
Peter Barker 466b4b6c2e AP_GPS: create convenience methods is_rtk_base and is_rtk_rover 2024-03-12 08:51:11 +11:00
Peter Barker b4f5d49adb AP_GPS: remove redundant check
get_type has this sanity check
2024-03-12 08:51:11 +11:00
Peter Barker 093709cbe3 AP_GPS: avoid use of _type
some of these methods are taking the instance in externally.  Protect by using get_type
2024-03-12 08:51:11 +11:00
Peter Barker 8ed1b02301 AP_RCProtocol: move support for SFML joysticks down into AP_RCProtocol 2024-03-12 08:48:35 +11:00
Peter Barker 7d8e58ea17 AP_HAL_SITL: move support for SFML joysticks down into AP_RCProtocol 2024-03-12 08:48:35 +11:00
Iampete1 93de68e060 AP_Arming: OPTIONS parameter is a bitmask 2024-03-12 08:28:06 +11:00
Peter Barker 6534a9657c AP_Proximity: cope with AP_OADATABASE_ENABLED being false 2024-03-11 18:07:18 +11:00
Peter Barker e4ff1a97d5 AP_Proximity: cope with AP_AVOIDANCE_ENABLED being false 2024-03-11 18:07:18 +11:00