WB-Toolbox  6.0.0
ASimulinkToolboxforWholeBodyControl
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wbt::block::SetReferences Class Referencefinal

The wbt::SetReferences class. More...

#include <SetReferences.h>

Inheritance diagram for wbt::block::SetReferences:
[legend]

Detailed Description

The wbt::SetReferences class.

Parameters

In addition to WBBlock Parameters, wbt::SetReferences requires:

Type Index Rows Cols Name
::STRING 0 + WBBlock::NumberOfParameters 1 1 "CtrlType"
::DOUBLE 0 + WBBlock::NumberOfParameters 1 1 "TrajectoryReference"

Classes

class  impl
 

Public Member Functions

 SetReferences ()
 
 ~SetReferences () override
 
unsigned numberOfParameters () override
 
bool parseParameters (blockfactory::core::BlockInformation *blockInfo) override
 
bool configureSizeAndPorts (blockfactory::core::BlockInformation *blockInfo) override
 
bool initialize (blockfactory::core::BlockInformation *blockInfo) override
 
bool initializeInitialConditions (const blockfactory::core::BlockInformation *blockInfo) override
 
bool terminate (const blockfactory::core::BlockInformation *blockInfo) override
 
bool output (const blockfactory::core::BlockInformation *blockInfo) override
 
- Public Member Functions inherited from wbt::base::WBBlock
 WBBlock ()
 
 ~WBBlock () override
 
unsigned numberOfParameters () override
 
bool parseParameters (blockfactory::core::BlockInformation *blockInfo) override
 
bool configureSizeAndPorts (blockfactory::core::BlockInformation *blockInfo) override
 
bool initialize (blockfactory::core::BlockInformation *blockInfo) override
 

Private Attributes

std::unique_ptr< implpImpl
 

Additional Inherited Members

- Static Public Attributes inherited from wbt::base::WBBlock
static constexpr unsigned NumberOfParameters = Block::NumberOfParameters + 2
 The number of parameters WBBlock requires. More...
 
- Protected Member Functions inherited from wbt::base::WBBlock
std::shared_ptr< iDynTree::KinDynComputations > getKinDynComputations () const
 Helper for retrieving the iDynTree::KinDynComputations object. More...
 
const std::shared_ptr< wbt::base::RobotInterfacegetRobotInterface () const
 Helper for retrieving the wbt::RobotInterface object. More...
 
bool setRobotState (wbt::base::InputSignalPtr basePose, wbt::base::InputSignalPtr jointsPos, wbt::base::InputSignalPtr baseVelocity, wbt::base::InputSignalPtr jointsVelocity, iDynTree::KinDynComputations *kinDyn)
 Helper for setting the robot state inside the iDynTree::KinDynComputations object. More...
 
- Protected Attributes inherited from wbt::base::WBBlock
std::unique_ptr< iDynTreeRobotStatem_robotState
 
std::string m_confBlockName
 
std::shared_ptr< wbt::base::RobotInterfacem_robotInterface
 

Constructor & Destructor Documentation

◆ SetReferences()

SetReferences::SetReferences ( )

◆ ~SetReferences()

SetReferences::~SetReferences ( )
overridedefault

Member Function Documentation

◆ configureSizeAndPorts()

bool SetReferences::configureSizeAndPorts ( blockfactory::core::BlockInformation *  blockInfo)
override

◆ initialize()

bool SetReferences::initialize ( blockfactory::core::BlockInformation *  blockInfo)
override

◆ initializeInitialConditions()

bool SetReferences::initializeInitialConditions ( const blockfactory::core::BlockInformation *  blockInfo)
override

◆ numberOfParameters()

unsigned SetReferences::numberOfParameters ( )
override

◆ output()

bool SetReferences::output ( const blockfactory::core::BlockInformation *  blockInfo)
override

◆ parseParameters()

bool SetReferences::parseParameters ( blockfactory::core::BlockInformation *  blockInfo)
override

◆ terminate()

bool SetReferences::terminate ( const blockfactory::core::BlockInformation *  blockInfo)
override

Member Data Documentation

◆ pImpl

std::unique_ptr<impl> wbt::block::SetReferences::pImpl
private

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