Commit Graph

62871 Commits

Author SHA1 Message Date
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
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