remove .abs from PID output
This commit is contained in:
@@ -110,7 +110,7 @@ impl PID {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
self.output = output.abs().clamp(-1.0, 1.0);
|
self.output = output.clamp(-1.0, 1.0);
|
||||||
|
|
||||||
//Return the output information
|
//Return the output information
|
||||||
return self.output;
|
return self.output;
|
||||||
|
|||||||
Reference in New Issue
Block a user