PX4 Firmware
PX4 Autopilot Software http://px4.io
|
An output trim/ saturation block. More...
#include <BlockOutput.hpp>
Public Member Functions | |
BlockOutput (SuperBlock *parent, const char *name) | |
virtual | ~BlockOutput ()=default |
void | update (float input) |
float | getMin () |
float | getMax () |
float | getTrim () |
float | get () |
Public Member Functions inherited from control::SuperBlock | |
SuperBlock (SuperBlock *parent, const char *name) | |
~SuperBlock ()=default | |
SuperBlock (const SuperBlock &)=delete | |
SuperBlock & | operator= (const SuperBlock &)=delete |
SuperBlock (SuperBlock &&)=delete | |
SuperBlock & | operator= (SuperBlock &&)=delete |
void | setDt (float dt) override |
void | updateParams () override |
Public Member Functions inherited from control::Block | |
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) |
float | getDt () |
Public Member Functions inherited from ListNode< Block *> | |
void | setSibling (Block * sibling) |
const Block * | getSibling () const |
Private Attributes | |
control::BlockParamFloat | _trim |
BlockLimit | _limit |
float | _val |
Additional Inherited Members | |
Protected Member Functions inherited from control::SuperBlock | |
List< Block * > & | getChildren () |
void | updateChildParams () |
Protected Member Functions inherited from control::Block | |
virtual void | updateParamsSubclass () |
SuperBlock * | getParent () |
List< BlockParamBase * > & | getParams () |
Protected Attributes inherited from control::SuperBlock | |
List< Block * > | _children |
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 |
An output trim/ saturation block.
Definition at line 60 of file BlockOutput.hpp.
|
inline |
Definition at line 64 of file BlockOutput.hpp.
|
virtualdefault |
|
inline |
Definition at line 82 of file BlockOutput.hpp.
Referenced by control::blockOutputTest(), and blockOutputTest().
|
inline |
Definition at line 80 of file BlockOutput.hpp.
Referenced by control::blockOutputTest(), and blockOutputTest().
|
inline |
Definition at line 79 of file BlockOutput.hpp.
Referenced by control::blockOutputTest(), and blockOutputTest().
|
inline |
Definition at line 81 of file BlockOutput.hpp.
|
inline |
Definition at line 74 of file BlockOutput.hpp.
Referenced by control::blockOutputTest(), and blockOutputTest().
|
private |
Definition at line 86 of file BlockOutput.hpp.
|
private |
Definition at line 85 of file BlockOutput.hpp.
|
private |
Definition at line 87 of file BlockOutput.hpp.