PX4 Firmware
PX4 Autopilot Software http://px4.io
control::BlockDelay< Type, M, N, LEN > Class Template Reference

#include <BlockDelay.hpp>

Inheritance diagram for control::BlockDelay< Type, M, N, LEN >:
Collaboration diagram for control::BlockDelay< Type, M, N, LEN >:

Public Member Functions

 BlockDelay (SuperBlock *parent, const char *name)
 
virtual ~BlockDelay ()=default
 
matrix::Matrix< Type, M, N > update (const matrix::Matrix< Type, M, N > &u)
 
matrix::Matrix< Type, M, N > get (size_t delay)
 
- Public Member Functions inherited from control::Block
 Block (SuperBlock *parent, const char *name)
 
virtual ~Block ()=default
 
 Block (const Block &)=delete
 
Blockoperator= (const Block &)=delete
 
 Block (Block &&)=delete
 
Blockoperator= (Block &&)=delete
 
void getName (char *name, size_t n)
 
virtual void updateParams ()
 
virtual void setDt (float dt)
 
float getDt ()
 
- Public Member Functions inherited from ListNode< Block *>
void setSibling (Block * sibling)
 
const Block * getSibling () const
 

Private Attributes

matrix::Matrix< Type, M, N > _h [LEN]
 
size_t _index
 
int _delay
 

Additional Inherited Members

- Protected Member Functions inherited from control::Block
virtual void updateParamsSubclass ()
 
SuperBlockgetParent ()
 
List< BlockParamBase * > & getParams ()
 
- Protected Attributes inherited from control::Block
const char * _name
 
SuperBlock_parent
 
float _dt {0.0f}
 
List< BlockParamBase * > _params
 
- Protected Attributes inherited from ListNode< Block *>
Block * _list_node_sibling
 

Detailed Description

template<class Type, size_t M, size_t N, size_t LEN>
class control::BlockDelay< Type, M, N, LEN >

Definition at line 59 of file BlockDelay.hpp.

Constructor & Destructor Documentation

◆ BlockDelay()

template<class Type, size_t M, size_t N, size_t LEN>
control::BlockDelay< Type, M, N, LEN >::BlockDelay ( SuperBlock parent,
const char *  name 
)
inline

Definition at line 63 of file BlockDelay.hpp.

◆ ~BlockDelay()

template<class Type, size_t M, size_t N, size_t LEN>
virtual control::BlockDelay< Type, M, N, LEN >::~BlockDelay ( )
virtualdefault

Member Function Documentation

◆ get()

template<class Type, size_t M, size_t N, size_t LEN>
matrix::Matrix<Type, M, N> control::BlockDelay< Type, M, N, LEN >::get ( size_t  delay)
inline

Definition at line 99 of file BlockDelay.hpp.

Referenced by BlockLocalPositionEstimator::getDelayPeriods(), BlockLocalPositionEstimator::gpsCorrect(), and BlockLocalPositionEstimator::visionCorrect().

Here is the caller graph for this function:

◆ update()

template<class Type, size_t M, size_t N, size_t LEN>
matrix::Matrix<Type, M, N> control::BlockDelay< Type, M, N, LEN >::update ( const matrix::Matrix< Type, M, N > &  u)
inline

Definition at line 70 of file BlockDelay.hpp.

Referenced by control::blockDelayTest(), blockDelayTest(), and BlockLocalPositionEstimator::Run().

Here is the caller graph for this function:

Member Data Documentation

◆ _delay

template<class Type, size_t M, size_t N, size_t LEN>
int control::BlockDelay< Type, M, N, LEN >::_delay
private

Definition at line 111 of file BlockDelay.hpp.

◆ _h

template<class Type, size_t M, size_t N, size_t LEN>
matrix::Matrix<Type, M, N> control::BlockDelay< Type, M, N, LEN >::_h[LEN]
private

Definition at line 109 of file BlockDelay.hpp.

◆ _index

template<class Type, size_t M, size_t N, size_t LEN>
size_t control::BlockDelay< Type, M, N, LEN >::_index
private

Definition at line 110 of file BlockDelay.hpp.


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