Hallo! Wozu wird in der Datenstruktur arm_pid_instance_f32 der ARM-CMSIS-DSP/PID Library das Feld "state[3]" benötigt?
1 | typedef struct |
2 | {
|
3 | float32_t A0; /**< The derived gain, A0 = Kp + Ki + Kd . */ |
4 | float32_t A1; /**< The derived gain, A1 = -Kp - 2Kd. */ |
5 | float32_t A2; /**< The derived gain, A2 = Kd . */ |
6 | float32_t state[3]; /**< The state array of length 3. */ |
7 | float32_t Kp; /**< The proportional gain. */ |
8 | float32_t Ki; /**< The integral gain. */ |
9 | float32_t Kd; /**< The derivative gain. */ |
10 | } arm_pid_instance_f32; |
VG Deepdiver99