-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
MC - Loops maneuvers when MPC_XY_CRUISE > MPC_XY_VEL_MAX #11420
Comments
Ouch, we should force cruise < max |
@bresch how can you 'force' that? is it ok by you to change the parameter flash value if it doesn't apply the rule? or just whereever it being get() do the constrain? |
Usually we constrain the parameter when we read using |
@bresch for MPC_XY_CRUISE, there is no single point where we read the parameter and can modify it, it uses the new px4_params defined that I am not sure where I can rightlly fix that. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Don't close that |
I am not sure what fixed this behavior but it doesn't happens on current master enymore. |
Fixed by #12404 |
Reducing the MPC_XY_VEL_MAX to lower value then MPC_XY_CRUISE make the drone to fly in very strange way, it makes "loops" and fly backwards every few seconds.
This was tested on simulator only.
https://logs.px4.io/plot_app?log=14e8cf1c-2fca-4cf8-ba0d-26ea8c5dd5d1
To reproduce:
• Run simulator, with default parameters
• takeoff and fly-to remote location
• everything normal
• set MPC_XY_VEL_MAX 2
• you will see that every ~10 second the drone fly back, do some strange loop
• set MPC_XY_ CRUISE 2
• the drone fly slow, but ok
The text was updated successfully, but these errors were encountered: