Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
PID Class Reference

#include <pid.h>

Collaboration diagram for PID:

Public Member Functions

 PID ()
 
 PID (PID_Algorithm *algo)
 
 PID (PID &&)=default
 
 PID (const PID &)=default
 
PIDoperator= (PID &&)=default
 
PIDoperator= (const PID &)=default
 
 ~PID ()
 
void set_Algorithm (PID_Algorithm *algo)
 
PID_Algorithmget_Algorithm ()
 
float compute_PID (float err, uint32_t dt_millis)
 
void clear ()
 

Private Attributes

PID_Algorithmalgo_
 

Constructor & Destructor Documentation

◆ PID() [1/4]

PID::PID ( )
inline

◆ PID() [2/4]

PID::PID ( PID_Algorithm algo)
inline
Here is the call graph for this function:

◆ PID() [3/4]

PID::PID ( PID &&  )
default

◆ PID() [4/4]

PID::PID ( const PID )
default

◆ ~PID()

PID::~PID ( )
inline

Member Function Documentation

◆ clear()

void PID::clear ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_PID()

float PID::compute_PID ( float  err,
uint32_t  dt_millis 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_Algorithm()

PID_Algorithm* PID::get_Algorithm ( )
inline
Here is the caller graph for this function:

◆ operator=() [1/2]

PID& PID::operator= ( PID &&  )
default

◆ operator=() [2/2]

PID& PID::operator= ( const PID )
default

◆ set_Algorithm()

void PID::set_Algorithm ( PID_Algorithm algo)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ algo_

PID_Algorithm* PID::algo_
private

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