Dev call Sept 23, 2024

Issues & Pull Requests

Copter & Rover

Plane

Attendee count (max): 20

UTC2301 - AP_Motors: Change to pass-through by muramura · Pull Request #24246 · ArduPilot/ardupilot · GitHub

  • Change pass-through in motors code
  • Tested
  • Merged!

UTC2302 - Common: Integrate methods for converting hexadecimal characters to numbers by muramura · Pull Request #25213 · ArduPilot/ardupilot · GitHub

  • Re-use a library function when converting char to hex
  • And change return value on error from 0 to 255
  • Peter will look at it after the call

UTC2313 - Refactor attitude control to be thread safe by andyp1per · Pull Request #27839 · ArduPilot/ardupilot · GitHub

  • Refactor attitude control be be thread-safe
  • Andy’s been working on this stuff with Leonard
  • Leonard thinks this is looking good now
  • PH thinks this is looking good now
  • Only modifies the multi attitude controller to make it thread-safe
  • There are several other attitude controllers (heli, sub etc) which are not thread-safe after this
  • Tridge wants this tested on a quadplane in RealFlight
    • Why not just SITL?
      • Doesn’t check the behaviour closely enough
  • Heli should also have a bit of testing
  • Unfortunately compiler output changes so not trivial
  • May affect backing off of gains in transition
  • Slewing time constant from fixed-wing to multi during reverse transition
    • Not logged hard to check
  • More testing needed
    • Tridge is working in background
  • Turns out we broke gain scheduling somehow

UTC2339 - Tools:remove BATTERY_SUM from <1K builds by Hwurzburg · Pull Request #28202 · ArduPilot/ardupilot · GitHub

  • Remove battery sum from <1K boards
  • What will the user see if they try to use this if support is not present?
  • Maybe a “feature_not_available” function?
  • Do we want to solve the generic problem of removing features
  • Maybe a “feature_disabled” function
  • Needs to be a pre-arm failure
  • Compile-time error if you have sum built in but less than three backends
  • Peter will make up some compile-time

UTC2355 - Tools:clean up displayed build options by Hwurzburg · Pull Request #28208 · ArduPilot/ardupilot · GitHub

  • Uniform descirpiotns in custom build server
  • Merged

UTC2356 - ArduPlane: use Location::AltFrame for guided_state target frame references enabling ABOVE_TERRAIN by timtuxworth · Pull Request #27921 · ArduPilot/ardupilot · GitHub

  • Use Location::AltFrame for guided state target frame reference
  • Logging both frames
  • Merged!

UTC0006 - https://github.com/ArduPilot/ardupilot/pull/27926

  • Param for max-retry of engine cranking
  • Save the batteries!
    • Brown-outs
  • If running continuously for more than 2 or 3 times the crank time then we should reset the crank counter
  • Some little things to do

UTC0016 - disable feature due to flash space constraints by peterbarker · Pull Request #28123 · ArduPilot/ardupilot · GitHub

UTC0026 - Ensure all peripherals define HAL_PERIPH_ENABLE_GPS to 1 or 0 by peterbarker · Pull Request #28127 · ArduPilot/ardupilot · GitHub

  • Pattern for moving from defined (HAL_PERIPH_ENABLE_GPS) to just HAL_PERIPH_ENABLE_GPS
  • Do this at the chibios hwdef level
  • Move to AP_PERIPH_GPS_ENABLED

UTC0033 - Copter: GCS_MAVLink: populate flags using position controller active flags by IamPete1 · Pull Request #28131 · ArduPilot/ardupilot · GitHub

  • Populate position flags using position controller active flags
    • Instead of switching on modes
  • Virtuals vs a uint32_t flags?
    • “Has_capability”?
    • Booleans are easy!
    • Randy likes the true/false approach
  • Check QGC and MP to see how they behave
    • If the flag is not present then we’re good

UTC0038 - Copter: add and use new `afs_mode` mode method by IamPete1 · Pull Request #28132 · ArduPilot/ardupilot · GitHub

  • Removing more switches on mode numbers
  • Add and use new afs_mode
  • Merged!

UTC0045 - Copter: add and use new `allows_GCS_arming_with_throttle_high` mode method by IamPete1 · Pull Request #28133 · ArduPilot/ardupilot · GitHub

  • New “allows_GCS_or_SCR_arming_with_throttle_high”
  • Merged!

UTC0047 - AP_DDS: Joystick Support 2 by tizianofiorenzani · Pull Request #28145 · ArduPilot/ardupilot · GitHub

  • AP_DDS joystick support
  • Assumes a 1-1 mapping between DDS and or RC channels
  • Need to trim out the gcs send texts
  • Will be back with this one

UTC0055 - AP_BattMonitor: add option minimum volt option by loki077 · Pull Request #28148 · ArduPilot/ardupilot · GitHub

  • Allows reporting of minimum voltage rather than the average voltage
  • Rename sum to aggregate at some stage?
  • Does average still work?
  • Maybe there’s a race condition on the value?
    • Maybe accept the race condition?
  • Will come back with this one

UTC0104 - Copter/Rover-4.5.0 issues list · Issue #26103 · ArduPilot/ardupilot · GitHub

  • 4.5.7 PR is still pending

UTC0105 - Plane update

  • Crash dump from Leonard on 4.5
  • Bench repro
    • Unable to repro
    • Leonard can reproduce a stuck-logging error
    • CAN-serial adapter
      • Mavlink carried via this adapter
    • Tridge will keep trying to reproduce with Durandal
  • Two CAN problems outstanding
    • And the patch from Sid
  • Larger crashdumps would be nice!
    • Tridge has reproduced the 57kB dump stuff
      • Regions array not initialised correctly?!

UTC0119 - Use get_channel_yaw() and friends in AP_Arming by peterbarker · Pull Request #28149 · ArduPilot/ardupilot · GitHub

  • Use get_channel_yaw and friends in AP_Arming
  • MergeOnCIPass

UTC0124 - AP_DroneCAN: Fix constructor initialization order by bugobliterator · Pull Request #28157 · ArduPilot/ardupilot · GitHub

  • Fix constructor initialisation ordering
  • DNA server could not hear node info messages at all
    • No CAND messages
    • Constantly verify the nodes
    • PH has also noticed missing CAND messages
    • Missing items on CANBus
  • Randy’s having a few issues with mount and CAN
    • Canbus 2
    • CAN1 and CAN2 using first driver
  • Only affects second river
    • Both on first driver this won’t impact you
  • Symptoms
    • Only affects the client listening for node info
    • No CAND logging on second bus
  • Need to discuss the C++ canard interfacing taking a half-constructed “this” object

UTC0128 - AC_AttitudeControl: use AC_PID defaults to tidy rate Sub PID initialisation by peterbarker · Pull Request #28161 · ArduPilot/ardupilot · GitHub

  • Improve sub initialisation
  • Merged!

UTC0136 - Rearrange initialiser lists so we can use -Werror=reorder by peterbarker · Pull Request #28165 · ArduPilot/ardupilot · GitHub

  • Rearrange initialiser lists so we can use -Werror=reorder
  • AM32 compiler option to zero makes it zero flash cost
    • Need to find that “spec” option and use it!
  • MergeOnCIPass

UTC0141 - AC_AttitudeControl: use AC_PID defaults to tidy heli rate PID initialisers by peterbarker · Pull Request #28162 · ArduPilot/ardupilot · GitHub

  • Tidy AC_PID default s to tidy heli rate pid controllers
  • Merged!

UTC0143 - AP_WheelEncoder: correct initialisation of WheelRateController object by peterbarker · Pull Request #28166 · ArduPilot/ardupilot · GitHub

  • Correct init of WheelRateController object
    • Srmax set to a value of 0.02
  • Merged!

UTC0146 - AP_Bootloader: add request to fill gaps rather than add to end by peterbarker · Pull Request #28172 · ArduPilot/ardupilot · GitHub

  • Add request to fill gaps rather than add at the end of the reserved-boards list
  • Merged!

UTC0147 - Plane: correct the ability to disable the takeoff atititude checks by peterbarker · Pull Request #28179 · ArduPilot/ardupilot · GitHub

  • Correct the ability to disable the takeoff attitude checks
  • 4.5 backport
  • merged

UTC0150 - AP_Bootloader: add request to fill gaps rather than add to end by peterbarker · Pull Request #28172 · ArduPilot/ardupilot · GitHub

  • Correct the ability to disable the takeoff attitude checks
  • merged

UTC0152 - Rover: remove handling of prearm empty-string case by peterbarker · Pull Request #28190 · ArduPilot/ardupilot · GitHub

  • Remove handling of prearm empty=-string case
  • Can be merged once errant patch removed

UTC0152 - AP_Compass: use memcmp to check whoami result code from HMC5843 device by peterbarker · Pull Request #28191 · ArduPilot/ardupilot · GitHub

  • Use memcpt to check whoami
  • Merged!

UTC0153 - correct initialisation of PrecLand buffers by peterbarker · Pull Request #28192 · ArduPilot/ardupilot · GitHub

  • Correct init of AC_Precland

UTC0157 - Adjust includes to help prevent loops by peterbarker · Pull Request #28193 · ArduPilot/ardupilot · GitHub

  • Adjust includes to avoid loops
  • Merged!

UTC0159 - AP_Scripting: remove dependency on tmpnam by tpwrules · Pull Request #28204 · ArduPilot/ardupilot · GitHub

  • Remove deps on tmpnam
  • Careful changing the lua src
  • We gate with “ARDUPILOT_BUILD” to make these easy to find
  • MergeOnCIPass

UTC0200 - Plane: added Q_LAND_DIS_DELAY by tridge · Pull Request #28199 · ArduPilot/ardupilot · GitHub

  • Bad mid-air disarm happened
    • First one in a very, very long time
    • If ever with current formulation?
    • … a key parameter had been changed making this much more likely
  • PH suggests we stop disabling stabilisation before we disarm
  • Need to reach zero throttle but you need enough rpy to keep vehicle up
    • Hard to sim
  • Adds a deck height
  • New test sinks the ship really fast to test it
  • Big block comment explaining limitations
    • Prop-wash vs barometers
  • Implications are spool-up/spool-down as the new feature activates/deactivates
  • Weight-on-wheels?
  • Lidar?
  • PH will have a look when he’s more awake
  • LH finds the land detector code one of trickiest to get right

UTC0225 - close