Commit Graph

62947 Commits

Author SHA1 Message Date
murata
f605c0fbe3 RC_Channel: Notify function error if ADS-B is not implemented 2024-04-11 13:12:22 +10:00
Peter Barker
b849fbbcca Copter: autoyaw: correct units returned by look_ahead_yaw
there are other methods on the autoyaw object which make it clear that they're working in cd, and others in there that work in degrees.  This method doesn't specify cd yet returns in that unit.

Change the method and state variable to store in degrees (as our naming standards suggest)
2024-04-11 10:24:58 +10:00
Henry Wurzburg
6b5bb4e864 hwdef:add BIDIR to MatekH7A3 2024-04-11 10:17:43 +10:00
Peter Barker
18850fdd1f ArduCopter: add option to flight mode pause/resume via aux function 2024-04-11 10:17:35 +10:00
Peter Barker
468158e0f9 RC_Channel: add option to flight mode pause/resume via aux function 2024-04-11 10:17:35 +10:00
mateksys
74e7132bd3 hwdef: add MatekH7A3 readme.md 2024-04-11 10:17:17 +10:00
Peter Barker
f9e95be590 autotest: use defaults file to set speedup
this solves a problem where after a reboot the vehicle runs fast because we honour the --speedup parmeter over the SIM_SPEEDUP parameter.
2024-04-11 10:17:00 +10:00
Peter Barker
c59e96cc15 autotest: remove unused unit conversion methods 2024-04-11 10:17:00 +10:00
Randy Mackay
065c7c6d9b Tools: locations.txt gets Kaga athletic stadium 2024-04-11 09:01:50 +09:00
Andrew Tridgell
5e3f26744a Plane: drop min Q_TRANSITION_MS to 500ms
Rolf makes a good argument for why some quadplanes need less than 2s
2024-04-11 07:16:15 +10:00
Peter Barker
f83cde7760 GCS_MAVLink: correct spelling of dereferecing 2024-04-10 21:56:52 +10:00
Peter Barker
292ad8678a AP_Arming: force user to ack crashdump or get prearm failure 2024-04-10 21:56:52 +10:00
Andrii Fil
a83c29cd67 ArduPlane: optional (CHUTE_OPTIONS:1) disarm defore parachute release 2024-04-10 21:55:51 +10:00
Andrii Fil
6ae12729da ArduCopter: optional (CHUTE_OPTIONS:1) disarm defore parachute release 2024-04-10 21:55:51 +10:00
Andrii Fil
ed6ddf725d AP_Parachute: optional (CHUTE_OPTIONS:1) disarm defore parachute release 2024-04-10 21:55:51 +10:00
madhunm
0a1d9b06b5 Added board IDs for Eagle Eye Drones 2024-04-10 21:55:21 +10:00
Hubert
4893f1303c hwdef: correct hwdef for MicoAir405v2
Update hwdef: DMA allocation and LED mapping
Update README: UARTs DMA allocation
Update defaults.parm: GPS low baudrate
2024-04-10 21:55:01 +10:00
Peter Barker
cd8f081611 AP_NavEKF: correct setting of _filled
Co-authored-by: luweiagi <luweiagi@163.com>
2024-04-10 21:53:54 +10:00
Peter Barker
99f5e74a8e AP_NavEKF: correct initialisation of ekf_imu_buffer
this init() call can be called on an existing buffer, in which case we clear the object.

Presumably since we've just zeroed all the elements its safe to say that we should mark the object as having never-been-filled
2024-04-10 21:53:54 +10:00
Peter Barker
8452f5f0cd AP_NavEKF: add tests for ekf_imu_buffer 2024-04-10 21:53:54 +10:00
Peter Barker
42c4329d4c RC_Channel: require RC switch position transition for arming
currently if you turn your transmitter on at runtime we may try to arm the vehicle if your arming switches are asserted.

This patch changes things to we don't trust the first position seen from an RC receiver - we must see a transission for the arming options
2024-04-10 21:53:23 +10:00
Peter Barker
1ed388c2e6 Tools: add test for ArmingSwitch after reboot 2024-04-10 21:53:23 +10:00
Peter Barker
021d637edc Copter: make landing-detector-disarm-logic clearer 2024-04-10 21:52:58 +10:00
Peter Barker
800a834740 autotest: add test for PILOT_THR_BHV parameter 2024-04-10 21:52:58 +10:00
richaravoil
d63307f881 Tools : add a script to make an OEM setup 2024-04-10 21:52:39 +10:00
Peter Barker
f55c35487b AP_VisualOdom: correct unused variable in visualodom
when both logging and gcs are compiled out
2024-04-10 21:52:28 +10:00
Cedric0489
ef044e39e9 Tools: reserve ID for PixPilot-V6PRO 2024-04-10 21:52:18 +10:00
Andrew Tridgell
739d4a7fc8 hwdef: the RM3100 should run at max 1MHz on SPI bus 2024-04-10 21:40:51 +10:00
Alexis Guijarro
a50c19f622 mRo Control Zero Classic: Added ADC input for servo rail 2024-04-10 19:01:51 +10:00
Thomas Watson
319d1a794f Blimp: unmark FORMAT_VERSION as read-only
Matches other vehicles and allows GCSes to use documented behavior of a
zero write to FORMAT_VERSION to reset EEPROM contents.
2024-04-10 17:45:37 +10:00
Thomas Watson
58c51f9fe6 Sub: unmark FORMAT_VERSION as read-only
Matches other vehicles and allows GCSes to use documented behavior of a
zero write to FORMAT_VERSION to reset EEPROM contents.
2024-04-10 17:45:37 +10:00
Thomas Watson
d5a25d7c89 Copter: unmark FORMAT_VERSION as read-only
Matches other vehicles and allows GCSes to use documented behavior of a
zero write to FORMAT_VERSION to reset EEPROM contents.
2024-04-10 17:45:37 +10:00
Peter Barker
39c87c0b1b Plane: call update_loiter before determining whether to fly home or not
we are calling "reached_loiter_target" as part of our checks as to whether to fly home or not.

We need to call update_loiter so the L1 controller can update its internal state for the new waypoint which do_RTL has set.  Depending on location (but typically), that will mean that L1's reached_loiter_target() will then return false, so we fly home.

This bug was affected by f8d7be5e43 .  Any sort of altitude error greater than 10m would delay us entering the landing sequence, allowing the L1 controller to update its state.
2024-04-10 17:44:25 +10:00
Peter Barker
ae3c74b8d9 autotest: add a test for RTL_AUTOLAND=1 behaviour 2024-04-10 17:44:25 +10:00
Peter Barker
b03b8309ef AP_GPS: copy GPS metadata in for pre-per-instance-parameters
allows to not break older firmware in terms of available metadata
2024-04-10 16:37:35 +09:00
Peter Barker
0e6bca92f7 AP_HAL_ChibiOS: remove redundant lines from hwdef files 2024-04-10 17:28:48 +10:00
Peter Barker
335db007e9 Blimp: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker
3443e1c12f ArduSub: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker
0c2636c191 ArduCopter: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker
daf6bca778 AP_Periph: correct compilation when HAL_GCS_ENABLED 2024-04-10 17:11:34 +10:00
Randy Mackay
61b4439d95 Rover: rename release notes 2024-04-10 17:11:13 +10:00
Randy Mackay
415a8d98cb Tracker: fix release note duplication 2024-04-10 17:11:13 +10:00
muramura
d4236a95c4 tools: change a word(NFC) 2024-04-10 14:20:04 +09:00
muramura
4ef66dcf34 ardupilotwaf: change a word(NFC) 2024-04-10 14:20:04 +09:00
muramura
927cfeec68 AP_Airspeed: change a word(NFC) 2024-04-10 14:20:04 +09:00
Peter Barker
29149fad1b hwdef: remove un-needed lines from CSKY405 hwdef
linting the hwdef showed this
2024-04-10 10:35:16 +10:00
Peter Barker
f16d0378e1 hwdef: compilation fix for CSKY405-fix
SCB-WAF: ../../libraries/AP_HAL/AP_HAL_Boards.h:372:2: error: #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"  372 | #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"
2024-04-10 10:35:16 +10:00
Andrew Tridgell
006d2c6cfe hwdef: require bootloader for BotBloxSwitch 2024-04-10 09:59:14 +10:00
Andrew Tridgell
a750192e87 Tools: added bootloader for BotBloxSwitch 2024-04-10 09:59:14 +10:00
Peter Barker
27598d1026 AP_HAL_ChibiOS: add missing Math.h include
for "MIN"
2024-04-10 08:45:18 +09:00