Public Member Functions | Public Attributes | List of all members
dynamicgraph::sot::ForceUtil Struct Reference

#include <robot-utils.hh>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 71 of file robot-utils.hh.

Member Function Documentation

◆ cp_get_limits_from_id()

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

Definition at line 189 of file robot-utils.cpp.

◆ cp_get_name_from_id()

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

Definition at line 171 of file robot-utils.cpp.

◆ create_force_id_to_name_map()

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

Definition at line 175 of file robot-utils.cpp.

◆ display()

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

Definition at line 197 of file robot-utils.cpp.

◆ get_force_id_left_foot()

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

Definition at line 103 of file robot-utils.hh.

◆ get_force_id_left_hand()

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

Definition at line 95 of file robot-utils.hh.

◆ get_force_id_right_foot()

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

Definition at line 107 of file robot-utils.hh.

◆ get_force_id_right_hand()

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

Definition at line 99 of file robot-utils.hh.

◆ get_id_from_name()

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

Definition at line 154 of file robot-utils.cpp.

◆ get_limits_from_id()

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

Definition at line 181 of file robot-utils.cpp.

◆ get_name_from_id()

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

Definition at line 164 of file robot-utils.cpp.

◆ set_force_id_left_foot()

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

Definition at line 105 of file robot-utils.hh.

◆ set_force_id_left_hand()

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

Definition at line 97 of file robot-utils.hh.

◆ set_force_id_right_foot()

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

Definition at line 109 of file robot-utils.hh.

◆ set_force_id_right_hand()

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

Definition at line 101 of file robot-utils.hh.

◆ 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 
)

Definition at line 147 of file robot-utils.cpp.

◆ set_name_to_force_id()

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

Definition at line 133 of file robot-utils.cpp.

Member Data Documentation

◆ m_Force_Id_Left_Foot

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Left_Foot

Definition at line 76 of file robot-utils.hh.

◆ m_Force_Id_Left_Hand

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Left_Hand

Definition at line 76 of file robot-utils.hh.

◆ m_Force_Id_Right_Foot

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Right_Foot

Definition at line 76 of file robot-utils.hh.

◆ m_Force_Id_Right_Hand

Index dynamicgraph::sot::ForceUtil::m_Force_Id_Right_Hand

Definition at line 76 of file robot-utils.hh.

◆ m_force_id_to_limits

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

Definition at line 72 of file robot-utils.hh.

◆ m_force_id_to_name

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

Definition at line 74 of file robot-utils.hh.

◆ m_name_to_force_id

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

Definition at line 73 of file robot-utils.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:27