Dev Call Feb 20, 2023

Issues & Pull requests

Plane

Copter

Attendee count (max): 20

UTC1102 - Demonstrate broken mission state machine by peterbarker · Pull Request #18561 · ArduPilot/ardupilot · GitHub

  • Fly mission back-to-back doesn’t work in master
  • Contradiction?
    • Can’t run missions while we’re disarmed in auto and have them auto-restart like this?
      • The DO_COMMANDS?

UTC1121 - Dds prototype by arshPratap · Pull Request #17779 · ArduPilot/ardupilot · GitHub

  • Hundreds of topics is vast amounts of flash
  • Revive the PR but with no topics
    • Use LUA binding to handle topics
    • Structure packing and unpacking would be done in LUA
    • Core DDS protocol would be in the C++
    • Subdirectory in APS_Scripting for additional topics
    • Access any data LUA can access
    • Adds flexibility to expand
    • many, many topics
      • Standard topics for UAVs
      • Can’t support all in the C++
        • And adds a large barrier to entry
    • Keep existing structure but remove “standard topics”
    • Queue of requests to pass into the LUA script for “please provide this topic”
    • Crc in C++ code
    • Payload done in LUA script
  • MicroROS
    • Need to know what the flash cost is….
  • ROS developers are already developing in C++
    • Not in LUA
    • They know Python and C++
    • ArduPilot C++ isn’t normal C++
    • The base LUA topics should provide enough of an example to allow hacking
    • What sorts of rates will be possible through LUA?
      • Tridge thinks “lots”
  • Offboard estimators aren’t a good idea….
    • Can’t bind tightly enough to the IMU data
  • Lua-pack for packing and unpacking library data

UTC1142 - Plane: add takeoff param TKOFF_GND_PITCH by magicrub · Pull Request #16677 · ArduPilot/ardupilot · GitHub

  • Add takeoff param TKOFF_GND_PITCH
  • What do you want your elevator to do?
  • Car-launches
  • This PR allows you to specify a pitch
    • Master specifies 5-degrees up
    • Tom wants neutral or down
  • Adds option to set integrator
    • To a specified percentage of trim
    • Use option to set trim instead?
  • Avoid premature rotation
  • Also snap-detach from vehicle
  • TECS tuning might have caused the premature rotation
  • Setting integrator on rate controller is problematic when you’re trying to achieve an angle trim
  • Goal is downforce on vehicle until rotate speed hit
  • GND_PITCH is a good change
    • Other stuff will be removed

UTC1153 - Plane: Auto takeoff roll-limits to use TKOFF_LVL_ALT by magicrub · Pull Request #16678 · ArduPilot/ardupilot · GitHub

  • We have numbers where we limit roll
  • This parameterises those numbers
  • Linear interpolation between LEVEL_ROLL_LIMIT and LEVEL_ROLL_LIMIT*2

UTC0000 - AP_UAVCAN: add option to send GPS by magicrub · Pull Request #19687 · ArduPilot/ardupilot · GitHub

  • Add option to send GPS out
  • Pass-through from e.g. serial GPS into UAVCAN
  • We shouldn’t pass stale data
  • Stop sending aux
  • Send yaw separately
  • Latencies?
    • 10s of ms probably doesn’t matter

UTC0010 - add support for mavlink in-progress message by peterbarker · Pull Request #22317 · ArduPilot/ardupilot · GitHub

  • Add support for mavlink in progress message
  • MergeOnCIPass
  • Was flight tested

UTC0011 - Add support for JUMP_TAG mission items by magicrub · Pull Request #22421 · ArduPilot/ardupilot · GitHub

  • Support for JUMP_TAG mission
  • Examples added
  • Get-index-of-jump-tag could be expensive?
    • Tridge has a patch later in the call for it
  • Tridge is happy with the structure
  • CI tests need to pass

UTC0016 - AP_Dal: populate missing fields `learn_offsets_enabled` and `ekf_type` by IamPete1 · Pull Request #22781 · ArduPilot/ardupilot · GitHub

  • Populate missing fields learn_offsets_enabled and ekf_type
  • Needs in-flight testing still

UTC0018 - AP_Motors: move Thrust Linearization functions and variables to own class by IamPete1 · Pull Request #22787 · ArduPilot/ardupilot · GitHub

  • Move thrust linearization functions and variables to own function
  • Needs some flight testing

UTC0023 - AP_OSD:add aspect ratio correction for DisplayPort by Hwurzburg · Pull Request #22901 · ArduPilot/ardupilot · GitHub

  • Add aspect ratio correction for DisplayPort
  • Merged

UTC0024 - Plane: move acro and training stablisation into mode classes by IamPete1 · Pull Request #22908 · ArduPilot/ardupilot · GitHub

  • Move acro and training stabilisation into mode classes
  • Lots of testing now done
  • Training mode on addiction X doesn’t work well
    • Flips through to other side!
    • Very high roll rates with very high limits
  • Merged!

UTC0025 - Rangefinder: add param OPTIONS to apply Earth frame rotation to sensor by magicrub · Pull Request #22916 · ArduPilot/ardupilot · GitHub

  • Add param options to apply earth-frame rotation
  • True-agl via rangefinder data
  • Rangefinder options bit to change behaviour
  • Distance sensor message needs an appropriate frame rather than reporting as pitch-270

UTC0041 - CursorOnTarget: add basic position announcement by magicrub · Pull Request #22917 · ArduPilot/ardupilot · GitHub

  • Cursor on target
  • Add basic position announcement
  • Why not LUA?
  • “ATAC”
  • Again, messages in LUA, parsing in C++?
  • XML generation in C++ is kind of awful
  • XML parsing in next PR
  • Generally using XML parser in C++ and use LUA to interpret results
  • There are a lot of ATAC messages!
  • GCS assistance in getting LUA functionality onto vehicles is a problem
  • Doing this ”properly” in LUA comes off as “amateur”?
    • Copter dead-reckoning in SITL
      • Not enough heap-size
  • Can of worms
  • AP_ATAC word seem to make more sense than AP_CursorOnTarget
  • Tridge thinks we should look at XML libraries but then send CursorOnTarget out as a LUA script

UTC0106 - Mission: added support for mission storage on microSD by tridge · Pull Request #22921 · ArduPilot/ardupilot · GitHub

  • Storage of missions in SD cards
  • ROMFS missions?
  • We’re overflowing onto the SD card
  • What happens if you change the SD card?
    • You will have a partial, invalid mission
    • MIS_TOTAL parameter will say there’s a bunch of
  • This is off by default

UTC0124 - Add AUX_FUNC::BATTERY_MPPT_ENABLE for MPPT enable override by magicrub · Pull Request #22965 · ArduPilot/ardupilot · GitHub

  • Mppt enable override
  • Will move battery_mppt_enable

UTC0134 - RC_Channel:Add mag cal switch by Hwurzburg · Pull Request #22924 · ArduPilot/ardupilot · GitHub

  • Compass cal on switch
  • No more reboot
  • Merged!

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

  • Plane update
  • 4.3.4beta2 went out
  • Important fix which only affected Plane relating to setting of home when the EKF is unhappy with the GPS
  • Another bug in LUA found
    • PWMSource in GPIO
      • No destructor
      • Interrupt can still go off, corrupting your memory
  • Need to be careful about anything which can attach interrupts
    • Need to detach on free!

UTC0043 - Copter/Rover-4.3 issues list · Issue #21711 · ArduPilot/ardupilot · GitHub

  • New rcs are out there
  • No big issues apart from those mentioned
  • Guided-mode yaw handling can be problematic
    • Nothing new
  • KDENCAN still stuffed?

UTC0048 - close

UTC0049 - DevTeam members: apply for travel funding to conference now!

Thanks for capturing the meeting notes and inviting me to my first dev call. Also, thanks for all the guidance on the DDS prototype :smiley: Looking forward to getting this rolling.