turned off iterm for traverse
This commit is contained in:
parent
b484fdab05
commit
2b5c039eae
@ -128,7 +128,7 @@ get_nav_throttle(int32_t z_error)
|
|||||||
int16_t rate_error;
|
int16_t rate_error;
|
||||||
|
|
||||||
// XXX HACK, need a better way not to ramp this i term in large altitude changes.
|
// XXX HACK, need a better way not to ramp this i term in large altitude changes.
|
||||||
float dt = (abs(z_error) < 400) ? .1 : 0.01;
|
float dt = (abs(z_error) < 400) ? .1 : 0.0;
|
||||||
|
|
||||||
// limit error to prevent I term run up
|
// limit error to prevent I term run up
|
||||||
z_error = constrain(z_error, -ALT_ERROR_MAX, ALT_ERROR_MAX);
|
z_error = constrain(z_error, -ALT_ERROR_MAX, ALT_ERROR_MAX);
|
||||||
|
Loading…
Reference in New Issue
Block a user