Commit Graph

56487 Commits

Author SHA1 Message Date
Peter Barker 6ce546d2fb AP_AdvancedFailsafe: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
Andrew Tridgell 28690d66b2 AP_Camera: make trigger dist a float
the parameters and the callers all use float, we unnecessarily lose
precision here

thanks to D Przybysz for finding the issue
2023-02-08 16:59:45 +11:00
Andrew Tridgell 9b5246735e AP_Scripting: removed unused aerobatics code and params 2023-02-08 16:25:39 +11:00
Andrew Tridgell 581bf77b0d AP_Scripting: new rudder offset for aerobatics 2023-02-08 16:25:39 +11:00
Andrew Tridgell 7735614634 Plane: implement set_rudder_offset() 2023-02-08 16:25:39 +11:00
Andrew Tridgell 84944bbf53 AP_Scripting: added set_rudder_offset binding 2023-02-08 16:25:39 +11:00
Andrew Tridgell 63e5261406 AP_Vehicle: added set_rudder_offset() 2023-02-08 16:25:39 +11:00
Pierre Kancir 8d12ca567b Sub: unify firmware name 2023-02-08 12:47:49 +11:00
Pierre Kancir 321801a2c3 Plane: unify firmware name 2023-02-08 12:47:49 +11:00
Pierre Kancir b7b08c3487 AP_Periph: add patch rev into firmware version 2023-02-08 12:47:49 +11:00
Peter Barker be2a30af74 Tools: extract AP_VIDEOTX_ENABLED as feature 2023-02-08 11:11:29 +11:00
Andrew Tridgell 79f93054ad Tools: rebuild IO firmware 2023-02-08 10:08:23 +11:00
Andrew Tridgell 988028f765 AP_RCProtocol: on IOMCU don't allow protocol to change once detected
this prevents a crash where in-flight noise causes an incorrect
protocol detection, such as DSM for a SBUS input
2023-02-08 10:08:23 +11:00
Peter Barker 83873de403 Tools: remove debug from extract_features.py 2023-02-08 09:44:36 +11:00
Peter Barker 8dbb0e7d2b Tools: add compasses to list of features extracted 2023-02-08 09:44:36 +11:00
Tom Pittenger 0e94e4f0df Tools: change WSL2 host IP detection method from route to ip 2023-02-07 14:41:06 -08:00
murata f04cab917b AP_Terrain: Explicitly state that they are at the same latitude 2023-02-08 08:54:35 +11:00
rbeall 743c64cb15 Tools: Update pyenv for new MacOS Clang13
https://bugs.python.org/issue45405

Version of pyenv 2.3.12 has patched most versions of python to properly compile with Mac clang 13.  This version is required to properly install python on new machine.
2023-02-08 08:54:13 +11:00
Tom Pittenger b0f0733ec3 A_HAL_ChibiOS: add HAL_NMEA_OUTPUT_ENABLED 0 2023-02-07 21:12:07 +11:00
Tom Pittenger 3f5276c3d7 AP_NMEA_Output: add params and optimized 2023-02-07 21:12:07 +11:00
Tom Pittenger 95b4ded3e8 AP_Periph: add AP_NMEA_Output to Periph 2023-02-07 21:12:07 +11:00
Tom Pittenger 9ac0514e8e AP_AHRS: move AP_NMEA_OUTPUT to a first class library 2023-02-07 21:12:07 +11:00
Tom Pittenger 468d773391 AP_Vehicle: move AP_NMEA_OUTPUT to a first class library 2023-02-07 21:12:07 +11:00
Tom Pittenger ea35b28b22 AP_Common: add NMEA output to a buffer 2023-02-07 21:12:07 +11:00
Tom Pittenger a929a5006a AP_NMEA_Output: add msg sentence $PASHR 2023-02-07 21:12:07 +11:00
Peter Barker 17429bb687 autotest: reboot after DCMFallback test
EKF3 can remain annoyed for a very, very long time after disarm
2023-02-07 19:24:59 +11:00
Peter Barker d33ff3e6e0 build_options.py: add AP_VIDEO_TX 2023-02-07 16:54:40 +11:00
Peter Barker 9d3ca88002 RC_Channel: add support for AP_VIDEOTX_ENABLED 2023-02-07 16:54:40 +11:00
Peter Barker e4d827a3d6 AP_RCTelemetry: add support for AP_VIDEOTX_ENABLED 2023-02-07 16:54:40 +11:00
Peter Barker 1096b7de3c AP_OSD: add support for AP_VIDEOTX_ENABLED 2023-02-07 16:54:40 +11:00
Bill Geyer 8d1a362db7 SITL: fix heli RPM for heli SITL models 2023-02-07 11:05:29 +11:00
murata b31883a8a4 AP_Mission: Match variable types 2023-02-07 08:56:28 +09:00
Iampete1 82bcaae9ad Tools: autotest: logger_metadara: parse `@FieldBits` to new bitmask format and ouput bitmask in xml 2023-02-06 23:44:21 +00:00
Peter Barker 9b8a61c048 AP_EFI: correct EFI ignition_voltage flag values 2023-02-07 10:40:50 +11:00
Peter Barker 1d57ada441 AP_UAVAN: pass error_count from ESC Status packet to AP_ESC_Telem 2023-02-07 10:39:16 +11:00
Iampete1 c5c7863829 AP_Scripting: add bindings for E-stop, Interlock and Safety state 2023-02-07 10:24:18 +11:00
Peter Barker ffcdcd88b2 Tools: build_options.py: add compasses to build options 2023-02-07 10:21:06 +11:00
Peter Barker d415d3f96d Tools: add and use AP_COMPASS_AK8963_ENABLED 2023-02-07 10:21:06 +11:00
Peter Barker 22feb3c08a AP_Compass: add and use AP_COMPASS_AK8963_ENABLED 2023-02-07 10:21:06 +11:00
murata 7a7f84adee Copter: Clarify the exclusion determination in the ENUM definition
Co-authored-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2023-02-07 08:20:01 +09:00
Iampete1 d928e8b002 Plane: stop passing speed_scaler all over the place 2023-02-07 10:17:09 +11:00
Peter Barker ccb56e573a GCS_MAVLink: tidy valid-channel check in set_message_interval
rely on chan returning nullptr on invalid channel
2023-02-07 10:07:39 +11:00
Peter Barker 80b781634d GCS_MAVLink: tidy check of valid channel in get_vfr_hud_throttle
do a nullptr check rather than checking against num_gcs
2023-02-07 10:07:39 +11:00
Peter Barker 74978ac577 GCS_MAVLink: add nullptr check in gcs_out_of_space_to_send
If a library were to send on a channel for which we have not allocated a GCS_MAVLINK this could lead to a nullptr dereference.  We do some odd things in uAvionix in terms of which channel to send on, so worth a check.
2023-02-07 10:07:39 +11:00
Peter Barker 26d714e9a9 GCS_MAVLink: tidy valid-channel check in install_alternative_protocol
- stop getting link multiple times
 - rely on chan() returning nullptr rather than explicitly checking num_gcs
2023-02-07 10:07:39 +11:00
Peter Barker 14d1a075db GCS_MAVLink: remove internal error from chan(), correct bounds check
It's been argued that callers should always be checking for nullptr anyway.  This is the method which is best qualified to work out whether the channel actually corresponds to a link, so it makes sense for the check to be here
2023-02-07 10:07:39 +11:00
Stephen Dade 55f31d628a GCS_MAVLink: Ensure serial tunnel avoids nullptr 2023-02-07 10:07:39 +11:00
Peter Barker 151770f6e7 RC_Channel: allocate channel option for loweheiser manual control 2023-02-06 12:52:03 +11:00
Peter Barker d86420f074 Tools: extract_features.py: correct detection of Currawong ECU 2023-02-06 10:16:12 +11:00
Iampete1 b7907e10c8 AC_PID: AC_PI: fix param defualting 2023-02-06 08:09:13 +09:00