Dev Call Jul 3, 2023

Issues & Pull requests

Plane

Copter &Rover

Attendee count (max): 19

UTC1102 - AP_OSD: added OSD_TYPE2 param to enable a second OSD backend by yaapu · Pull Request #19517 · ArduPilot/ardupilot · GitHub

  • Add OSD_TYPE2 to enable a second OSD backend
  • Could already kind of have a standard-definition OSD
  • Past this you could have analogue, dissplayport and a serial-msp OSD too
  • There are some combinations you can’t have if you don’t have the second backend running
    • Prearm check for that
  • Problem we may not get a thread if first isn’t set up?

UTC1109 - add support for RC in AP_Periph by peterbarker · Pull Request #23805 · ArduPilot/ardupilot · GitHub

  • Support for RC in AP_Periph
  • Need to follow the convention for periph defines
  • Want to move things out of can.cpp
    • Move the CAN functions out of can.cpp
  • Old C interface still in use in AP_Periph
    • AP_DroneCAN uses the C++ interface
    • AP_Periph uses pure C interface
  • Should we look for CAN RC input by default?
    • CPU cost of CAN gets higher and higher as we add more sensors
    • CAN_D1_UC_OPTS to add a bit?
    • We used to do a switch
      • Subscribe method per library was a better structure
    • RC input is probably going to be popular enough
  • should_accept_transfer function for whether we should parse a packet
  • Then a callback to actually parse it

UTC1132 - Networking by magicrub · Pull Request #23886 · ArduPilot/ardupilot · GitHub

  • Networking PR
  • Tom’s going to strip things right back to the state you can just ping the board

UTC1135 - AP_HAL_ChibiOS: Added RADIX2HD by mluessi · Pull Request #23948 · ArduPilot/ardupilot · GitHub

  • RADIX2HD
  • Merged
  • Try to use hwdef: rather than AP_HAL_ChibiOS
  • Not using ArduPilot bootloader at all
  • Can this be flashed with MissionPlanner?
    • There are instructions

UTC1135 - Rover: quik tune lua script by rmackay9 · Pull Request #23981 · ArduPilot/ardupilot · GitHub

  • Rover quik-tune script
    • Gets gains that are slightly too high?
      • Randy’s reduced them
  • Slew_detector_2d
    • Start to log slew rates on copters and slew rates

UTC1143 - Add FlyingMoonH743 by peterbarker · Pull Request #24004 · ArduPilot/ardupilot · GitHub

  • Perhaps we shouldn’t build these?
  • Increasing size of build server would be a few hundred dollars a year
  • Incremental cost isn’t that much
  • Tom thinks we should throw some money at the build server to make it faster
  • Private boards by default we wont ‘build in the future

UTC0004 - AP_Scripting: add binding to block MAVLink commands by IamPete1 · Pull Request #24091 · ArduPilot/ardupilot · GitHub

  • Add binding to block mavlink commands
  • Mutex tree is very complex
    • Tridge thinks we have more sem deadlocks in ArduPilot
      • His emergency release picked something up
    • Tridge hasa detection PR coming
      • So you don’t have to hit it
  • Tridge tested anmd aerobatics passes

UTC0015 - Add and use SetFocusResult for camera focus commands by peterbarker · Pull Request #24112 · ArduPilot/ardupilot · GitHub

  • Add an numeration value to pass things back to mavlink nicely

UTC0018 - If FW landing speed -1, set to halfway between min and trim aspd; FW only autolands by Hwurzburg · Pull Request #24095 · ArduPilot/ardupilot · GitHub

  • Fw landing speed -1 set to halfway between and min trim asp
  • Merged!

UTC0024 - hwdef: update FlyingMoonF407 hwdef by peterbarker · Pull Request #24110 · ArduPilot/ardupilot · GitHub

  • FlyingMoonF407 updates from vendor
  • Merged!

UTC0025 - hwdef: update FlyingMoonF407 hwdef by peterbarker · Pull Request #24110 · ArduPilot/ardupilot · GitHub

  • Be consistent about where case labels are inside or outside defines
  • Merged!

UTC0026 - AP_GPS: use AP_AHRS_ENABLED in place of HAL_BUILD_AP_PERIPH by peterbarker · Pull Request #24137 · ArduPilot/ardupilot · GitHub

  • Use AP_AHRS_ENABLED to protect code around singleton
  • Merged!

UTC0027 - DroneCAN: NofityState msg to include is_landing and is_taking_off by magicrub · Pull Request #24140 · ArduPilot/ardupilot · GitHub

  • NotifyState msg for is_landing and is_taking_off
  • Needs to be rebased
  • MergeOnCIPass
  • Should we have is_landing_approach?
    • Vehicle accessor function in_landing_sequence
    • QRTL and RTL would set it to true
    • Would need to set a special option in periph to turn it off when bits received

UTC0035 - AP_DroneCAN: allow BRD_SAFETY_MASK to work on CAN ESCs and servos by tridge · Pull Request #24154 · ArduPilot/ardupilot · GitHub

  • Allow BRD_SAFETY_MASK to work on CAN ESCs and servos
  • Merged!

UTC0042 - Plane: Training: output rudder from mode run function by IamPete1 · Pull Request #24160 · ArduPilot/ardupilot · GitHub

  • Output rudder from mode run function
  • Move pilot inputs up into the mode
  • Merged!

UTC0044 - Plane: stable 4.4.x issues list · Issue #15941 · ArduPilot/ardupilot · GitHub

  • 4.4.0beta3 for Plane is out there now
  • Randy’s patches and the two LEDs
  • Some concerns about stability
  • Andy reports some bad things happening on his Copter
  • The FS vs Logger
  • Gimbal stuff isn’t coming back?
  • Scripting memory problems
  • Try to get beta3 out in next couple of days
  • MacOSX broken?
    • Maybe put copies on our own server to ensure reachability
  • Merged

UTC0054 - Copter update

  • GSF on Rover not working
  • Gimbal changes
  • Rockblock only working in MAVProxy
  • QGC using different messages to change modes
  • QGC almost works…
  • MissionPlanner just crashes!

UTC0056 - AP_HAL_ChibiOS/hwdef: JFB110 board definition by jfbblue0922 · Pull Request #24165 · ArduPilot/ardupilot · GitHub

  • H755 added
  • SD card problems
    • Maybe wrong memory region being used?
  • Commit messages need cleaning up

UTC0109 - Rover: circle mode safety improvements by rmackay9 · Pull Request #24167 · ArduPilot/ardupilot · GitHub

  • Rover Circle mode safety improvements
  • Crazy behaviour when you push up the gains too much
  • Input shaping issues

UTC0111 - Pull RTS lines low on Pixhawk6C to avoid glitches on startup by andyp1per · Pull Request #24169 · ArduPilot/ardupilot · GitHub

  • Pull RTS lines low on Pixhawk6c to avoid glitches on startup
  • Merged!

UTC0113 - Rover: limit velocity controller I-term build-up in forward-back direction by rmackay9 · Pull Request #24173 · ArduPilot/ardupilot · GitHub

  • Limit velocity controller I-term build-up in forward/backward direction
  • Would get a little wobble after a corner
  • New steering limit flags
  • This is all trying to fix SCurves
  • Turn radius is still going to be an issue

UTC0117 - Change chibios_hwdef.py to pre-process defaults files by peterbarker · Pull Request #24174 · ArduPilot/ardupilot · GitHub

  • @include in hwdefs
  • Review left

UTC0129 - AP_Motors: Heli: Remove unused init_output return and don't assume single for initialised OK by IamPete1 · Pull Request #24177 · ArduPilot/ardupilot · GitHub

  • Heli - remove unused init_output method
  • Merged

UTC0132 - EKF: suppress lane switch warning · Issue #24181 · ArduPilot/ardupilot · GitHub

  • Suppress lane switch warning
  • False lane switches
  • Baro glitches can cause switching to second lane
    • And then the second lane uses that baro glitch
    • And then we switch back
  • Is the problem we’re sending it?
  • An EKF lane switch is something a user should consider landing about?
  • Multiple issues
    • Messages are confusing to user
    • Most shouldn’t have happened
  • Maybe compare IMU values with each of them
  • Triplex on output of EKF?
  • “If your primary EKF is still passing but its innovations are significantly higher than the other two, would you want to switch?”
    • Some airframes you would
    • Some you wouldn’t
  • Use same accel / gyro?
    • Sometimes the only flyable gyro doesn’t have a good accel
  • Hard-mounted for rate control and soft IMU for navigation?
  • May be getting shot noise in IMU readings
    • Triple filters are particularly susceptible
    • Doesn’t affect the EKF, of course
      • Low innovations means bad IMU readings likely to be bad filtering
    • ESC RPM
    • Changing IMU defaults on one particular board in 4.4
      • Might cause problems?
    • Shot noise happens when you change the frequency of a filter
      • Sound of dropping shot or ball-bearings onto a plate
      • Single sharp offset
      • Instantaneous shift
      • Then a settle time
      • Changing all notches on same update might be an issue
      • Update notches one after the other
      • Cycle through them, lots of little shots rather than one big one
  • Too much of a good thing?
    • Low pass filter on IMUs are still a good thing…
    • Replacing with notches isn’t everything!
  • LPF before or after the fancy stuff?
    • Should be after!
  • Need to stop things switching so much
    • Maybe need to make the error clearer

UTC0214 - Add battery status MSP handling to BLHeli by andyp1per · Pull Request #24196 · ArduPilot/ardupilot · GitHub

  • Can be merged once the InternalError has been removed

UTC0217 - AP_Scripting: added QUIK_MAX_REDUCE to VTOL-quicktune.lua by tridge · Pull Request #24197 · ArduPilot/ardupilot · GitHub

  • Added QUIK_REDUCE_MAX to VTOL quicktune
  • Limits % which gains can be reduced
    • Leonard thinks these tuning scripts should only be used to increase PIDs
  • See also new script for manual tuning to revert parameters
    • Flick switch and things will go back to startup values
  • Set-and-save

UTC0221 - AP_NavEKF3: define Yaw alignment min GPS speed per vehicle by rmackay9 · Pull Request #24206 · ArduPilot/ardupilot · GitHub

  • Define yaw alignment min GPS speed per vehicle

UTC0229 - partner’s call tomorrow

UTC0229 - close