motor_pid_s_t struct

Holds just the constants for a Motor's position or velocity PID controls.

These values are in 4.4 format, meaning that a value of 0x20 represents 2.0, 0x21 represents 2.0625, 0x22 represents 2.125, etc.

Public variables

uint8_t kf
The feedforward constant.
uint8_t kp
The proportional constant.
uint8_t ki
The integral constants.
uint8_t kd
The derivative constant.