You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi !
It would be nice to add JSON tags to the conf structure to automate controller configuration. In my case this required me to create a structure with tags and cast it into your, I think this could be simplified by adding it to yours.
Here's my suggestion:
// ControllerConfig contains configurable parameters for a Controller.typeControllerConfigstruct {
// ProportionalGain determines ratio of output response to error signal.ProportionalGainfloat64`json:"kp"`// IntegralGain determines previous error's affect on output.IntegralGainfloat64`json:"ki"`// DerivativeGain decreases the sensitivity to large reference changes.DerivativeGainfloat64`json:"kd"`
}
Best regards.
The text was updated successfully, but these errors were encountered:
Hi !
It would be nice to add JSON tags to the conf structure to automate controller configuration. In my case this required me to create a structure with tags and cast it into your, I think this could be simplified by adding it to yours.
Here's my suggestion:
Best regards.
The text was updated successfully, but these errors were encountered: