Public Member Functions | Protected Member Functions | Protected Attributes
ESCTest Class Reference

#include <esc_test.h>

List of all members.

Public Member Functions

 ESCTest ()
void init (ESCSystem *system)
void spin ()

Protected Member Functions

void positionCallback (const std_msgs::Float32MultiArray::ConstPtr &msg)
void publish ()
void velocityCallback (const std_msgs::Float32MultiArray::ConstPtr &msg)

Protected Attributes

ros::NodeHandle nh_
std::vector< float > pos_
ros::Subscriber pos_sub_
ros::Publisher state_val_pub_
ESCSystemsystem_
ros::Publisher val_pub_
std::vector< float > vel_
ros::Subscriber vel_sub_

Detailed Description

Definition at line 5 of file esc_test.h.


Constructor & Destructor Documentation

ESCTest::ESCTest ( ) [inline]

Definition at line 21 of file esc_test.h.


Member Function Documentation

void ESCTest::init ( ESCSystem system)

Definition at line 31 of file esc_test.cpp.

void ESCTest::positionCallback ( const std_msgs::Float32MultiArray::ConstPtr &  msg) [protected]

Definition at line 13 of file esc_test.cpp.

void ESCTest::publish ( ) [protected]

Definition at line 19 of file esc_test.cpp.

void ESCTest::spin ( )

Definition at line 43 of file esc_test.cpp.

void ESCTest::velocityCallback ( const std_msgs::Float32MultiArray::ConstPtr &  msg) [protected]

Definition at line 7 of file esc_test.cpp.


Member Data Documentation

Definition at line 8 of file esc_test.h.

std::vector<float> ESCTest::pos_ [protected]

Definition at line 13 of file esc_test.h.

Definition at line 10 of file esc_test.h.

Definition at line 9 of file esc_test.h.

Definition at line 12 of file esc_test.h.

Definition at line 9 of file esc_test.h.

std::vector<float> ESCTest::vel_ [protected]

Definition at line 13 of file esc_test.h.

Definition at line 10 of file esc_test.h.


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


esc_test
Author(s): Wouter Caarls
autogenerated on Sun Jan 5 2014 11:07:17