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 65 of file dsa_only.cpp.


Constructor & Destructor Documentation

DsaNode::DsaNode ( ) [inline]

Constructor for SdhNode class.

Parameters:
nameName for the actionlib server

Definition at line 109 of file dsa_only.cpp.

DsaNode::~DsaNode ( ) [inline]

Destructor for SdhNode class.

Definition at line 119 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 138 of file dsa_only.cpp.

void DsaNode::pollDsa ( ) [inline]

Definition at line 280 of file dsa_only.cpp.

void DsaNode::publishDiagnostics ( ) [inline]

Definition at line 337 of file dsa_only.cpp.

void DsaNode::publishTactileData ( ) [inline]

Definition at line 307 of file dsa_only.cpp.

void DsaNode::readDsaFrame ( ) [inline]

Definition at line 244 of file dsa_only.cpp.

void DsaNode::shutdown ( ) [inline]

Definition at line 127 of file dsa_only.cpp.

bool DsaNode::start ( ) [inline]

Definition at line 207 of file dsa_only.cpp.

bool DsaNode::stop ( void  ) [inline]

Definition at line 194 of file dsa_only.cpp.


Member Data Documentation

bool DsaNode::auto_publish_ [private]

Definition at line 95 of file dsa_only.cpp.

bool DsaNode::debug_ [private]

Definition at line 97 of file dsa_only.cpp.

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

Definition at line 85 of file dsa_only.cpp.

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

Definition at line 102 of file dsa_only.cpp.

int DsaNode::dsadevicenum_ [private]

Definition at line 89 of file dsa_only.cpp.

std::string DsaNode::dsadevicestring_ [private]

Definition at line 88 of file dsa_only.cpp.

int DsaNode::error_counter_ [private]

Definition at line 93 of file dsa_only.cpp.

double DsaNode::frequency_ [private]

Definition at line 98 of file dsa_only.cpp.

Definition at line 92 of file dsa_only.cpp.

Definition at line 86 of file dsa_only.cpp.

int DsaNode::maxerror_ [private]

Definition at line 90 of file dsa_only.cpp.

create a handle for this node, initialize node

Definition at line 69 of file dsa_only.cpp.

bool DsaNode::polling_ [private]

Definition at line 94 of file dsa_only.cpp.

Definition at line 100 of file dsa_only.cpp.

Definition at line 100 of file dsa_only.cpp.

Definition at line 100 of file dsa_only.cpp.

Definition at line 73 of file dsa_only.cpp.

Definition at line 72 of file dsa_only.cpp.

bool DsaNode::use_rle_ [private]

Definition at line 96 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 Sat Jun 8 2019 20:25:21