pid: more sensible default parameters
This commit is contained in:
parent
5c84b7438b
commit
1539b624bd
@ -25,10 +25,10 @@ pub struct Parameters {
|
|||||||
impl Default for Parameters {
|
impl Default for Parameters {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Parameters {
|
Parameters {
|
||||||
kp: 1.5,
|
kp: 0.0,
|
||||||
ki: 1.0,
|
ki: 0.0,
|
||||||
kd: 1.5,
|
kd: 0.0,
|
||||||
output_min: 0.0,
|
output_min: -2.0,
|
||||||
output_max: 2.0,
|
output_max: 2.0,
|
||||||
integral_min: -10.0,
|
integral_min: -10.0,
|
||||||
integral_max: 10.0,
|
integral_max: 10.0,
|
||||||
|
Loading…
Reference in New Issue
Block a user