ConverterTools Class Reference

#include <RobotAPI/libraries/armem_robot_state/server/exteroception/converters/ConverterTools.h>

Public Types

using JointSetter = std::function< void(prop::arondto::Joints &dto, const std::vector< std::string > &split, const ConverterValue &value)>
 

Public Member Functions

 ConverterTools ()
 

Public Attributes

std::map< std::string, std::function< Eigen::Vector3f *(prop::arondto::ForceTorque &)> > ftGetters
 
std::map< std::string, std::function< std::map< std::string, float > *(prop::arondto::Joints &)> > jointGetters
 
std::map< std::string, JointSetterjointSetters
 
std::map< std::string, std::function< std::map< std::string, Eigen::Vector3f > *(prop::arondto::Joints &)> > jointVectorGetters
 
std::set< std::string > platformIgnored
 
std::map< std::string, std::function< Eigen::Vector3f *(prop::arondto::Platform &)> > platformPoseGetters
 
std::map< std::string, std::string > sidePrefixMap
 
std::map< std::string, std::function< void(Eigen::Vector3f &, float)> > vector3fSetters
 

Detailed Description

Definition at line 76 of file ConverterTools.h.

Member Typedef Documentation

◆ JointSetter

using JointSetter = std::function<void(prop::arondto::Joints& dto, const std::vector<std::string>& split, const ConverterValue& value)>

Definition at line 90 of file ConverterTools.h.

Constructor & Destructor Documentation

◆ ConverterTools()

Definition at line 30 of file ConverterTools.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ ftGetters

std::map<std::string, std::function<Eigen::Vector3f*(prop::arondto::ForceTorque&)> > ftGetters

Definition at line 96 of file ConverterTools.h.

◆ jointGetters

std::map<std::string, std::function<std::map<std::string, float>*(prop::arondto::Joints&)> > jointGetters

Definition at line 87 of file ConverterTools.h.

◆ jointSetters

std::map<std::string, JointSetter> jointSetters

Definition at line 91 of file ConverterTools.h.

◆ jointVectorGetters

std::map<std::string, std::function<std::map<std::string, Eigen::Vector3f>*(prop::arondto::Joints&)> > jointVectorGetters

Definition at line 88 of file ConverterTools.h.

◆ platformIgnored

std::set<std::string> platformIgnored

Definition at line 94 of file ConverterTools.h.

◆ platformPoseGetters

std::map<std::string, std::function<Eigen::Vector3f*(prop::arondto::Platform&)> > platformPoseGetters

Definition at line 93 of file ConverterTools.h.

◆ sidePrefixMap

std::map<std::string, std::string> sidePrefixMap
Initial value:
{
{ "R", "Right" },
{ "L", "Left" },
}

Definition at line 100 of file ConverterTools.h.

◆ vector3fSetters

std::map<std::string, std::function<void(Eigen::Vector3f&, float)> > vector3fSetters

Definition at line 85 of file ConverterTools.h.


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