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

#include <robot.h>

Public Member Functions

int getControlCycle ()
 
DynamixelgetDynamixel (std::string path, int id, std::string port, float protocol_version)
 
SensorgetSensor (std::string path, int id, std::string port, float protocol_version)
 
 Robot (std::string robot_file_path, std::string dev_desc_dir_path)
 

Public Attributes

std::map< std::string, Dynamixel * > dxls_
 
std::map< std::string, std::string > port_default_device_
 
std::map< std::string, dynamixel::PortHandler * > ports_
 
std::map< std::string, Sensor * > sensors_
 

Private Attributes

int control_cycle_msec_
 

Detailed Description

Definition at line 49 of file robot.h.

Constructor & Destructor Documentation

Robot::Robot ( std::string  robot_file_path,
std::string  dev_desc_dir_path 
)

Definition at line 64 of file robot.cpp.

Member Function Documentation

int Robot::getControlCycle ( )

Definition at line 491 of file robot.cpp.

Dynamixel * Robot::getDynamixel ( std::string  path,
int  id,
std::string  port,
float  protocol_version 
)

Definition at line 315 of file robot.cpp.

Sensor * Robot::getSensor ( std::string  path,
int  id,
std::string  port,
float  protocol_version 
)

Definition at line 229 of file robot.cpp.

Member Data Documentation

int robotis_framework::Robot::control_cycle_msec_
private

Definition at line 52 of file robot.h.

std::map<std::string, Dynamixel *> robotis_framework::Robot::dxls_

Definition at line 58 of file robot.h.

std::map<std::string, std::string> robotis_framework::Robot::port_default_device_

Definition at line 56 of file robot.h.

std::map<std::string, dynamixel::PortHandler *> robotis_framework::Robot::ports_

Definition at line 55 of file robot.h.

std::map<std::string, Sensor *> robotis_framework::Robot::sensors_

Definition at line 59 of file robot.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