grblHAL core  20241107
pid.h File Reference
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  pid_values_t
 
struct  pidf_t
 

Functions

void pidf_reset (pidf_t *pid)
 
void pidf_init (pidf_t *pid, pid_values_t *config)
 
bool pidf_config_changed (pidf_t *pid, pid_values_t *config)
 
float pidf (pidf_t *pid, float command, float actual, float sample_rate)
 

Function Documentation

◆ pidf()

float pidf ( pidf_t pid,
float  command,
float  actual,
float  sample_rate 
)

◆ pidf_config_changed()

bool pidf_config_changed ( pidf_t pid,
pid_values_t config 
)

◆ pidf_init()

void pidf_init ( pidf_t pid,
pid_values_t config 
)

◆ pidf_reset()

void pidf_reset ( pidf_t pid)