MAV'RIC
Public Attributes | List of all members
pid_controller_t Struct Reference

PID controller. More...

#include <pid_controller.h>

Collaboration diagram for pid_controller_t:
Collaboration graph

Public Attributes

float p_gain
 Proportional gain.
 
float clip_min
 Min clipping values.
 
float clip_max
 Max clipping values.
 
integrator_t integrator
 Integrator parameters.
 
differentiator_t differentiator
 Differentiator parameters.
 
float output
 Output.
 
float error
 Error.
 
uint32_t last_update
 Last update time in timer tick.
 
float dt
 Time step.
 
float soft_zone_width
 Approximate width of a "soft zone" on the error input, i.e. a region of low gain around the target point. Value 0 -> switched off.
 

Detailed Description

PID controller.


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