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
George Zogopoulos
5ca8c0058c
AP_TECS: Small legibility improvements
...
AP_TECS: Fixed bad whitespace
2024-06-20 09:12:50 +10:00
George Zogopoulos
9a3f6ae9c7
AP_Math: Created CentiDegreesToRadians
2024-06-20 09:12:50 +10:00
Siddharth Bharat Purohit
f89923fcbe
AP_HAL_ChibiOS: mark CONS RX/TX as NC for ADSB Carrier board
2024-06-19 19:09:36 +10:00
bugobliterator
9c85193d15
bootloaders: update CubeRedPrimary_bl
2024-06-19 19:09:10 +10:00
bugobliterator
04879d2c42
AP_HAL_ChibiOS: add passthrough from secondary through primary while in bootloader
2024-06-19 19:09:10 +10:00
bugobliterator
e64dfa4d58
AP_Bootloader: add support for secondary FC bootloader to appear on second USB endpoint
2024-06-19 19:09:10 +10:00
Peter Barker
e34c91d1aa
Copter: tidy use 'else if' to avoid unnecessary complication in location arm checks
2024-06-19 17:27:37 +10:00
robot-to-society
b86094978d
Mission: add is_resume method
2024-06-19 17:12:17 +10:00
robot-to-society
49ba800f88
Rover: resetting reversed flag more generally
2024-06-19 17:12:17 +10:00
bugobliterator
b93ba1ae68
waf: add support for generating compile_commands.json
2024-06-19 17:11:46 +10:00
Simon Hancock
7d2000f3d5
ArduPlane: Add help for QPOS log message
2024-06-19 17:08:17 +10:00