Georacer
(George Zogopoulos)
April 23, 2025, 8:48am
1
Attendees (unique) : 17
master
← heeplr:board-pilotpi
opened 01:22PM - 27 Sep 24 UTC
Adds "pilotpi" board to support https://docs.px4.io/main/en/flight_controller/ra… spberry_pi_pilotpi.html
UTC0702
Peter : Left a review.
He’s trying to use bot GPIO and RC9568.
RC library could use some love.
master
← priseborough:pr-plane-tilt-throttle-fix
opened 10:09PM - 04 Apr 25 UTC
This is a fix for the instant forward motor(s) throttle drop that can occur when… a quadplane with tilting rotors completes the transition from VTOL to FW flight. This issue was reported here https://github.com/ArduPilot/ardupilot/issues/28957
This fix:
Extends the functionality of the set_throttle_min function such that the rate that the lower limit releases can be controlled by a TECS_THR_ERATE parameter and the throttle out previous value used by the TECS throttle rate limiter can also be optionally reset. If TECS_THR_ERATE is <=0 the legacy behaviour will be observed, ie the minimum throttle will be held for one TECS frame after the function is called.
Adds a function to the motors library that enables the raw normalised throttle demand to be obtained for a specified motor index.
Adds a function to the SRV_Channels library that enables the slew rate limiter state to be set for a specified channel function.
Adds a function to the tiltrotor class that provides the mean throttle of all tilting motors.
When the transition into FW flight is ready to complete it checks for a throttle demand from tilting rotors or if not available the forward motor throttle demand. The TECS minimum throttle and SRV_Channels forward throttle are both set to this value.
Testing on a multirotor VTOL with forrward tilting motors shows that the TECS throttle lower limit is set and releases at the specified 0.2 rate.
<img width="1040" alt="Screenshot 2025-04-04 at 9 58 10 PM" src="https://github.com/user-attachments/assets/577242e4-a1ad-497a-8223-caa61236b1e5" />
<img width="1040" alt="Screenshot 2025-04-04 at 9 57 40 PM" src="https://github.com/user-attachments/assets/c2ec7a1a-c221-4f33-a5b0-01ccdb2f1708" />
<img width="1044" alt="Screenshot 2025-04-04 at 9 57 00 PM" src="https://github.com/user-attachments/assets/16c76817-4f35-4a7e-9afa-a6af7c1922c5" />
Here's a before and after for a SITL test using the -v Plane -f quadplane-tilthvec option
Before - the throttles of the tilting motors step to 0 before increasing
<img width="1057" alt="Screenshot 2025-04-07 at 8 06 41 AM" src="https://github.com/user-attachments/assets/beff4e09-856e-4f86-be7a-74006f536f19" />
After - the throttles of the tilting motors ramp down smoothly
<img width="1051" alt="Screenshot 2025-04-07 at 8 04 35 AM" src="https://github.com/user-attachments/assets/e8003727-a244-44bd-a202-c37abefd0a89" />
UTC0704
Paul : I’d like to discuss with Pete Hall about a comment of his.
George : He’s usually not here. You can try in the other Dev Call or find him online.
master
← andyp1per:pr-fence-warning-missing
opened 01:58PM - 10 Apr 25 UTC
It seems I did not push the latest changes for https://github.com/ArduPilot/ardu… pilot/pull/28840 and it got merged without these. I am not quite sure what happened.
UTC0708
Andy : I made the changes Tridge asked for.
P : You’re using ExpandingString
.
A : Yes, it’s not the first time we use it.
P : Do you plan to have this string grow very large?
A : No, I use it to limit the size to one line of STATUSTEXT.
Randy : I’d prefer we didn’t add yet another parameter just for the warning rate. But it’s not a big deal.
master
← bugobliterator:pr-can-mcast-feature
opened 02:20PM - 14 Apr 25 UTC
Tested working with vscode extension using extract_features to show CAN MCAST an… d enable it.
UTC0717
Waiting for CI.
master
← andyp1per:pr-blheli-passthru-fixes2
opened 03:52PM - 22 Mar 25 UTC
soft serial input was both racy and prone to resetting the line mode incorrectly… .
soft serial input was decoding input with trailing 1's incorrectly
soft serial input could miss data when timing out and restarting
DMA output could be left in a bad state
UTC0720
Andy : Waiting for Tridge to test it.
master
← peterbarker:pr/baro-ownptr
opened 07:58AM - 22 Apr 25 UTC
I've flashed this onto CubeOrangePlus and ZeroOneX6 and both still see their bar… os.
Everything that built still builds.
Things still seem to have all of the baro features they used to have.
```
Board AP_Periph blimp bootloader copter heli iofirmware plane rover sub
CubeOrange-periph-heavy -896 *
CubeRedPrimary -800 * -800 -800 -800 -800 -912
Durandal -904 * -904 -904 -896 -896 -1112
Hitec-Airspeed * *
KakuteH7-bdshot -944 * -952 -944 -952 -952 -1184
MatekF405 -112 * -112 -112 -112 -104 -104
Pixhawk1-1M-bdshot -128 -128 -120 -128 -120 -344
f103-QiotekPeriph * *
f303-Universal -896 *
iomcu *
revo-mini -160 * -160 -160 -160 -160 -392
skyviper-journey -952
skyviper-v2450 -48
```
Looking more closely at the Durandal changes:

And each of the probe functions gets smaller:


... and the compiler is optimising better in there, too.
There's a couple of obvious follow-up cleanups which will save more bytes.
- holding reference-to-device rather than pointer-to-device
- possible creation of AP_Baro_I2C or similar as common base class for I2C barometers (init and constructors can be shared)
UTC0721
P : OwnPtr is an automatic mechanism to free memory.
But it is restrictive in its usage, also has an ugly syntax.
Rhys : Is it like a unique pointer?
P : Yes, it is. The problem with OwnPtr one is casting. Casting from a subclass into a parent class doesn’t work.
Removing it saves us 1k of flash.
Lucas de Marchi wrote this for us.
Rhys : The drawback of Unique Pointers is that they don’t play well with exceptions. But since we’re not using exceptions, perhaps they could be useful?
Std library has flavours of pointers for casting up and down a hierarchy, but we don’t have access to it in ArduPilot.
P : 3 more libraries remaining to extract OwnPtr.
Sid : Why not have the object as a reference, instead of a pointer? Of course you’d still need to be careful with its destruction.
P : That’s what we’re doing.
master
← peterbarker:pr/toshibaled-fixes
opened 12:19AM - 20 Apr 25 UTC
nullptr dereference in some examples.
We shouldn't be using it over there any… way.
Similarly for Scheduler
... and a couple of other issues raised in the ToshbibaLED example specifically
UTC0735
P : It’s malpractice to use the AP_Baro singleton in the SITL objects.
It introduces the artificial barometer noise into other SITL calculations.
master
← peterbarker:pr/private-alt-ac-wpnav-oa
opened 01:28AM - 16 Apr 25 UTC
this is mostly a comment, as I am trying to preserve existing behaviour while po… inting out something that does look quite right
UTC0742
P : Randy do you agree that this PR has no functional changes?
A : Agreed.
master
← bugobliterator:pr-ci-check-features
opened 12:13AM - 07 Mar 25 UTC
* Added a script extract_features_v2.py that generates AP_FeaturesValidator.cpp.…
* the source is compiled as part of the project, but not linked in the final step.
* as part of build summary generates extra features.txt file.
UTC0757
Sid : Let’s use a custom symbol, that exists only in the .elf, to allow extract_features.py to work properly for those features that don’t leave features around.
master
← topaz-244:throw-ascend-params
opened 10:38PM - 23 Feb 25 UTC
This adds parameters for throw mode so that the user can select how far the copt… er ascends or descends initially.
MergeOnCI
Peter accidentally closed the original PR. He created a new one at Copter: Throw mode add params for desired ascent alt after throw by peterbarker · Pull Request #29869 · ArduPilot/ardupilot · GitHub .
UTC0830
ardupilot-devenv VSCode plugin demonstration by Sid.