sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::ForceUtil Struct Reference

#include <sot/core/robot-utils.hh>

Public Member Functions

void set_name_to_force_id (const std::string &name, const Index &force_id)
 
void set_force_id_to_limits (const Index &force_id, const dynamicgraph::Vector &lf, const dynamicgraph::Vector &uf)
 
void create_force_id_to_name_map ()
 
Index get_id_from_name (const std::string &name)
 
const std::string & get_name_from_id (Index idx)
 
std::string cp_get_name_from_id (Index idx)
 
const ForceLimitsget_limits_from_id (Index force_id)
 
ForceLimits cp_get_limits_from_id (Index force_id)
 
Index get_force_id_left_hand ()
 
void set_force_id_left_hand (Index anId)
 
Index get_force_id_right_hand ()
 
void set_force_id_right_hand (Index anId)
 
Index get_force_id_left_foot ()
 
void set_force_id_left_foot (Index anId)
 
Index get_force_id_right_foot ()
 
void set_force_id_right_foot (Index anId)
 
void display (std::ostream &out) const
 

Public Attributes

std::map< Index, ForceLimitsm_force_id_to_limits
 
std::map< std::string, Indexm_name_to_force_id
 
std::map< Index, std::string > m_force_id_to_name
 
Index m_Force_Id_Left_Hand
 
Index m_Force_Id_Right_Hand
 
Index m_Force_Id_Left_Foot
 
Index m_Force_Id_Right_Foot
 

Member Function Documentation

◆ cp_get_limits_from_id()

ForceLimits dynamicgraph::sot::ForceUtil::cp_get_limits_from_id ( Index  force_id)

◆ cp_get_name_from_id()

std::string dynamicgraph::sot::ForceUtil::cp_get_name_from_id ( Index  idx)

◆ create_force_id_to_name_map()

void dynamicgraph::sot::ForceUtil::create_force_id_to_name_map ( )

◆ display()

void dynamicgraph::sot::ForceUtil::display ( std::ostream &  out) const

◆ get_force_id_left_foot()

Index dynamicgraph::sot::ForceUtil::get_force_id_left_foot ( )
inline

◆ get_force_id_left_hand()

Index dynamicgraph::sot::ForceUtil::get_force_id_left_hand ( )
inline

◆ get_force_id_right_foot()

Index dynamicgraph::sot::ForceUtil::get_force_id_right_foot ( )
inline

◆ get_force_id_right_hand()

Index dynamicgraph::sot::ForceUtil::get_force_id_right_hand ( )
inline

◆ get_id_from_name()

Index dynamicgraph::sot::ForceUtil::get_id_from_name ( const std::string &  name)

◆ get_limits_from_id()

const ForceLimits& dynamicgraph::sot::ForceUtil::get_limits_from_id ( Index  force_id)

◆ get_name_from_id()

const std::string& dynamicgraph::sot::ForceUtil::get_name_from_id ( Index  idx)

◆ set_force_id_left_foot()

void dynamicgraph::sot::ForceUtil::set_force_id_left_foot ( Index  anId)
inline

◆ set_force_id_left_hand()

void dynamicgraph::sot::ForceUtil::set_force_id_left_hand ( Index  anId)
inline

◆ set_force_id_right_foot()

void dynamicgraph::sot::ForceUtil::set_force_id_right_foot ( Index  anId)
inline

◆ set_force_id_right_hand()

void dynamicgraph::sot::ForceUtil::set_force_id_right_hand ( Index  anId)
inline

◆ set_force_id_to_limits()

void dynamicgraph::sot::ForceUtil::set_force_id_to_limits ( const Index force_id,
const dynamicgraph::Vector &  lf,
const dynamicgraph::Vector &  uf 
)

◆ set_name_to_force_id()

void dynamicgraph::sot::ForceUtil::set_name_to_force_id ( const std::string &  name,
const Index force_id 
)

Member Data Documentation

◆ m_Force_Id_Left_Foot

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Left_Foot

◆ m_Force_Id_Left_Hand

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Left_Hand

◆ m_Force_Id_Right_Foot

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Right_Foot

◆ m_Force_Id_Right_Hand

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Right_Hand

◆ m_force_id_to_limits

std::map<Index, ForceLimits> dynamicgraph::sot::ForceUtil::m_force_id_to_limits

◆ m_force_id_to_name

std::map<Index, std::string> dynamicgraph::sot::ForceUtil::m_force_id_to_name

◆ m_name_to_force_id

std::map<std::string, Index> dynamicgraph::sot::ForceUtil::m_name_to_force_id

The documentation for this struct was generated from the following file: