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

#include <esc_ros.h>

List of all members.

Public Member Functions

virtual void enableCallback (std_msgs::Bool msg)
 ESCROS (ros::NodeHandle *n=NULL)
virtual void init (ESC *esc)
virtual void reset ()
virtual void spin ()
virtual void step ()
virtual ~ESCROS ()

Protected Member Functions

virtual void objValCallback (std_msgs::Float32 msg)
virtual void objValWithStateCallback (esc_ros::StateValue msg)

Protected Attributes

bool enabled_
ESCesc_
bool first_obj_val_received_
bool initialized_
bool monitor_
ros::NodeHandlen_
double obj_val_
unsigned int opt_dim_
double period_
ros::Publisher pub_monitor_
ros::Publisher pub_ref_
ros::Publisher pub_stopped_
bool reference_zeroed_
std::vector< double > state_vec_
ros::Subscriber sub_enable_
ros::Subscriber sub_obj_val_

Detailed Description

Definition at line 25 of file esc_ros.h.


Constructor & Destructor Documentation

Definition at line 14 of file esc_ros.cpp.

virtual ESCROS::~ESCROS ( ) [inline, virtual]

Definition at line 44 of file esc_ros.h.


Member Function Documentation

void ESCROS::enableCallback ( std_msgs::Bool  msg) [virtual]

Definition at line 87 of file esc_ros.cpp.

void ESCROS::init ( ESC esc) [virtual]

Definition at line 20 of file esc_ros.cpp.

void ESCROS::objValCallback ( std_msgs::Float32  msg) [protected, virtual]

Definition at line 71 of file esc_ros.cpp.

void ESCROS::objValWithStateCallback ( esc_ros::StateValue  msg) [protected, virtual]

Definition at line 61 of file esc_ros.cpp.

void ESCROS::reset ( ) [virtual]

Definition at line 79 of file esc_ros.cpp.

void ESCROS::spin ( ) [virtual]

Definition at line 160 of file esc_ros.cpp.

void ESCROS::step ( ) [virtual]

Definition at line 99 of file esc_ros.cpp.


Member Data Documentation

bool ESCROS::enabled_ [protected]

Definition at line 33 of file esc_ros.h.

ESC* ESCROS::esc_ [protected]

Definition at line 27 of file esc_ros.h.

Definition at line 33 of file esc_ros.h.

bool ESCROS::initialized_ [protected]

Definition at line 33 of file esc_ros.h.

bool ESCROS::monitor_ [protected]

Definition at line 33 of file esc_ros.h.

Definition at line 30 of file esc_ros.h.

double ESCROS::obj_val_ [protected]

Definition at line 31 of file esc_ros.h.

unsigned int ESCROS::opt_dim_ [protected]

Definition at line 35 of file esc_ros.h.

double ESCROS::period_ [protected]

Definition at line 34 of file esc_ros.h.

Definition at line 28 of file esc_ros.h.

Definition at line 28 of file esc_ros.h.

Definition at line 28 of file esc_ros.h.

bool ESCROS::reference_zeroed_ [protected]

Definition at line 33 of file esc_ros.h.

std::vector<double> ESCROS::state_vec_ [protected]

Definition at line 32 of file esc_ros.h.

Definition at line 29 of file esc_ros.h.

Definition at line 29 of file esc_ros.h.


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


esc_ros
Author(s): Berk Calli and Wouter Caarls
autogenerated on Sun Jan 5 2014 11:07:02