WB-Toolbox
6.0.0
ASimulinkToolboxforWholeBodyControl
|
Go to the documentation of this file.
9 #ifndef WBT_TOOLBOXCONFIG_H
10 #define WBT_TOOLBOXCONFIG_H
40 std::unique_ptr<impl>
pImpl;
62 const std::string& urdfFile,
63 const std::vector<std::string>& controlledJoints,
64 const std::vector<std::string>& controlBoardsNames,
65 const std::string& localName,
66 const std::array<double, 3>& gravityVector);
202 #endif // WBT_TOOLBOXCONFIG_H
Definition: Configuration.h:17
Definition: Configuration.cpp:15
void setControlBoardsNames(const std::vector< std::string > &controlBoardsNames)
Set the names of the used ControlBoard names.
Definition: Configuration.cpp:78
const std::vector< std::string > & getControlBoardsNames() const
Get the names of the used ControlBoard names.
Definition: Configuration.cpp:131
void setGravityVector(const std::array< double, 3 > &gravityVector)
Set the gravity vector.
Definition: Configuration.cpp:108
std::unique_ptr< impl > pImpl
Definition: Configuration.h:39
void setRobotName(const std::string &robotName)
Set the name of the robot.
Definition: Configuration.cpp:62
const std::string & getLocalName() const
Get the prefix appended to the opened ports. A leading "/" is always present.
Definition: Configuration.cpp:136
const std::vector< std::string > & getControlledJoints() const
Get the subset of controlled joints.
Definition: Configuration.cpp:126
const std::string getUniqueId() const
Generate a unique identifier.
Definition: Configuration.cpp:93
void setParameters(const std::string &robotName, const std::string &urdfFile, const std::vector< std::string > &controlledJoints, const std::vector< std::string > &controlBoardsNames, const std::string &localName, const std::array< double, 3 > &gravityVector)
Initialize the object.
Definition: Configuration.cpp:47
Configuration(const std::string &confKey={})
Definition: Configuration.cpp:30
void setControlledJoints(const std::vector< std::string > &controlledJoints)
Set the subset of controlled joints.
Definition: Configuration.cpp:72
const std::string & getUrdfFile() const
Get the name of the file containing the urdf model.
Definition: Configuration.cpp:121
Store the configuration for whole-body blocks.
Definition: Configuration.h:36
bool isValid() const
Check if the congiguration is valid.
Definition: Configuration.cpp:159
bool operator==(const Configuration &config) const
Definition: Configuration.cpp:170
void setLocalName(const std::string &localName)
Set the prefix appended to the opened ports.
Definition: Configuration.cpp:83
void setUrdfFile(const std::string &urdfFile)
Set the name of the file containing the urdf model.
Definition: Configuration.cpp:67
const std::array< double, 3 > & getGravityVector() const
Get the gravity vector.
Definition: Configuration.cpp:141
const std::string getConfKey() const
Get the unique identifier of this configuration object.
Definition: Configuration.cpp:151
const size_t & getNumberOfDoFs() const
Definition: Configuration.cpp:146
const std::string & getRobotName() const
Get the name of the robot.
Definition: Configuration.cpp:116