Some users may accidentally kick off autotrim while the vehicle is landed by holding throttle down and yaw right for 10 seconds after arming. Their roll and pitch inputs will update the trims of the vehicle whether it's flying or not. This can lead to users messing up the trim values and their copters will not fly straight.
It's probably best to avoid this by:
1. only updating the trims if the vehicle is flying
2. improve communication with the user by sending text messages to the ground station (or add special autotrim status message) and adding some tone-alarm sounds (pixhawk only) as the process starts and finishes.
It is a bit silly. We could have an auto-level part of autotune that holds position and slowly rotates 360deg maybe 5-10 times, and averages the target tilt over that period.
We can do it at the same time we add station-keeping to autotune! Its like a unicorn!
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
All pretty moot before we have temperature stabilized IMUs, anyway. A 0.2 m/s/s change in bias error due to temperature will result in about 1 degree of trim error, causing your copter to fly away at about 20 cm/s/s. So, ignoring drag (which tends to be small at these kinds of speeds)
Second 1: 10 cm, 20 cm/s
Second 2: 40 cm, 40 cm/s
Second 3: 90 cm, 60 cm/s
Second 4: 1.6 m, 80 cm/s
Second 5: 2.5 m, 1 m/s
This, of course, increases if you get more temp drift than 0.2m/s/s
Ever since I was introduced to this feature, I’ve used it religiously when setting up new copters as well as after making any changes to a copter. Good on those folks who don’t feel its useful, there’s nothing saying anyone HAS to use it, but to remove it simply because some folks don’t use it doesn’t seem to bring any value.
I’m in favor of some kind of is_flying() check but the feature, especially as Leonard described with activating it, should not be deprecated. If temp compensation goes in or there is a future change to Autotune that allows for station keeping as Jon described, then great, but for now the feature works quite well as-is. Just because some folks don’t use it doesn’t mean it should be removed from the ones that do! And I think the use-case Rob described is due to not using it properly, not with a defect in the option itself. Could be wrong though!
--
Rob,
Yes, I think that would be good. We should also perhaps not start the timer until that flag clears (I think the user gets about 20sec of flight to set the trims).
-Randy