-
Notifications
You must be signed in to change notification settings - Fork 17.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast takeoff in poshold mode to midair then continue small shift can't hold its position #9442
Comments
Sorry but it is not clear what you are saying the problem is. I can't even see what you have plotted in your graph. Could you please attempt to describe this problem in more detail. |
Ok, I think I see what you are saying and I think I have fixed the issue. Could you test this? https://github.com/lthall/Leonard_ardupilot/tree/20180918-PosHoldFix Thank you very much for bringing this to our attention!! |
HI , I have tested your commit with SITL then the problem solved . |
Thanks!!! |
fix merged into master and will go out with -rc11. |
Bug report
Issue details
Fast takeoff (First let PILOT_SPEED_UP to 10m/s then full throttle takeoff in poshold mode) in poshold mode to midair then continue small shift can't hold its position !
And I find it due to code in mode_poshold.cpp there are 3 call for loiter_nav->init_target();
Version
copter-3.6/master
Platform
[ ] All
[ ] AntennaTracker
[ ✔ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
Airframe type
hex copter
Hardware type
SITL & PX4-V2
Logs
https://drive.google.com/file/d/1dChBmx2aOMKALWHLzCjgYflMhGAB6Wgg/view
The text was updated successfully, but these errors were encountered: