typedef struct _PID_Obj_
{
_iq Kp; //!< the proportional gain for the PID controller
_iq Ki; //!< the integral gain for the PID controller
_iq Kd; //!< the derivative gain for the PID controller
_iq Ui; //!< the integrator start value for the PID controller
_iq refValue; //!< the reference input value
_iq fbackValue; //!< the feedback input value
_iq outMin; //!< the minimum output value allowed for the PID controller
_iq outMax; //!< the maximum output value allowed for the PID controller
} PID_Obj;
typedef struct _PID_Obj_ *PID_Handle;
请教一下,如果我在申明一个PID结构体“PID_Handle pid_hadle”时,还需要声明“PID_Obj pid_obj”,然后将两者关联起来么"pid_handle = PID_init(&pid_obj,sizeof(pid_obj))"?