11 #include <yaml_cpp_catkin/yaml_cpp_fwd.hpp> 24 enum class EffId { id_right_foot = 0,
31 if (eff_id == static_cast<int>(EffId::id_left_hand) ||
32 eff_id == static_cast<int>(EffId::id_right_hand))
40 case static_cast<int>(EffId::id_right_foot): {
return std::string(
"rf");
break; }
41 case static_cast<int>(EffId::id_left_foot ): {
return std::string(
"lf");
break; }
42 case static_cast<int>(EffId::id_right_hand): {
return std::string(
"rh");
break; }
43 case static_cast<int>(EffId::id_left_hand ): {
return std::string(
"lh");
break; }
44 default: {
throw std::runtime_error(
"eff_id not handled in idToEndeffectorString. \n"); }
static std::string idToEndeffectorString(int eff_id)
Definition: Definitions.hpp:38
Helper structure used to define common functionality and naming conventions.
Definition: Definitions.hpp:18
static bool isHand(int eff_id)
Definition: Definitions.hpp:30
EffId
Definition: Definitions.hpp:24
static constexpr int n_endeffs_
Definition: Definitions.hpp:21