Public Member Functions | Protected Attributes
DxlROSExample Class Reference

Usage example for CDynamixel and CDynamixelROS. More...

#include <example.h>

List of all members.

Public Member Functions

 DxlROSExample ()
 Constructor.
void init (char *path)
 Initialize node.
void spin ()
 Spin.
 ~DxlROSExample ()
 Destructor.

Protected Attributes

CDxlGenericmotor_
 Motor interface.
CDxlGroupmotors_
 Multiple motor interface.
ros::NodeHandle nh_
 ROS node handle.
LxSerial serial_port_
 Serial port interface.

Detailed Description

Usage example for CDynamixel and CDynamixelROS.

Definition at line 9 of file example.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 19 of file example.h.

Destructor.

Delete motor interface, close serial port, and shut down node handle

Definition at line 23 of file example.h.


Member Function Documentation

void DxlROSExample::init ( char *  path)

Initialize node.

Parameters:
pathpath to shared_serial node

Definition at line 10 of file benchmark.cpp.

Spin.

Alternatively drives the motor clockwise and counterclockwise

Definition at line 36 of file benchmark.cpp.


Member Data Documentation

Motor interface.

Definition at line 13 of file example.h.

Multiple motor interface.

Definition at line 14 of file example.h.

ROS node handle.

Definition at line 12 of file example.h.

Serial port interface.

Definition at line 15 of file example.h.


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


threemxl
Author(s):
autogenerated on Fri Aug 28 2015 13:21:09