Struct SYN_PID_Config¶
PID controller configuration.
#include <syn_pid.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | d_filter_alpha |
| int32_t | integral_max |
| int32_t | kd |
| int32_t | ki |
| int32_t | kp |
| int32_t | out_max |
| int32_t | out_min |
| int32_t | scale |
Public Attributes Documentation¶
variable d_filter_alpha¶
EMA alpha for D-term (0=off, 255=no filter)
variable integral_max¶
Max integral accumulator (0 = auto)
variable kd¶
Derivative gain (÷ scale)
variable ki¶
Integral gain (÷ scale × 1000)
variable kp¶
Proportional gain (÷ scale)
variable out_max¶
Maximum output value
variable out_min¶
Minimum output value
variable scale¶
Gain divisor (e.g., 256 for 8-bit)
The documentation for this class was generated from the following file src/syntropic/control/syn_pid.h