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

Class for loading a four-bar linkage transmission instance from configuration data. More...

#include <four_bar_linkage_transmission_loader.h>

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

Public Member Functions

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

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)
 

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 four-bar linkage transmission instance from configuration data.

Definition at line 45 of file four_bar_linkage_transmission_loader.h.

Member Function Documentation

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

Definition at line 79 of file four_bar_linkage_transmission_loader.cpp.

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

Definition at line 155 of file four_bar_linkage_transmission_loader.cpp.

TransmissionSharedPtr transmission_interface::FourBarLinkageTransmissionLoader::load ( const TransmissionInfo transmission_info)
virtual

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


transmission_interface
Author(s): Adolfo Rodriguez Tsouroukdissian
autogenerated on Fri Jun 7 2019 22:00:17