PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <Block.hpp>
Public Member Functions | |
Block (SuperBlock *parent, const char *name) | |
virtual | ~Block ()=default |
Block (const Block &)=delete | |
Block & | operator= (const Block &)=delete |
Block (Block &&)=delete | |
Block & | operator= (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 |
Protected Member Functions | |
virtual void | updateParamsSubclass () |
SuperBlock * | getParent () |
List< BlockParamBase * > & | getParams () |
Protected Attributes | |
const char * | _name |
SuperBlock * | _parent |
float | _dt {0.0f} |
List< BlockParamBase * > | _params |
Protected Attributes inherited from ListNode< Block *> | |
Block * | _list_node_sibling |
Friends | |
class | BlockParamBase |
control::Block::Block | ( | SuperBlock * | parent, |
const char * | name | ||
) |
Definition at line 48 of file Block.cpp.
References control::SuperBlock::getChildren(), and getParent().
|
virtualdefault |
|
delete |
|
delete |
|
inline |
Definition at line 78 of file Block.hpp.
Referenced by control::blockDerivativeTest(), blockDerivativeTest(), blockHighPassTest(), control::blockHighPassTest(), control::blockIntegralTest(), blockIntegralTest(), control::blockIntegralTrapTest(), blockIntegralTrapTest(), control::blockLimitSymTest(), blockLimitSymTest(), blockLimitTest(), control::blockLimitTest(), control::blockLowPass2Test(), blockLowPass2Test(), control::blockLowPassTest(), blockLowPassTest(), blockOutputTest(), control::blockOutputTest(), control::blockPDTest(), blockPDTest(), control::blockPIDTest(), blockPIDTest(), control::blockPITest(), blockPITest(), blockPTest(), control::blockPTest(), control::blockRandGaussTest(), blockRandGaussTest(), control::blockRandUniformTest(), blockRandUniformTest(), BlockLocalPositionEstimator::predict(), control::BlockIntegral::update(), control::BlockHighPass::update(), control::BlockLowPass::update(), control::BlockIntegralTrap::update(), and control::BlockDerivative::update().
void control::Block::getName | ( | char * | name, |
size_t | n | ||
) |
Definition at line 57 of file Block.cpp.
References _name, control::blockNameLengthMax, getName(), and getParent().
Referenced by control::BlockParamBase::BlockParamBase(), getName(), control::SuperBlock::setDt(), control::SuperBlock::updateChildParams(), and updateParams().
|
inlineprotected |
Definition at line 85 of file Block.hpp.
Referenced by control::BlockParamBase::BlockParamBase(), and updateParams().
|
inlineprotected |
|
inlinevirtual |
Reimplemented in control::SuperBlock.
Definition at line 77 of file Block.hpp.
References dt.
Referenced by control::blockHighPassTest(), blockHighPassTest(), control::blockLowPass2Test(), blockLowPass2Test(), control::blockLowPassTest(), blockLowPassTest(), blockPTest(), control::blockPTest(), and control::SuperBlock::setDt().
|
virtual |
Reimplemented in control::SuperBlock.
Definition at line 79 of file Block.cpp.
References control::blockNameLengthMax, getName(), getParams(), ListNode< T >::getSibling(), control::maxParamsPerBlock, name, control::BlockParamBase::update(), and updateParamsSubclass().
Referenced by control::SuperBlock::updateChildParams(), and control::SuperBlock::updateParams().
|
inlineprotectedvirtual |
Definition at line 82 of file Block.hpp.
Referenced by updateParams().
|
friend |
|
protected |
Definition at line 89 of file Block.hpp.
Referenced by MulticopterPositionControl::Run().
|
protected |
|
protected |
|
protected |