Skip to content
Snippets Groups Projects
Commit 1b9ed144 authored by rmackay9's avatar rmackay9
Browse files

ArduCopter: updated standard loiter pids.

Loiter_P (speed from distance to target) = 0.2 (was 0.35)
Loiter_Rate_P (lean angle from desired acceleration) = 2.4 (was 2.5)
Loiter_Rate_I = unchanged at 0.08
Loiter_Rate_D = 0.40 (was 0.45)
parent fca914b7
No related branches found
No related tags found
No related merge requests found
......@@ -705,7 +705,7 @@
// Loiter control gains
//
#ifndef LOITER_P
# define LOITER_P .35
# define LOITER_P .20
#endif
#ifndef LOITER_I
# define LOITER_I 0.0
......@@ -718,13 +718,13 @@
// Loiter Navigation control gains
//
#ifndef LOITER_RATE_P
# define LOITER_RATE_P 2.5 //
# define LOITER_RATE_P 2.4 //
#endif
#ifndef LOITER_RATE_I
# define LOITER_RATE_I 0.08 // Wind control
#endif
#ifndef LOITER_RATE_D
# define LOITER_RATE_D 0.45 // try 2 or 3 for LOITER_RATE 1
# define LOITER_RATE_D 0.40 // try 2 or 3 for LOITER_RATE 1
#endif
#ifndef LOITER_RATE_IMAX
# define LOITER_RATE_IMAX 30 // degrees
......
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