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

The wbt::SetMotorParameters class. More...

#include <SetMotorParameters.h>

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

Detailed Description

The wbt::SetMotorParameters class.

Parameters

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

Type Index Rows Cols Name
::BOOL 0 + WBBlock::NumberOfParameters 1 1 "SetP"
::BOOL 1 + WBBlock::NumberOfParameters 1 1 "SetI"
::BOOL 2 + WBBlock::NumberOfParameters 1 1 "SetD"
::STRING 3 + WBBlock::NumberOfParameters 1 1 "ControlType"
::BOOL 4 + WBBlock::NumberOfParameters 1 1 "SetKTau"
::STRING 5 + WBBlock::NumberOfParameters 1 ParameterMetadata::DynamicSize "KTau"
::BOOL 6 + WBBlock::NumberOfParameters 1 1 "SetBemf"
::STRING 7 + WBBlock::NumberOfParameters 1 ParameterMetadata::DynamicSize "Bemf"

Classes

class  impl
 

Public Member Functions

 SetMotorParameters ()
 
 ~SetMotorParameters () override
 
unsigned numberOfParameters () override
 
bool configureSizeAndPorts (blockfactory::core::BlockInformation *blockInfo) override
 
bool parseParameters (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

◆ SetMotorParameters()

SetMotorParameters::SetMotorParameters ( )

◆ ~SetMotorParameters()

SetMotorParameters::~SetMotorParameters ( )
overridedefault

Member Function Documentation

◆ configureSizeAndPorts()

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

◆ initialize()

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

◆ numberOfParameters()

unsigned SetMotorParameters::numberOfParameters ( )
override

◆ output()

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

◆ parseParameters()

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

◆ terminate()

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

Member Data Documentation

◆ pImpl

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

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