NXPCUP-libary
Library for car's control board on NXPCUP competition based on the Mbed framework.
Classes | Public Member Functions | List of all members
atoms::Pid< T > Class Template Reference

#include <pid.h>

Classes

struct  Config
 
struct  State
 

Public Member Functions

 Pid (const Config &params)
 
Config get_params () const
 
void set_params (Config &p)
 
State get_state () const
 
void reset ()
 
step (T input, T desired_value)
 
step (T input, T desired_value, T time_step)
 

Constructor & Destructor Documentation

template<class T >
atoms::Pid< T >::Pid ( const Config params)
inline

Member Function Documentation

template<class T >
Config atoms::Pid< T >::get_params ( ) const
inline
template<class T >
State atoms::Pid< T >::get_state ( ) const
inline
template<class T >
void atoms::Pid< T >::reset ( )
inline
template<class T >
void atoms::Pid< T >::set_params ( Config p)
inline
template<class T >
T atoms::Pid< T >::step ( input,
desired_value 
)
inline
template<class T >
T atoms::Pid< T >::step ( input,
desired_value,
time_step 
)
inline

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