Struct SYN_PID¶
PID controller instance — config + accumulated state.
#include <syn_pid.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_PID_Config | cfg |
| bool | first |
| int32_t | integral |
| int32_t | output |
| int32_t | prev_d_filtered |
| int32_t | prev_error |
Public Attributes Documentation¶
variable cfg¶
Configuration snapshot
variable first¶
True before first update
variable integral¶
Accumulated integral
variable output¶
Last computed output
variable prev_d_filtered¶
Filtered derivative (Q0)
variable prev_error¶
Previous error for derivative
The documentation for this class was generated from the following file src/syntropic/control/syn_pid.h