MasterFOC 0.0.1
Data Fields
PID_para Struct Reference

PID parameter structure. More...

#include <control.h>

Data Fields

float kp
 
float ki
 
float kd
 
float target
 
float err
 
float err_pre
 
float err_sum
 

Detailed Description

PID parameter structure.

pid parameters and target, error, previous error, and sum of error

Definition at line 50 of file control.h.

Field Documentation

◆ err

float err

Definition at line 52 of file control.h.

◆ err_pre

float err_pre

Definition at line 52 of file control.h.

◆ err_sum

float err_sum

target, error, previous error, and sum of error

Definition at line 52 of file control.h.

◆ kd

float kd

pid parameters

Definition at line 51 of file control.h.

◆ ki

float ki

Definition at line 51 of file control.h.

◆ kp

float kp

Definition at line 51 of file control.h.

◆ target

float target

Definition at line 52 of file control.h.


The documentation for this struct was generated from the following file: