Public Member Functions | Public Attributes | Private Attributes
DsaNode Class Reference

Implementation of ROS node for DSA. More...

List of all members.

Public Member Functions

 DsaNode ()
 Constructor for SdhNode class.
bool init ()
 Initializes node to get parameters, subscribe and publish to topics.
void pollDsa ()
void publishDiagnostics ()
void publishTactileData ()
void readDsaFrame ()
void shutdown ()
bool start ()
bool stop ()
 ~DsaNode ()
 Destructor for SdhNode class.

Public Attributes

ros::NodeHandle nh_
 create a handle for this node, initialize node

Private Attributes

bool auto_publish_
bool debug_
SDH::cDSA * dsa_
std::vector< int > dsa_reorder_
int dsadevicenum_
std::string dsadevicestring_
int error_counter_
double frequency_
bool isDSAInitialized_
SDH::UInt32 last_data_publish_
int maxerror_
bool polling_
ros::Timer timer_diag
ros::Timer timer_dsa
ros::Timer timer_publish
ros::Publisher topicPub_Diagnostics_
ros::Publisher topicPub_TactileSensor_
bool use_rle_

Detailed Description

Implementation of ROS node for DSA.

Offers actionlib and direct command interface.

Definition at line 108 of file dsa_only.cpp.


Constructor & Destructor Documentation

DsaNode::DsaNode ( ) [inline]

Constructor for SdhNode class.

Parameters:
nameName for the actionlib server

Definition at line 153 of file dsa_only.cpp.

DsaNode::~DsaNode ( ) [inline]

Destructor for SdhNode class.

Definition at line 162 of file dsa_only.cpp.


Member Function Documentation

bool DsaNode::init ( ) [inline]

Initializes node to get parameters, subscribe and publish to topics.

Definition at line 181 of file dsa_only.cpp.

void DsaNode::pollDsa ( ) [inline]

Definition at line 306 of file dsa_only.cpp.

void DsaNode::publishDiagnostics ( ) [inline]

Definition at line 359 of file dsa_only.cpp.

void DsaNode::publishTactileData ( ) [inline]

Definition at line 330 of file dsa_only.cpp.

void DsaNode::readDsaFrame ( ) [inline]

Definition at line 276 of file dsa_only.cpp.

void DsaNode::shutdown ( ) [inline]

Definition at line 170 of file dsa_only.cpp.

bool DsaNode::start ( ) [inline]

Definition at line 239 of file dsa_only.cpp.

bool DsaNode::stop ( void  ) [inline]

Definition at line 228 of file dsa_only.cpp.


Member Data Documentation

bool DsaNode::auto_publish_ [private]

Definition at line 138 of file dsa_only.cpp.

bool DsaNode::debug_ [private]

Definition at line 140 of file dsa_only.cpp.

SDH::cDSA* DsaNode::dsa_ [private]

Definition at line 128 of file dsa_only.cpp.

std::vector<int> DsaNode::dsa_reorder_ [private]

Definition at line 146 of file dsa_only.cpp.

int DsaNode::dsadevicenum_ [private]

Definition at line 132 of file dsa_only.cpp.

std::string DsaNode::dsadevicestring_ [private]

Definition at line 131 of file dsa_only.cpp.

int DsaNode::error_counter_ [private]

Definition at line 136 of file dsa_only.cpp.

double DsaNode::frequency_ [private]

Definition at line 141 of file dsa_only.cpp.

Definition at line 135 of file dsa_only.cpp.

Definition at line 129 of file dsa_only.cpp.

int DsaNode::maxerror_ [private]

Definition at line 133 of file dsa_only.cpp.

create a handle for this node, initialize node

Definition at line 112 of file dsa_only.cpp.

bool DsaNode::polling_ [private]

Definition at line 137 of file dsa_only.cpp.

Definition at line 144 of file dsa_only.cpp.

Definition at line 144 of file dsa_only.cpp.

Definition at line 144 of file dsa_only.cpp.

Definition at line 116 of file dsa_only.cpp.

Definition at line 115 of file dsa_only.cpp.

bool DsaNode::use_rle_ [private]

Definition at line 139 of file dsa_only.cpp.


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


schunk_sdh
Author(s): Mathias Luedtke , Florian Weisshardt
autogenerated on Thu Aug 27 2015 15:07:03