Commit Graph

62946 Commits

Author SHA1 Message Date
Gone4Dirt 853bfbf64d AP_Periph: Add support for up to two rangefinders 2024-04-17 17:06:42 +10:00
Andrew Tridgell dce2492321 AP_NavEKF3: use filtered gyro in INS position correction
this reduces the impact of IMU noise on the output velocity from the
EKF
2024-04-17 14:53:59 +10:00
Andrew Tridgell eed50a0872 AP_DAL: change gyro filter to 10Hz
this improved EKF3 IMU position correction for noise
2024-04-17 14:53:59 +10:00
Peter Barker fe9fcf445e Tools: stop emitting debug as part of test_build_options.py 2024-04-17 14:06:24 +10:00
Peter Barker d0a7e70d0f autotest: correct format string in error path
name is a string, not an integer
2024-04-17 11:57:11 +10:00
Clyde McQueen 52a9bb7792 AP_Baro: disable BARO_FIELD_ELV for sub 2024-04-17 10:37:16 +10:00
Peter Barker 7f61acedd3 autotest: add test for Copter compassmot 2024-04-16 19:14:38 +10:00
Peter Barker 5b69ff6e65 Copter: send RC_CHANNELS in SITL in compassmot loop
When setting an RC value in autotest, we require the change to appear in this message
2024-04-16 19:14:38 +10:00
Peter Barker d198c3e13d Copter: emit system time during compassmot on SITL
the autotest framework heavily relies on system_time being emitted -
because we're not running the main loop during compassmot it gets stuck
if we don't do this
2024-04-16 19:14:38 +10:00
Peter Barker 44359ff6b2 AP_Common: add get_alt - 100 times better than get_alt_cm 2024-04-16 19:14:12 +10:00
Peter Barker 423198cef0 AP_Frsky_Telem: avoid manipulation of alt frames outside of Location object 2024-04-16 19:14:12 +10:00
Leonardo Garcia 7d00c77e48 bootloaders: Support for 3DR Control Zero H7 OEM rev G 2024-04-16 14:10:13 +10:00
Leonardo Garcia 763193d4fc AP_HAL_ChibiOS: Support for 3DR Control Zero H7 OEM rev G
Co-authored-by: Alexis Guijarro <totonzx@gmail.com>
Co-authored-by: Andy Piper <github@andypiper.com>
2024-04-16 14:10:13 +10:00
muramura 0f0023e62d Copter: Get the flight mode name display from the name method 2024-04-16 09:08:35 +09:00
Peter Barker cd9aa0e3ed AP_GPS: remove dedundant crc32 routine from Nova 2024-04-16 10:02:47 +10:00
pieniacy 41474f862f Plane: Fix FBWB/CRUISE missing zero crossing of elevator input 2024-04-16 09:53:00 +10:00
Peter Barker b95bd8f19d AP_AHRS: remove call to get_home()
this is our object, we don't need permission
2024-04-16 08:47:15 +09:00
Peter Barker 6ef131c0f9 SITL: correct diagnostic message about what AirSim-in addr we bound
Co-authored-by: Oleksiy Protas <elfy.ua@gmail.com>
2024-04-16 09:31:20 +10:00
Andrew Tridgell 72f87edfb4 Tools: added DroneCAN dependencies
See this report:

https://discuss.ardupilot.org/t/after-upgrading-the-aircraft-version-above-4-4-0-the-parameters-of-mnt-cannot-be-found
2024-04-16 09:23:34 +10:00
Henry Wurzburg f15f23d153 Tools: add MicoAir405Mini 2024-04-16 09:21:23 +10:00
Henry Wurzburg 5c4aeddae7 AP_HAL_ChibiOS: add MicoAir405Mini 2024-04-16 09:21:23 +10:00
Brad Bosch 6538e8c9ae GCS_MAVLink: Cleanup and Reduce chance of GCS FTP timeout
Delete unneeded orphan comment
replace get_last_txbuf() with a predicate
Make txbuf flow control threashold consistent between Parameter download and FTP and keep it in range where we are also slowing down normal streams
Delay sending text banner until after first FTP response to reduce latency on slow links
Don't let flow control delay setting ftp.last_send_ms so as to slow down normal streams as soon as possible to improve FTP response time
2024-04-16 09:16:52 +10:00
Brad Bosch bbfb0ed001 GCS_MAVLink: Make get_last_txbuf() safer
Add check for stale radio_status to get_last_txbuf()
Move last_txbuf into last_radio_status struct
2024-04-16 09:16:52 +10:00
Brad Bosch 0e47599bb1 GCS_MAVLink: respect txbuf flow control for FTP messages
This gives slow radio links a fighting chance of getting FTP bulk download working even when they use a baud rate which is much higher than their current bandwidth.

This should eliminate the need to disable FTP for parameter download on slow to moderate speed radio links like mLRS and ELRS.  It allows removal of a hack in mLRS which results in a decrease in parameter download time for 19 Hz mLRS from 45-60 seconds to 11-17 seconds.  This should also be good news for the ELRS rc-mavlink branch.
2024-04-16 09:16:52 +10:00
Oleksiy Protas cadd121401 Bounds correctness for AnalogIn_IIO 2024-04-16 09:14:55 +10:00
FOG_Yamato ac86bd8d21 hwdef: bdshot version of the MatekF765-SE 2024-04-16 09:13:43 +10:00
Peter Barker d964d7f311 autotest: allow frame to be specified when creating simple missions 2024-04-15 16:57:09 +10:00
Peter Barker 5a21d0cb8a AP_Camera: correct compilation when HAL_MOUNT_SET_CAMERA_SOURCE_ENABLED not set
- need the include because an enumeration is used in the header (relied on the include previously being made by a file including this header)
 - set_lens is not part of set-camera-source, so shouldn't be excluded
 - exclude entire method, not body of method based on the include
2024-04-14 13:33:00 +10:00
Peter Barker a4ec91c4f1 AP_Follow: use Location.change_alt_frame for what it is good for 2024-04-14 13:29:58 +10:00
Peter Barker cf3cceff68 autotest: add test for GuidedModeThrust 2024-04-14 13:26:36 +10:00
Peter Barker 5de6e20ecd Copter: factor out methods for guided-mode commands 2024-04-14 13:19:07 +10:00
Andrew Tridgell 1cafe25854 AP_Scripting: improve INF inject driver
make it more robust to serial errors, and support correct checksum
2024-04-14 07:19:40 +10:00
Peter Barker 77cccd08a3 autotest: add test for moving from loiter to guided 2024-04-13 08:34:42 +09:00
Peter Barker 3be1b9efa6 autotest: add set_home function 2024-04-13 08:34:42 +09:00
Clyde McQueen 50015b4196 autotest: reduce SITL baro noise 2024-04-12 14:07:12 -03:00
Tim Tuxworth 495726344c AP_Mount: Do not override default mode when first connecting to RC 2024-04-12 12:18:33 +09:00
Peter Barker 860498d30e Sub: remove redundant home_is_set check
this is already guaranteed to be the case
2024-04-11 20:24:16 -03:00
Peter Barker 43995763db AP_Camera: stop adjusting logged altitudes manually, use location methods 2024-04-11 22:39:09 +10:00
Peter Barker 0f913b5bdf autotest: add test altitudes in camera log messages are correct 2024-04-11 22:39:09 +10:00
Peter Barker d1a1bcba19 RC_Channel: process only transitions after rc is valid for arm_emergency_stop switch and parachute deploy switch 2024-04-11 22:17:08 +10:00
Andy Piper 904f1dffa7 AP_Bootloader: board ids for iFlight boards 2024-04-11 22:16:38 +10:00
Peter Barker c578a18b7f autotest: add test for compass_learn=3 when using gps-for-yaw 2024-04-11 20:49:03 +10:00
Andy Piper 563d31b1ea AP_HAL_ChibiOS: fixups for FoxeerF405v2 2024-04-11 18:38:08 +10:00
BloodSakura3774 9c87156266 board_types.txt: Reserving board id for sakurarc h743 2024-04-11 18:36:00 +10:00
Hubert 24cfe60df3 board_types.txt: Reserve ID for MicoAir405Mini 2024-04-11 18:35:51 +10:00
Peter Barker cddc590b8b Copter: move #ifs to outside case statements in do_aux_function
this means a user will get a warning if they try to run a function and it isn't supported
2024-04-11 18:35:27 +10:00
Thomas Frans d52f49ec36 AP_GPS: SBF report correct satellite count on NrSV DNU value
When the NrSV field of the SBF PVTGeodetic message contains the
Do-Not-Use value of 255, set the satellite count to 0 instead of
ignoring the change.
2024-04-11 18:35:16 +10:00
muramura a9d0bf856e AP_Mount: Do not perform unnecessary processing 2024-04-11 18:35:01 +10:00
Hubert 2c267f462d board_type.txt: Reserve an ID for NxtPX4v2 2024-04-11 18:34:51 +10:00
murata f605c0fbe3 RC_Channel: Notify function error if ADS-B is not implemented 2024-04-11 13:12:22 +10:00