Commit Graph

56971 Commits

Author SHA1 Message Date
Peter Barker 6c6a76bfd4 hwdef: CubeOrange: flash-from-sd-card support 2023-02-28 11:26:04 +11:00
Peter Barker d9045997a0 AP_Bootloader: add SD card support to bootloader 2023-02-28 11:26:04 +11:00
Peter Barker 3b230c4ec0 hwdef: enable flash-from-SD on Pixhawk6X 2023-02-28 11:26:04 +11:00
Peter Barker 48639c6810 AP_HAL_ChibiOS: add SD card support to bootloader 2023-02-28 11:26:04 +11:00
Peter Barker fbc9da904c AP_BootLoader: correct memset in MD5Final 2023-02-28 11:26:04 +11:00
Peter Barker 5ebf31840f AP_Bootloader: rename md5.c to md5.cpp 2023-02-28 11:26:04 +11:00
Peter Barker 5de9633bd9 AP_BootLoader: copy md5 in from junkcode-tridge 2023-02-28 11:26:04 +11:00
Peter Barker f5cc7b206d Tools: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED
there's AP_HAL::Scheduler which confuses this
2023-02-28 11:26:04 +11:00
Peter Barker 3e84eb2358 AP_Scheduler: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED
there's AP_HAL::Scheduler which confuses this
2023-02-28 11:26:04 +11:00
Peter Barker e25d6bb8e4 AP_Logger: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED
there's AP_HAL::Scheduler which confuses this
2023-02-28 11:26:04 +11:00
Peter Barker 8b70587092 AP_HAL_ChibiOS: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED
there's AP_HAL::Scheduler which confuses this
2023-02-28 11:26:04 +11:00
Peter Barker bee1f2785a AP_Filesystem: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED
there's AP_HAL::Scheduler which confuses this
2023-02-28 11:26:04 +11:00
Peter Barker 8d29116982 AP_HAL_ChibiOS: add more comments to generated hwdef.h
End-delimiters for e.g. AP_Periph defaults etc
2023-02-28 11:26:04 +11:00
Iampete1 e2e239dd08 AP_Motors: add logging of output throttle 2023-02-28 11:06:32 +11:00
Iampete1 a4f1951780 AP_Logger: add outout throttle to MOTB message 2023-02-28 11:06:32 +11:00
Iampete1 4b30810d11 Sub: remove duplicate MOTB log documentation 2023-02-28 11:06:32 +11:00
Peter Barker 6620640916 AP_OSD: move OSD minimised features to minimize_features.inc 2023-02-28 10:40:27 +11:00
Peter Barker fe37a68266 AP_OLC: move OSD minimised features to minimize_features.inc 2023-02-28 10:40:27 +11:00
Peter Barker f130f9afeb AP_HAL_ChibiOS: move OSD minimised features to minimize_features.inc 2023-02-28 10:40:27 +11:00
Peter Barker bcc1670387 hwdef: remove redundant defines of OSD_PARAM_ENABLED
these boards already get this because they're minimised
2023-02-28 10:40:27 +11:00
Peter Barker abd7fa11c1 AP_Notify: use simulated toshiba LED for display rather than directly 2023-02-28 10:24:43 +11:00
Peter Barker 8f7f0d5e72 SITL: add and use SIM_RGBLED 2023-02-28 10:24:43 +11:00
Peter Barker d56883ac7a AP_Notify: fix SerialLED simulation
Not checking for events makes window managers annoyed
2023-02-28 10:24:43 +11:00
Peter Barker 569dbcad88 .github: test MatekF405-CAN bootloader builds 2023-02-28 10:17:56 +11:00
Pierre Kancir f84433e5ba AP_UAVCAN: change isnanf for isnan 2023-02-27 04:15:24 -08:00
Pierre Kancir 8d962f915e AP_GPS: change isnanf for isnan 2023-02-27 04:15:24 -08:00
Pierre Kancir ca6a804f28 AP_BattMonitor: change isnanf for isnan 2023-02-27 04:15:24 -08:00
Shashwat Ganesh 11fb7c64e0 Tools: plane: GCSFailsafe test: cleanup timeouts 2023-02-27 07:56:25 +11:00
Shashwat Ganesh 2ffae80866 Tools: plane: GCSFailsafe test: cleanup parameters 2023-02-27 07:56:25 +11:00
Peter Barker 1e325d4aaa autotest: remove default value for paramValue in setGCSfailsafe
All callers were supplying a value, and it isn't clear why zero makes a
good default.
2023-02-26 17:31:11 +11:00
Peter Barker d72d02ca47 AP_HAL_ChibiOS: remove convenience debug code based on new define
bootloaders (at least the ones that need to fit into 16kB pages) don't really have the space for this sort of debug.

I figure if you're debugging a bootloader fault you probably have the know-how to get his information yourself based on the code now being excluded, or add it back in.
2023-02-26 17:20:23 +11:00
Peter Barker b287476cc6 Tools: autotest: add a test for Rover's INITIAL_MODE 2023-02-26 16:41:32 +11:00
Shashwat Ganesh dba76d2c8b Tools: plane: test gcs failsafe: FBWA and Parachute 2023-02-26 09:56:47 +11:00
Shashwat Ganesh ea206670c4 Tools: plane: test gcs failsafe: RTL 2023-02-26 09:56:47 +11:00
Andrew Tridgell a0634d8b5b Plane: constrain tilt range for vectored yaw
this prevents a case where we can demand unlimited vectored yaw,
leading to loss of control

this was particularly noticible before the fix in #23023 - if you
armed for a 2nd time in QHOVER after moving the throttle above 10% so
throttle_wait was cleared then the motors would try to tilt fully so
one motor is in fwd flight position. This would cause a prop strike
while on the ground
2023-02-26 08:52:16 +11:00
Andrew Tridgell 38d7bcff6b Plane: re-init throttle wait on quadplane arm and disarm
this prevents yaw from rudder arming on 2nd flight
2023-02-26 07:06:09 +11:00
Tom Pittenger 223b91f6b4 Periph: fix sending GPS Heading packet at correct interval 2023-02-25 03:23:07 -08:00
Peter Barker 44bf0ec1a7 AP_Mount: Gremsy uses _link.send_message(id, buffer) to send set-attitude 2023-02-25 17:41:44 +11:00
Peter Barker adb364cd98 GCS_MAVLink: have GCS_MAVLINK::send_message(id, buffer) check size 2023-02-25 17:41:44 +11:00
Tom Pittenger e728f91798 AP_BattMonitor: add array and null check to drivers[] 2023-02-24 09:50:14 -08:00
Tom Pittenger 61b7f6ed74 AP_BattMonitor: refactor Option param usage 2023-02-24 09:50:14 -08:00
Andrew Tridgell 4c6648fada autotest: added VTOLQuicktune test
ensure this script doesn't break
2023-02-24 09:43:41 -08:00
Andrew Tridgell 068d1d5413 AP_Scripting: change VTOL-quicktune to use cached aux
makes it possible to use aux buttons in MissionPlanner
2023-02-24 09:43:41 -08:00
Pierre Kancir 8628fd998f Tools: Copter: add test for FS_GCS_TIMEOUT 2023-02-24 09:41:17 -08:00
Pierre Kancir 468356d513 Tools: rover: implement test_gcs_failsafe 2023-02-24 09:41:17 -08:00
Pierre Kancir 0b7ef942b4 Tools: move setGCSfailsafe in common 2023-02-24 09:41:17 -08:00
Pierre Kancir 837ebd4491 Rover: add FS_GCS_TIMEOUT 2023-02-24 09:41:17 -08:00
Peter Barker a6831805f1 AP_IOMCU: read many bytes using read(buffer, len) method 2023-02-24 09:37:20 -08:00
Pierre Kancir e0728aa088 .github: add and use ccache on cygwin build 2023-02-24 11:12:48 +11:00
murata 4a7365685d RC_Channel: Check when to use 2023-02-24 09:22:50 +11:00