var searchIndex = {}; searchIndex["pid_control"] = {"doc":"Software PID controller","items":[[3,"PIDController","pid_control","PID Controller.",null,null],[12,"p_gain","","Proportional gain",0,null],[12,"i_gain","","Integral gain",0,null],[12,"d_gain","","Differential gain,",0,null],[12,"i_min","","",0,null],[12,"i_max","","",0,null],[12,"out_min","","",0,null],[12,"out_max","","",0,null],[12,"d_mode","","",0,null],[4,"DerivativeMode","","PID controller derivative modes.",null,null],[13,"OnError","","Calculate derivative of error (classic PID-Controller)",1,null],[13,"OnMeasurement","","Calculate derivative of actual changes in value.",1,null],[0,"util","","Utility module.",null,null],[5,"limit_range","pid_control::util","Caps a value inside a certain range.",null,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"t"}}],[8,"Controller","pid_control","A generic controller interface.",null,null],[10,"update","","Record a measurement from the plant.",2,null],[10,"set_target","","Adjust set target for the plant.",2,null],[10,"target","","Retrieve target value.",2,null],[10,"reset","","Reset internal state.",2,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"new","","Creates a new PID Controller.",0,{"inputs":[{"name":"f64"},{"name":"f64"},{"name":"f64"}],"output":{"name":"pidcontroller"}}],[11,"set_limits","","Convenience function to set `i_min`/`i_max` and `out_min`/`out_max`\nto the same values simultaneously.",0,null],[11,"set_target","","",0,null],[11,"target","","",0,null],[11,"update","","",0,null],[11,"reset","","",0,null]],"paths":[[3,"PIDController"],[4,"DerivativeMode"],[8,"Controller"]]}; initSearch(searchIndex);