Commit Graph

56668 Commits

Author SHA1 Message Date
Peter Barker 2af6a05fa2 AP_NavEKF3: include writeWheelOdom symbol even if no body-odom
like the method above it, we need this symbol or we won't compile
2023-02-11 10:36:33 +11:00
Peter Barker a9a40242af Tools: extract_features.py: grab stderr in run_process method 2023-02-11 10:02:20 +11:00
Peter Barker 0278773ea6 .github: set -ex in test_size.yml workflow 2023-02-11 10:02:20 +11:00
Peter Barker 2d38c8a896 Tools: fix show_output bug in run_program methods
just because we're not showing output doesn't mean we shouldn't raise exceptions on failure!
2023-02-10 21:52:47 +11:00
murata a6feb97668 Copter: Match type to set value 2023-02-10 15:38:10 +09:00
Peter Barker ba51b56865 .github: correct extract features for AP_Periph 2023-02-10 16:24:41 +11:00
Peter Barker 76e913dc90 Tools: add validation to extract_features, fix same 2023-02-10 16:24:41 +11:00
Subashchandar 3d3158a5d5 AP_Bootloader: add board id for PixFlamingo L4R5 v1 2023-02-10 12:35:18 +11:00
Patrick José Pereira 875a57adeb Tools: scripts: Use Enum values over int
Properties need to be Enum type to use with defined enums

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2023-02-09 17:39:21 -03:00
Bob Long 7889afc452 AP_Baro: fix bug in alt error arming check
get_altitude_difference already subtracts MSL altitude
2023-02-10 06:46:08 +11:00
Peter Barker b4fc6b2215 AP_HAL_ChibiOS: do not detect extra bmm150 instances on SkyViper-v2450 2023-02-09 17:52:52 +11:00
Peter Barker 9035de80ca AP_Compass: do not detect extra bmm150 instances on SkyViper-v2450 2023-02-09 17:52:52 +11:00
Peter Barker a7a2779a0f AP_HAL_ChibiOS: add and use AP_COMPASS_BMM150_ENABLED 2023-02-09 17:52:52 +11:00
Peter Barker feb809fbb7 AP_Compass: add and use AP_COMPASS_BMM150_ENABLED 2023-02-09 17:52:52 +11:00
Peter Barker 0b127e0437 AP_HAL_ChibiOS: exclude more code based on HAL_WITH_IO_MCU 2023-02-09 17:52:10 +11:00
Peter Barker c0b0ae44d5 Copter: don't use uninitialised stack data when determining ekf_over_threshold 2023-02-09 09:28:46 +09:00
Andrew Tridgell 080d7615fc AP_BattMonitor: support EFI "battery" backend
this maps Ah to Litres and Amps to Litres/hour
2023-02-09 07:12:39 +11:00
Andrew Tridgell 99f997161a Plane: holdoff auto takeoff till rudder neutral
when arming with rudder we need to hold off the takeoff until the user
has released the rudder stick or we can yaw badly during the takeoff
2023-02-09 07:02:32 +11:00
Andrew Tridgell 7d12095deb AP_Arming: added last_arm_method() 2023-02-09 07:02:32 +11:00
Andrew Tridgell b06df0da49 AP_Scripting: added quadplane payload place script 2023-02-09 07:02:12 +11:00
Andrew Tridgell 64810f5713 AP_Scripting: added docs for new bindings 2023-02-09 07:02:12 +11:00
Andrew Tridgell 2e5c5074af AP_Scripting: added bindings for quadplane package place 2023-02-09 07:02:12 +11:00
Andrew Tridgell 2989e2deba Plane: added support for NAV_PACKAGE_PLACE mission item
this works in conjunction with a lua script to allow for a wide
variety of package place options
2023-02-09 07:02:12 +11:00
Andrew Tridgell 510d979b79 AP_Vehicle: added set_land_descent_rate scripting method 2023-02-09 07:02:12 +11:00
Peter Barker b3de3364e2 Tools: add advanced failsafe to build options 2023-02-08 19:00:13 +11:00
Peter Barker 7b8c69d505 Tools: size_compare_branches.py: add --extra-hwdef-branch option
also adds for --master

This allows you to test the same builds without changing branches but with different hwdef scripts, by specifying the same branch with --master
2023-02-08 19:00:13 +11:00
Peter Barker 1aa5e07564 Blimp: remove vestige of advanced failsafe 2023-02-08 19:00:13 +11:00
Peter Barker 77039f38f6 ArduSub: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
Peter Barker 648a13d3f7 ArduPlane: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
Peter Barker 8259f3f870 GCS_MAVLink: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
Peter Barker c12486829a hwdef: SkyViper doesn't need AP_AdvancedFailsafe 2023-02-08 19:00:13 +11:00
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