ezeio2:scriptref:pid_new

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ezeio2:scriptref:pid_new [2022-03-30 23:40] andrehezeio2:scriptref:pid_new [2022-03-30 23:44] (current) andreh
Line 5: Line 5:
 === Description === === Description ===
  
-<code>PID_new( pid[], Float:set, Float:out )</code> +<code>PID_new( pid[], Float:set, Float:out ) // set up new PID</code> 
-<code>PID_dir( pid[], direction )</code> +<code>PID_dir( pid[], direction ) // set direction of control</code> 
-<code>PID_set( pid[], Float:set )</code> +<code>PID_set( pid[], Float:set ) // adjust the target value</code> 
-<code>PID_tune( pid[], Float:Kp, Float:Ki, Float:Kd )</code> +<code>PID_tune( pid[], Float:Kp, Float:Ki, Float:Kd ) // set the P, I, D parameters</code> 
-<code>PID_limits( pid[], Float:min, Float:max )</code> +<code>PID_limits( pid[], Float:min, Float:max ) // set the control range</code> 
-<code>PID_update( pid[], Float:in )</code>+<code>PID_update( pid[], Float:in ) // update PID with feedback, and return new control value</code>
  
 === Parameters === === Parameters ===
  • ezeio2/scriptref/pid_new.txt
  • Last modified: 2022-03-30 23:44
  • by andreh