1#ifndef ROBOTMODELCONFIG_HPP
2#define ROBOTMODELCONFIG_HPP
4#include <base/samples/RigidBodyStateSE3.hpp>
5#include <base/NamedVector.hpp>
30 for(
auto e : elements){
59 throw std::runtime_error(
"Invalid Robot model config. File path or string must not be empty!");
61 throw std::runtime_error(
"Invalid Robot model config. If you choose 'hyrodyn' as type, submechanism_file must not be empty!");
63 throw std::runtime_error(
"Invalid Robot model config. If floating_base is set to true, contact_points must not be empty!");
Definition ContactsAccelerationConstraint.cpp:3
Robot Model configuration class.
Definition RobotModelConfig.hpp:40
bool floating_base
Definition RobotModelConfig.hpp:75
std::vector< std::string > joint_blacklist
Definition RobotModelConfig.hpp:79
RobotModelConfig(const std::string &file_or_string, const bool floating_base=false, const ActiveContacts &contact_points=ActiveContacts(), const std::string &submechanism_file="")
Definition RobotModelConfig.hpp:46
RobotModelConfig()
Definition RobotModelConfig.hpp:42
ActiveContacts contact_points
Definition RobotModelConfig.hpp:77
std::string submechanism_file
Definition RobotModelConfig.hpp:69
void validate()
Definition RobotModelConfig.hpp:57
std::string type
Definition RobotModelConfig.hpp:71
std::string file_or_string
Definition RobotModelConfig.hpp:67