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

The wbt::RelativeTransform class. More...

#include <RelativeTransform.h>

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

Detailed Description

The wbt::RelativeTransform class.

Parameters

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

Type Index Rows Cols Name
::STRING 0 + WBBlock::NumberOfParameters 1 1 "Frame1"
::STRING 1 + WBBlock::NumberOfParameters 1 1 "Frame2"

Classes

class  impl
 

Public Member Functions

 RelativeTransform ()
 
 ~RelativeTransform () 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 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

◆ RelativeTransform()

RelativeTransform::RelativeTransform ( )

◆ ~RelativeTransform()

RelativeTransform::~RelativeTransform ( )
overridedefault

Member Function Documentation

◆ configureSizeAndPorts()

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

◆ initialize()

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

◆ numberOfParameters()

unsigned RelativeTransform::numberOfParameters ( )
override

◆ output()

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

◆ parseParameters()

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

◆ terminate()

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

Member Data Documentation

◆ pImpl

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

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