Robot.h File Reference
#include <mc_rbdyn/RobotData.h>
#include <mc_rbdyn/RobotFrame.h>
#include <mc_rbdyn/RobotModule.h>
#include <mc_rbdyn/Surface.h>
#include <mc_control/generic_gripper.h>
#include <mc_tvm/fwd.h>
#include <RBDyn/MultiBody.h>
#include <RBDyn/MultiBodyConfig.h>
#include <RBDyn/MultiBodyGraph.h>
#include <memory>
#include <optional>
#include <unordered_map>
#include <mc_rbdyn/Robot.hpp>
Include dependency graph for Robot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mc_rbdyn::LoadRobotParameters
 
struct  mc_rbdyn::Robot
 
struct  mc_rbdyn::Robot::NewRobotToken
 

Namespaces

 mc_rbdyn
 

Macros

#define MAKE_LOAD_ROBOT_PARAMETER_SETTER(T, NAME)
 

Functions

const MC_RBDYN_DLLAPI mc_rbdyn::Robotmc_rbdyn::robotFromConfig (const mc_rtc::Configuration &config, const mc_rbdyn::Robots &robots, const std::string &prefix, bool required=false, const std::string &robotIndexKey="robotIndex", const std::string &robotNameKey="robot", const std::string &defaultRobotName="")
 Obtains a reference to a loaded robot from configuration (using robotName or robotIndex) More...
 
std::string MC_RBDYN_DLLAPI mc_rbdyn::robotNameFromConfig (const mc_rtc::Configuration &config, const mc_rbdyn::Robots &robots, const std::string &prefix="", bool required=false, const std::string &robotIndexKey="robotIndex", const std::string &robotNameKey="robot", const std::string &defaultRobotName="")
 Helper to obtain the robot name from configuration. More...
 
unsigned int MC_RBDYN_DLLAPI mc_rbdyn::robotIndexFromConfig (const mc_rtc::Configuration &config, const mc_rbdyn::Robots &robots, const std::string &prefix="", bool required=false, const std::string &robotIndexKey="robotIndex", const std::string &robotNameKey="robot", const std::string &defaultRobotName="")
 Helper to obtain the robot index from configuration. More...
 

Macro Definition Documentation

◆ MAKE_LOAD_ROBOT_PARAMETER_SETTER

#define MAKE_LOAD_ROBOT_PARAMETER_SETTER (   T,
  NAME 
)
Value:
inline LoadRobotParameters & NAME(T value) noexcept \
{ \
NAME##_ = value; \
return *this; \
}