53 double reduction = 0.0;
56 transmission_info.
name_,
63 double joint_offset = 0.0;
65 transmission_info.
joints_.front().name_,
66 transmission_info.
name_,
81 demangledTypeName<SimpleTransmission>()<<
"'. " << ex.
what());
TransmissionSharedPtr load(const TransmissionInfo &transmission_info) override
static TiXmlElement loadXmlElement(const std::string &element_str)
#define ROS_ERROR_STREAM_NAMED(name, args)
Abstract interface for loading transmission instances from configuration data.
Contains semantic info about a given transmission loaded from XML (URDF)
std::string demangledTypeName()
static ParseStatus getActuatorReduction(const TiXmlElement &parent_el, const std::string &actuator_name, const std::string &transmission_name, bool required, double &reduction)
const char * what() const noexcept override
Class for loading a simple transmission instance from configuration data.
static bool checkActuatorDimension(const TransmissionInfo &transmission_info, const unsigned int expected_dim)
Implementation of a simple reducer transmission.
std::shared_ptr< Transmission > TransmissionSharedPtr
std::vector< ActuatorInfo > actuators_
static ParseStatus getJointOffset(const TiXmlElement &parent_el, const std::string &joint_name, const std::string &transmission_name, bool required, double &offset)
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
std::vector< JointInfo > joints_
static bool checkJointDimension(const TransmissionInfo &transmission_info, const unsigned int expected_dim)