Public Member Functions | Public Attributes | List of all members
robotis_framework::Dynamixel Class Reference

#include <dynamixel.h>

Inheritance diagram for robotis_framework::Dynamixel:
Inheritance graph
[legend]

Public Member Functions

int32_t convertRadian2Value (double radian)
 
int16_t convertTorque2Value (double torque)
 
double convertValue2Radian (int32_t value)
 
double convertValue2Torque (int16_t value)
 
double convertValue2Velocity (int32_t value)
 
int32_t convertVelocity2Value (double velocity)
 
 Dynamixel (int id, std::string model_name, float protocol_version)
 
- Public Member Functions inherited from robotis_framework::Device
virtual ~Device ()
 

Public Attributes

std::string ctrl_module_name_
 
DynamixelStatedxl_state_
 
ControlTableItemgoal_current_item_
 
ControlTableItemgoal_position_item_
 
ControlTableItemgoal_velocity_item_
 
double max_radian_
 
double min_radian_
 
ControlTableItemposition_d_gain_item_
 
ControlTableItemposition_i_gain_item_
 
ControlTableItemposition_p_gain_item_
 
ControlTableItempresent_current_item_
 
ControlTableItempresent_position_item_
 
ControlTableItempresent_velocity_item_
 
ControlTableItemtorque_enable_item_
 
double torque_to_current_value_ratio_
 
int32_t value_of_0_radian_position_
 
int32_t value_of_max_radian_position_
 
int32_t value_of_min_radian_position_
 
ControlTableItemvelocity_d_gain_item_
 
ControlTableItemvelocity_i_gain_item_
 
ControlTableItemvelocity_p_gain_item_
 
double velocity_to_value_ratio_
 
- Public Attributes inherited from robotis_framework::Device
std::vector< ControlTableItem * > bulk_read_items_
 
std::map< std::string, ControlTableItem * > ctrl_table_
 
uint8_t id_
 
std::string model_name_
 
std::string port_name_
 
float protocol_version_
 

Detailed Description

Definition at line 39 of file dynamixel.h.

Constructor & Destructor Documentation

Dynamixel::Dynamixel ( int  id,
std::string  model_name,
float  protocol_version 
)

Definition at line 28 of file dynamixel.cpp.

Member Function Documentation

int32_t Dynamixel::convertRadian2Value ( double  radian)

Definition at line 90 of file dynamixel.cpp.

int16_t Dynamixel::convertTorque2Value ( double  torque)

Definition at line 135 of file dynamixel.cpp.

double Dynamixel::convertValue2Radian ( int32_t  value)

Definition at line 62 of file dynamixel.cpp.

double Dynamixel::convertValue2Torque ( int16_t  value)

Definition at line 130 of file dynamixel.cpp.

double Dynamixel::convertValue2Velocity ( int32_t  value)

Definition at line 120 of file dynamixel.cpp.

int32_t Dynamixel::convertVelocity2Value ( double  velocity)

Definition at line 125 of file dynamixel.cpp.

Member Data Documentation

std::string robotis_framework::Dynamixel::ctrl_module_name_

Definition at line 42 of file dynamixel.h.

DynamixelState* robotis_framework::Dynamixel::dxl_state_

Definition at line 43 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::goal_current_item_

Definition at line 60 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::goal_position_item_

Definition at line 58 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::goal_velocity_item_

Definition at line 59 of file dynamixel.h.

double robotis_framework::Dynamixel::max_radian_

Definition at line 52 of file dynamixel.h.

double robotis_framework::Dynamixel::min_radian_

Definition at line 51 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::position_d_gain_item_

Definition at line 63 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::position_i_gain_item_

Definition at line 62 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::position_p_gain_item_

Definition at line 61 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::present_current_item_

Definition at line 57 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::present_position_item_

Definition at line 55 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::present_velocity_item_

Definition at line 56 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::torque_enable_item_

Definition at line 54 of file dynamixel.h.

double robotis_framework::Dynamixel::torque_to_current_value_ratio_

Definition at line 46 of file dynamixel.h.

int32_t robotis_framework::Dynamixel::value_of_0_radian_position_

Definition at line 48 of file dynamixel.h.

int32_t robotis_framework::Dynamixel::value_of_max_radian_position_

Definition at line 50 of file dynamixel.h.

int32_t robotis_framework::Dynamixel::value_of_min_radian_position_

Definition at line 49 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::velocity_d_gain_item_

Definition at line 66 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::velocity_i_gain_item_

Definition at line 65 of file dynamixel.h.

ControlTableItem* robotis_framework::Dynamixel::velocity_p_gain_item_

Definition at line 64 of file dynamixel.h.

double robotis_framework::Dynamixel::velocity_to_value_ratio_

Definition at line 45 of file dynamixel.h.


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


robotis_device
Author(s): Zerom , Kayman , SCH
autogenerated on Mon Jun 10 2019 14:35:09