Public Member Functions | Static Private Member Functions | List of all members
transmission_interface::DifferentialTransmissionLoader Class Reference

Class for loading a differential transmission instance from configuration data. More...

#include <differential_transmission_loader.h>

Inheritance diagram for transmission_interface::DifferentialTransmissionLoader:
Inheritance graph
[legend]

Public Member Functions

TransmissionSharedPtr load (const TransmissionInfo &transmission_info) override
 
- Public Member Functions inherited from transmission_interface::TransmissionLoader
virtual ~TransmissionLoader ()=default
 

Static Private Member Functions

static bool getActuatorConfig (const TransmissionInfo &transmission_info, std::vector< double > &actuator_reduction)
 
static bool getJointConfig (const TransmissionInfo &transmission_info, std::vector< double > &joint_reduction, std::vector< double > &joint_offset, bool &ignore_transmission_for_absolute_encoders)
 

Additional Inherited Members

- Protected Types inherited from transmission_interface::TransmissionLoader
enum  ParseStatus { SUCCESS, NO_DATA, BAD_TYPE }
 
- Static Protected Member Functions inherited from transmission_interface::TransmissionLoader
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 ParseStatus getActuatorReduction (const TiXmlElement &parent_el, const std::string &actuator_name, const std::string &transmission_name, bool required, double &reduction)
 
static ParseStatus getActuatorRole (const TiXmlElement &parent_el, const std::string &actuator_name, const std::string &transmission_name, bool required, std::string &role)
 
static ParseStatus getJointOffset (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, double &offset)
 
static ParseStatus getJointReduction (const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, double &reduction)
 
static ParseStatus 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)
 

Detailed Description

Class for loading a differential transmission instance from configuration data.

Definition at line 45 of file differential_transmission_loader.h.

Member Function Documentation

◆ getActuatorConfig()

bool transmission_interface::DifferentialTransmissionLoader::getActuatorConfig ( const TransmissionInfo transmission_info,
std::vector< double > &  actuator_reduction 
)
staticprivate

Definition at line 82 of file differential_transmission_loader.cpp.

◆ getJointConfig()

bool transmission_interface::DifferentialTransmissionLoader::getJointConfig ( const TransmissionInfo transmission_info,
std::vector< double > &  joint_reduction,
std::vector< double > &  joint_offset,
bool &  ignore_transmission_for_absolute_encoders 
)
staticprivate

Definition at line 158 of file differential_transmission_loader.cpp.

◆ load()

TransmissionSharedPtr transmission_interface::DifferentialTransmissionLoader::load ( const TransmissionInfo transmission_info)
overridevirtual

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


transmission_interface
Author(s): Adolfo Rodriguez Tsouroukdissian
autogenerated on Sun May 10 2020 03:14:56