Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
seed_converter::StrokeConverter Class Referenceabstract

#include <stroke_converter_base.h>

Public Member Functions

virtual void Angle2Stroke (std::vector< int16_t > &_strokes, const std::vector< double > &_angles)=0
 
bool initialize (ros::NodeHandle &_nh)
 
virtual void makeTables ()=0
 
virtual void Stroke2Angle (std::vector< double > &_angles, const std::vector< int16_t > &_strokes)=0
 
 StrokeConverter ()
 
 ~StrokeConverter ()
 

Protected Member Functions

void makeInvTable (std::vector< StrokeMap > &_inv_table, const std::vector< StrokeMap > &_table)
 
bool makeTable (std::vector< StrokeMap > &_table, const std::string _file_name)
 
float setAngleToStroke (const float _angle, const std::vector< StrokeMap > &_table)
 
DiffJoint setDualAngleToStroke (const float _r_angle, const float _p_angle, const std::vector< StrokeMap > &_r_table, const std::vector< StrokeMap > &_p_table, const bool _is_pitch=false)
 
float setStrokeToAngle (const float _stroke, const std::vector< StrokeMap > &_inv_table)
 

Protected Attributes

std::string file_path_
 

Detailed Description

Definition at line 36 of file stroke_converter_base.h.

Constructor & Destructor Documentation

seed_converter::StrokeConverter::StrokeConverter ( )

Definition at line 4 of file stroke_converter_base.cpp.

seed_converter::StrokeConverter::~StrokeConverter ( )

Definition at line 8 of file stroke_converter_base.cpp.

Member Function Documentation

virtual void seed_converter::StrokeConverter::Angle2Stroke ( std::vector< int16_t > &  _strokes,
const std::vector< double > &  _angles 
)
pure virtual
bool seed_converter::StrokeConverter::initialize ( ros::NodeHandle _nh)

Definition at line 12 of file stroke_converter_base.cpp.

void seed_converter::StrokeConverter::makeInvTable ( std::vector< StrokeMap > &  _inv_table,
const std::vector< StrokeMap > &  _table 
)
protected

Definition at line 61 of file stroke_converter_base.cpp.

bool seed_converter::StrokeConverter::makeTable ( std::vector< StrokeMap > &  _table,
const std::string  _file_name 
)
protected

Definition at line 26 of file stroke_converter_base.cpp.

virtual void seed_converter::StrokeConverter::makeTables ( )
pure virtual
float seed_converter::StrokeConverter::setAngleToStroke ( const float  _angle,
const std::vector< StrokeMap > &  _table 
)
protected

Definition at line 78 of file stroke_converter_base.cpp.

seed_converter::DiffJoint seed_converter::StrokeConverter::setDualAngleToStroke ( const float  _r_angle,
const float  _p_angle,
const std::vector< StrokeMap > &  _r_table,
const std::vector< StrokeMap > &  _p_table,
const bool  _is_pitch = false 
)
protected

Definition at line 114 of file stroke_converter_base.cpp.

float seed_converter::StrokeConverter::setStrokeToAngle ( const float  _stroke,
const std::vector< StrokeMap > &  _inv_table 
)
protected

Definition at line 96 of file stroke_converter_base.cpp.

virtual void seed_converter::StrokeConverter::Stroke2Angle ( std::vector< double > &  _angles,
const std::vector< int16_t > &  _strokes 
)
pure virtual

Member Data Documentation

std::string seed_converter::StrokeConverter::file_path_
protected

Definition at line 58 of file stroke_converter_base.h.


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


seed_r7_ros_controller
Author(s): Yohei Kakiuchi
autogenerated on Sun Apr 18 2021 02:40:34