Abstract interface for loading transmission instances from configuration data.
More...
#include <transmission_loader.h>
|
static bool | checkActuatorDimension (const TransmissionInfo &transmission_info, const unsigned int expected_dim) |
|
static bool | checkJointDimension (const TransmissionInfo &transmission_info, const unsigned int expected_dim) |
|
static bool | getActuatorReduction (const TiXmlElement &parent_el, const std::string &actuator_name, const std::string &transmission_name, bool required, double &reduction) |
|
static bool | getActuatorRole (const TiXmlElement &parent_el, const std::string &actuator_name, const std::string &transmission_name, bool required, std::string &role) |
|
static bool | getJointOffset (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, double &offset) |
|
static bool | getJointReduction (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, double &reduction) |
|
static bool | getJointRole (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, std::string &role) |
|
static TiXmlElement | loadXmlElement (const std::string &element_str) |
|
Abstract interface for loading transmission instances from configuration data.
It also provides convenience methods for specific transmission loaders to leverage.
Definition at line 61 of file transmission_loader.h.
◆ ~TransmissionLoader()
virtual transmission_interface::TransmissionLoader::~TransmissionLoader |
( |
| ) |
|
|
virtualdefault |
◆ checkActuatorDimension()
static bool transmission_interface::TransmissionLoader::checkActuatorDimension |
( |
const TransmissionInfo & |
transmission_info, |
|
|
const unsigned int |
expected_dim |
|
) |
| |
|
inlinestaticprotected |
◆ checkJointDimension()
static bool transmission_interface::TransmissionLoader::checkJointDimension |
( |
const TransmissionInfo & |
transmission_info, |
|
|
const unsigned int |
expected_dim |
|
) |
| |
|
inlinestaticprotected |
◆ getActuatorReduction()
bool transmission_interface::TransmissionLoader::getActuatorReduction |
( |
const TiXmlElement & |
parent_el, |
|
|
const std::string & |
actuator_name, |
|
|
const std::string & |
transmission_name, |
|
|
bool |
required, |
|
|
double & |
reduction |
|
) |
| |
|
staticprotected |
◆ getActuatorRole()
bool transmission_interface::TransmissionLoader::getActuatorRole |
( |
const TiXmlElement & |
parent_el, |
|
|
const std::string & |
actuator_name, |
|
|
const std::string & |
transmission_name, |
|
|
bool |
required, |
|
|
std::string & |
role |
|
) |
| |
|
staticprotected |
◆ getJointOffset()
bool transmission_interface::TransmissionLoader::getJointOffset |
( |
const TiXmlElement & |
parent_el, |
|
|
const std::string & |
joint_name, |
|
|
const std::string & |
transmission_name, |
|
|
bool |
required, |
|
|
double & |
offset |
|
) |
| |
|
staticprotected |
◆ getJointReduction()
bool transmission_interface::TransmissionLoader::getJointReduction |
( |
const TiXmlElement & |
parent_el, |
|
|
const std::string & |
joint_name, |
|
|
const std::string & |
transmission_name, |
|
|
bool |
required, |
|
|
double & |
reduction |
|
) |
| |
|
staticprotected |
◆ getJointRole()
bool transmission_interface::TransmissionLoader::getJointRole |
( |
const TiXmlElement & |
parent_el, |
|
|
const std::string & |
joint_name, |
|
|
const std::string & |
transmission_name, |
|
|
bool |
required, |
|
|
std::string & |
role |
|
) |
| |
|
staticprotected |
◆ load()
◆ loadXmlElement()
static TiXmlElement transmission_interface::TransmissionLoader::loadXmlElement |
( |
const std::string & |
element_str | ) |
|
|
inlinestaticprotected |
The documentation for this class was generated from the following files: