Skip to content
Snippets Groups Projects
Commit ad01aeee authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: increase max loiter overshoot to 8.12m

parent 8122a321
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
#define MAX_LEAN_ANGLE 4500 // default maximum lean angle
#define MAX_LOITER_OVERSHOOT 625.0f // maximum distance (in cm) that we will allow the target loiter point to be from the current location when switching into loiter
#define MAX_LOITER_OVERSHOOT 812.5f // maximum distance (in cm) that we will allow the target loiter point to be from the current location when switching into loiter
// D0 = MAX_LOITER_POS_ACCEL/(2*Pid_P^2);
// if MAX_LOITER_POS_VELOCITY > 2*D0*Pid_P
// MAX_LOITER_OVERSHOOT = D0 + MAX_LOITER_POS_VELOCITY.^2 ./ (2*MAX_LOITER_POS_ACCEL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment