lowered Loiter I, commented out unused var

This commit is contained in:
Jason Short 2012-01-14 10:55:06 -08:00
parent c02b403a06
commit 95ac9d163e
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ static int16_t
get_nav_throttle(int32_t z_error)
{
static int16_t old_output = 0;
static int16_t rate_d = 0;
//static int16_t rate_d = 0;
int16_t rate_error;
int16_t output;

View File

@ -614,7 +614,7 @@
# define LOITER_P 2.0 // was .25 in previous
#endif
#ifndef LOITER_I
# define LOITER_I 0.05 // Wind control
# define LOITER_I 0.04 // Wind control
#endif
#ifndef LOITER_IMAX
# define LOITER_IMAX 30 // degrees°