Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROBOTIS::SensorModuleTutorial Class Reference

#include <sensor_module_tutorial.h>

Inheritance diagram for ROBOTIS::SensorModuleTutorial:
Inheritance graph
[legend]

Public Member Functions

void initialize (const int control_cycle_msec, robotis_framework::Robot *robot)
 
void process (std::map< std::string, robotis_framework::Dynamixel * > dxls, std::map< std::string, robotis_framework::Sensor * > sensors)
 
 SensorModuleTutorial ()
 
void topicCallback (const std_msgs::Int16::ConstPtr &msg)
 
virtual ~SensorModuleTutorial ()
 
- Public Member Functions inherited from robotis_framework::SensorModule
std::string getModuleName ()
 
virtual ~SensorModule ()
 

Private Member Functions

void queueThread ()
 

Private Attributes

int control_cycle_msec_
 
ros::Publisher pub1_
 
boost::thread queue_thread_
 
ros::Subscriber sub1_
 

Additional Inherited Members

- Static Public Member Functions inherited from robotis_framework::Singleton< SensorModuleTutorial >
static void destroyInstance ()
 
static T * getInstance ()
 
- Public Attributes inherited from robotis_framework::SensorModule
std::map< std::string, double > result_
 
- Protected Member Functions inherited from robotis_framework::Singleton< SensorModuleTutorial >
Singletonoperator= (Singleton const &)
 
 Singleton (Singleton const &)
 
 Singleton ()
 
- Protected Attributes inherited from robotis_framework::SensorModule
std::string module_name_
 

Detailed Description

Definition at line 30 of file sensor_module_tutorial.h.

Constructor & Destructor Documentation

SensorModuleTutorial::SensorModuleTutorial ( )

Definition at line 22 of file sensor_module_tutorial.cpp.

SensorModuleTutorial::~SensorModuleTutorial ( )
virtual

Definition at line 30 of file sensor_module_tutorial.cpp.

Member Function Documentation

void SensorModuleTutorial::initialize ( const int  control_cycle_msec,
robotis_framework::Robot robot 
)
virtual

Implements robotis_framework::SensorModule.

Definition at line 35 of file sensor_module_tutorial.cpp.

void SensorModuleTutorial::process ( std::map< std::string, robotis_framework::Dynamixel * >  dxls,
std::map< std::string, robotis_framework::Sensor * >  sensors 
)
virtual

Implements robotis_framework::SensorModule.

Definition at line 66 of file sensor_module_tutorial.cpp.

void SensorModuleTutorial::queueThread ( )
private

Definition at line 41 of file sensor_module_tutorial.cpp.

void SensorModuleTutorial::topicCallback ( const std_msgs::Int16::ConstPtr &  msg)

Definition at line 59 of file sensor_module_tutorial.cpp.

Member Data Documentation

int ROBOTIS::SensorModuleTutorial::control_cycle_msec_
private

Definition at line 35 of file sensor_module_tutorial.h.

ros::Publisher ROBOTIS::SensorModuleTutorial::pub1_
private

Definition at line 40 of file sensor_module_tutorial.h.

boost::thread ROBOTIS::SensorModuleTutorial::queue_thread_
private

Definition at line 36 of file sensor_module_tutorial.h.

ros::Subscriber ROBOTIS::SensorModuleTutorial::sub1_
private

Definition at line 39 of file sensor_module_tutorial.h.


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


sensor_module_tutorial
Author(s): Zerom , SCH , Kayman
autogenerated on Mon Jun 10 2019 15:37:42