WB-Toolbox
5.6.1
ASimulinkToolboxforWholeBodyControl
|
Go to the documentation of this file.
12 #include <BlockFactory/Core/Block.h>
18 class BlockInformation;
32 class KinDynComputations;
99 iDynTree::KinDynComputations* kinDyn);
108 bool parseParameters(blockfactory::core::BlockInformation* blockInfo)
override;
110 bool initialize(blockfactory::core::BlockInformation* blockInfo)
override;
113 #endif // WBT_WBBLOCK_H
Definition: Configuration.h:17
std::shared_ptr< wbt::base::RobotInterface > m_robotInterface
Definition: WBBlock.h:69
unsigned numberOfParameters() override
Definition: WBBlock.cpp:180
std::shared_ptr< iDynTree::KinDynComputations > getKinDynComputations() const
Helper for retrieving the iDynTree::KinDynComputations object.
Definition: WBBlock.cpp:64
std::unique_ptr< iDynTreeRobotState > m_robotState
Definition: WBBlock.h:66
@ Signal
Definition: YarpRead.cpp:49
static constexpr unsigned NumberOfParameters
The number of parameters WBBlock requires.
Definition: WBBlock.h:103
std::string m_confBlockName
Definition: WBBlock.h:68
WBBlock()
Definition: WBBlock.cpp:174
Definition: RobotInterface.h:33
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.
Definition: WBBlock.cpp:74
const std::shared_ptr< wbt::base::RobotInterface > getRobotInterface() const
Helper for retrieving the wbt::RobotInterface object.
Definition: WBBlock.cpp:69
bool initialize(blockfactory::core::BlockInformation *blockInfo) override
Definition: WBBlock.cpp:243
bool parseParameters(blockfactory::core::BlockInformation *blockInfo) override
Definition: WBBlock.cpp:185
bool configureSizeAndPorts(blockfactory::core::BlockInformation *blockInfo) override
Definition: WBBlock.cpp:208
Container for data structures used for using iDynTree::KinDynComputations::setRobotState
Definition: WBBlock.cpp:44
std::shared_ptr< const blockfactory::core::Signal > InputSignalPtr
Definition: WBBlock.h:27
Extension of blockfactory::core::Block for simplifying the development of whole-body blocks.
Definition: WBBlock.h:62