Commit Graph

63818 Commits

Author SHA1 Message Date
Peter Barker
8ddac54b17 AP_InertialSensor: rename ins get_primary_accel to get_first_usable_accel 2024-06-26 17:12:12 +10:00
Peter Barker
243e095b4e AP_DAL: rename ins get_primary_accel to get_first_usable_accel 2024-06-26 17:12:12 +10:00
Peter Barker
a325ddbfa9 AP_AHRS: rename ins get_primary_accel to get_first_usable_accel 2024-06-26 17:12:12 +10:00
Leonard Hall
b45b07d539 Copter: Fix rate input frame and clarify SET_ATTITUDE_TARGET 2024-06-26 11:22:54 +10:00
Leonard Hall
7047e11090 AC_AttitudeControl: Change input_quaternion to use body frame rates 2024-06-26 11:22:54 +10:00
Peter Barker
72a1b97b4c Tools: create_OEM_board.py: include line-feeds on include lines 2024-06-26 11:17:47 +10:00
Peter Barker
87909b5187 Tools: create_OEM_board.py: include defaults.parm, don't copy it 2024-06-26 11:17:47 +10:00
Peter Barker
cd2a30ccda Tools: make create_OEM_board.py flake8-clean 2024-06-26 11:17:47 +10:00
Peter Barker
580199dfba AP_Logger: disable HAL_LOGGING_BLOCK_ENABLED if not HAL_LOGGING_ENABLED
HAL_LOGGING_DATAFLASH_ENABLED is set unconditionally in some hwdefs, but we still need to honour HAL_LOGGING_ENABLED
2024-06-25 18:32:41 +10:00
Clyde McQueen
0e6543f0e4 AP_NavEKF3: sub update for yaw reset and inFlight checks
on sub, request final yaw reset after diving 0.5m.
Also update rangefinder tests for sub
2024-06-25 18:09:37 +10:00
Andrew Tridgell
f9ee886b2e Tools: update BlitzF745AIO bootloader 2024-06-25 12:05:40 +10:00
Andrew Tridgell
ed58758ce6 hwdef: don't use DEFAULTGPIO in bootloaders
setting up a DEFAULTGPIO pulldown in bootloaders is a bad idea as it
overrides any hardware pullups that have been put in place as part of
a "hold in bootloader" mechanism. See discussion in #27360 for ELRS

note that this only impacts one board that I can see, the
BlitzF745AIO, due to the MCU vs DEFAULTGPIO interaction
2024-06-25 12:05:40 +10:00
Peter Barker
9bb343938f AP_Scripting: correct use-after-free in script statistics
run_next_script can free the script if the script runs over-time.

... so stop using data from that freed script structure!
2024-06-25 11:07:07 +10:00
Peter Barker
a77a0c22a7 autotest: add test for logged script statistics 2024-06-25 11:07:07 +10:00
Peter Barker
6bb0709b22 Tools: add Copter flight option for requiring position to arm 2024-06-25 11:06:10 +10:00
Peter Barker
180484e0a6 ArduCopter: add Copter flight option for requiring position to arm
this is not quite the same as requiring a good position to arm.
2024-06-25 11:06:10 +10:00
Peter Barker
7dd50cd036 hwdef: JHEMCU-H743HD correct for rename of W25 dataflash driver 2024-06-25 11:05:22 +10:00
Iampete1
cc99ebf872 AP_Scripting: allow logging lua boolean with uint8 format B 2024-06-25 11:01:10 +10:00
Andrew Tridgell
32750476be AP_Scripting: added more telemetry for INF Inject 2024-06-25 09:34:18 +10:00
Andrew Tridgell
b108d9cf09 AP_Scripting: added throttle and ignition control for INF_INject
allows full control over serial
2024-06-25 09:34:18 +10:00
Iampete1
44710e8576 Copter: update_target_location reject alt frame change per plane 2024-06-25 08:29:57 +09:00
TsuyoshiKawamura
a95b5bc0dc Copter: leave old_loc check instead of changing alt frame. 2024-06-25 08:29:57 +09:00
TsuyoshiKawamura
8346203d43 Copter: simplify update_target_location 2024-06-25 08:29:57 +09:00
rtos-kawamura
34748e681f Copter: simplify get_target_location
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-06-25 08:29:57 +09:00
TsuyoshiKawamura
b9bf7acbf1 AP_Scripting: add test samples of get_target_location/update_target_location for copter 2024-06-25 08:29:57 +09:00
TsuyoshiKawamura
0034a7fc30 Plane: minor comment corrections 2024-06-25 08:29:57 +09:00
TsuyoshiKawamura
5f5e0e65e0 Copter: implement get_target_location/update_target_location for lua 2024-06-25 08:29:57 +09:00
Leonard Hall
5ab2aaffff AC_Autotune: Clean up Multi Variables and non functional changes 2024-06-24 19:11:41 +10:00
Peter Barker
87d694414b AP_Beacon: use enum class for type 2024-06-24 18:24:11 +10:00
Peter Barker
b841f5517e autotest: install multiple test scripts with one call 2024-06-24 12:46:40 +10:00
Willian Galvani
9fdf52c59c Sub: motor detection mode does not require valid position 2024-06-22 23:30:52 -03:00
bugobliterator
96682b1b1b AP_Networking: add timeout to swap the UDP Server client target 2024-06-21 20:31:31 +10:00
bugobliterator
d07e8d16df AP_Networking: use IP4_STR_LEN instead of value 16 2024-06-21 20:31:31 +10:00
bugobliterator
c1ae140dcd AP_Periph: do not close if already closed 2024-06-21 20:31:31 +10:00
bugobliterator
a82729589c AP_Networking: allow UDP Server to talk to different clients on the same run 2024-06-21 20:31:31 +10:00
bugobliterator
bace8d4c85 AP_HAL: add methods that deal in ip address as uint32_t 2024-06-21 20:31:31 +10:00
bugobliterator
3c69f156f4 AP_HAL: make recv call to be undirected but also get the ip:port of received packet 2024-06-21 20:31:31 +10:00
bugobliterator
43615f22b7 AP_HAL: add AP_MAVLINK_PACKETISE_ENABLE option 2024-06-21 20:31:31 +10:00
richaravoil
d6ab080060 ArduSub: get MAV_STATE_BOOT on reboot 2024-06-20 19:25:59 -03:00
Peter Barker
11ee66fc22 Rover: remove redundant setting of optical flow bits
identical code in the parent class
2024-06-20 17:18:03 +10:00
Peter Barker
75614b8c3b autotest: add basic sensor-health test for optical flow in Rover 2024-06-20 17:18:03 +10:00
MattKear
e1a1d15f62 AP_Mount: Alexmos: Improve angle precision and move defines to cpp 2024-06-20 15:13:48 +10:00
muramura
80b1a07de3 AP_Baro: Group device headers 2024-06-20 15:13:01 +10:00
Peter Barker
1a2d940330 AP_Periph: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Peter Barker
f07ac41c65 AP_Notify: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Peter Barker
6b490a4c47 AP_HAL_ChibiOS: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Jani Hirvinen
ae465d7571 board_types.txt: add HAKRC board IDS
Adding first two hakrc flight controllers and small ID reservation for their upcoming controllers.
2024-06-20 14:46:48 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
0bbf62938a Tools: add a script to generate vehicle and version dependent apm.pdef.xml files and rsync them to the autotest server 2024-06-20 14:07:07 +10:00
Peter Barker
56a7e520b6 AP_Gripper: correct emitting of grabbed/released messages
these strigs would only be released if release() or grab were called a second time
2024-06-20 10:59:14 +10:00
Peter Barker
3630e772b1 Copter: add Copter::option_enabled(...) replacing bitops vs copter.g2.flight_options 2024-06-20 10:59:14 +10:00