Comments (8)
Still the case?
from ardupilot.
from ardupilot.
@davidbuzz or @peterbarker
Is the functionality to test that described in
https://ardupilot.org/copter/docs/autotrim.html and
https://ardupilot.org/rover/docs/savetrim.html, or is there more?
Should it include https://ardupilot.org/plane/docs/auto-trim.html as well?
Thanks - Jim
from ardupilot.
@JimStockwell this issue only covers Copter's trim and auto-trim - which is actually a completely different animal to Plane's servo-autotrim. It's also different to Copter's save-steering-trim function!
https://github.com/ardupilot/ardupilot/blob/master/ArduCopter/RC_Channel.cpp#L640 and https://github.com/ardupilot/ardupilot/blob/master/ArduCopter/RC_Channel.cpp#L621 are the functions in question.
from ardupilot.
Thank you @peterbarker!
from ardupilot.
@peterbarker, in broad outline, do you think an autotest would look something like the following?
Set parameters AHRS_TRIM_X and _Y to something other than zero, check that we don't fly straight and level, simulate auto_trim, then check that we do fly straight and level? Same thing with save_trim?
Thanks for any advice,
- Jim
from ardupilot.
@JimStockwell that would seem to cover it.
Usually I'm all for more tests. But I actually think Copter's "auto trim" functionality is a candidate for removal.
@rmackay9 do you think this feature is ever used in practise?
Saving Rover's steering trim ought to be a trivial test - possibly wedge it into "Drive Manual". It's essentially zero cost to test - set the option, fiddle the trim to a known bad value, trigger the option, check the trim is equal to the current servo output. I'd be curious to know what this does on our weirder frames, however - Omni and pivot-steering. That might be an interesting experiment!
from ardupilot.
I've used autotrim and I know that people with leaning microcopters do as well
from ardupilot.
Related Issues (20)
- DFU / USB Device Descriptor broken in Bootloader HOT 3
- Takeoff in GUIDED mode without GPS/GNSS but SLAM HOT 6
- Rover: SITL RTL_SPEED only allows 1m/s increments contrary to description HOT 1
- Copter: allow Loiter mode surface tracking to use the terrain database
- AP_Camera: 2nd camera should use different PWM output HOT 2
- AP_Mount: DJI RS2/3 should support "follow" during RC rate control
- Ardupilot v4.5.1 Batt4 Percentage Issue HOT 3
- Random values when sending mode switch request in SITL with ROS2 HOT 5
- Copter reverse motors via Lua
- ROS Guided control ambiguous behavior on which control commands have timeout or flyaway risk
- AP_GPS_GSOF: Supply 5Hz GPS for robust EKF
- AP_GPS_GSOF: Initial EAHRS support
- AP_Mount: add support for Siyi ZT6
- Ardupilot V4.5.x - ESC telemetry on the OSD has "stopped working" HOT 3
- ardu plane 4.5.2 flight modes not processed HOT 2
- AP_Mount: Siyi, SToRM32_serial and ViewPro drivers always use 1st gimbal serial device
- MOT_PWM_MIN, MOT_PWM_MAX are reset to default values automatically HOT 7
- Copter/SITL: Guided mode can produce, "Should not be called on invalid location"
- Blitz H7 Pro Logging HOT 1
- COPTER / KAKUTE F7 buzzer startup scream on kakute F7 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ardupilot.