PX4 Firmware
PX4 Autopilot Software http://px4.io
|
A uniform random number generator. More...
#include <BlockRandUniform.hpp>
Public Member Functions | |
BlockRandUniform (SuperBlock *parent, const char *name) | |
virtual | ~BlockRandUniform ()=default |
float | update () |
float | getMin () |
float | getMax () |
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) |
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 | |
control::BlockParamFloat | _min |
control::BlockParamFloat | _max |
Additional Inherited Members | |
Protected Member Functions inherited from control::Block | |
virtual void | updateParamsSubclass () |
SuperBlock * | getParent () |
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 |
A uniform random number generator.
Definition at line 61 of file BlockRandUniform.hpp.
|
inline |
Definition at line 65 of file BlockRandUniform.hpp.
|
virtualdefault |
|
inline |
Definition at line 85 of file BlockRandUniform.hpp.
Referenced by control::blockRandUniformTest(), and blockRandUniformTest().
|
inline |
Definition at line 84 of file BlockRandUniform.hpp.
Referenced by control::blockRandUniformTest(), and blockRandUniformTest().
|
inline |
Definition at line 76 of file BlockRandUniform.hpp.
Referenced by control::blockRandUniformTest(), and blockRandUniformTest().
|
private |
Definition at line 89 of file BlockRandUniform.hpp.
|
private |
Definition at line 88 of file BlockRandUniform.hpp.