PidState constructor

PidState({
  1. Header? header,
  2. RosDuration? timestep,
  3. double error = 0,
  4. double errorDot = 0,
  5. double pError = 0,
  6. double iError = 0,
  7. double dError = 0,
  8. double pTerm = 0,
  9. double iTerm = 0,
  10. double dTerm = 0,
  11. double iMax = 0,
  12. double iMin = 0,
  13. double output = 0,
})

Implementation

PidState({
  ros2.Header? header,
  ros2.RosDuration? timestep,
  this.error = 0,
  this.errorDot = 0,
  this.pError = 0,
  this.iError = 0,
  this.dError = 0,
  this.pTerm = 0,
  this.iTerm = 0,
  this.dTerm = 0,
  this.iMax = 0,
  this.iMin = 0,
  this.output = 0,
})  : header = header ?? ros2.Header(),
      timestep = timestep ?? ros2.RosDuration();