-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Trajectory mission slow final waypoint approach #11827
Comments
@MaEtUgR Yes, the default gains of the "virtual pilot" (MPC_XY_TRAJ_P and MPC_Z_TRAJ_P) are 0.3 and really conservative to ensure stability on a wide range of velocities, accelerations and jerks parameters. To decrease the time is takes to reach a waypoint, simply increase those gains. |
Then the solution might be to simply adjust the default. But if SITL on master already shows that behavior and it wasn't there before I still consider it an issue. |
#11841 Could be a viable solution. |
Describe the bug
When using the Jerk-limited trajectory (default,
MPC_AUTO_MODE
1) the final approach to a waypoint for example but not limited to the return altitude in RTL is significantly slower than with the previous implementation. Don't get me wrong, I would not prefer the old implementation but I think it's something we need to fix with medium priority.To Reproduce
It's also visible in SITL:
Expected behavior
It's clear that a jerky corner takes less time and we don't have an optimized trajectory around corners yet but it would be nice if the vehicle could break down what intuitively looks more spot on to the waypoint. Maybe that's just tuning.
Log Files and Screenshots
Should I create a comparison for approaching times?
Drone:
Additional context
Original trajectory based mission pr: #10746
The text was updated successfully, but these errors were encountered: