Public Member Functions | Private Attributes | List of all members
BrunelHand Class Reference

Public Member Functions

 BrunelHand ()
 
 BrunelHand (std::string devfile)
 
void callbackMotionPrimitive (const brunel_hand_ros::HandPrimitive &hp)
 
void callbackRawCommand (const brunel_hand_ros::RawCommand &rc)
 
void enableMotors ()
 
bool getCSVmode () const
 
bool getMotorsEnabled () const
 
bool isConnected () const
 
void rawCommand (std::string cmd)
 
std::vector< int > readFingersPose ()
 
void updateDiagnostics ()
 
void useCSVmode ()
 

Private Attributes

serial::Serial bhandcom
 
bool connected
 
bool csvMode
 
bool motorsEnabled
 
boost::mutex mtx_
 

Detailed Description

Definition at line 31 of file proxy.cpp.

Constructor & Destructor Documentation

BrunelHand::BrunelHand ( )
inline

Definition at line 34 of file proxy.cpp.

BrunelHand::BrunelHand ( std::string  devfile)

Definition at line 127 of file proxy.cpp.

Member Function Documentation

void BrunelHand::callbackMotionPrimitive ( const brunel_hand_ros::HandPrimitive &  hp)

Definition at line 90 of file proxy.cpp.

void BrunelHand::callbackRawCommand ( const brunel_hand_ros::RawCommand &  rc)

Definition at line 85 of file proxy.cpp.

void BrunelHand::enableMotors ( )

Definition at line 202 of file proxy.cpp.

bool BrunelHand::getCSVmode ( ) const

Definition at line 176 of file proxy.cpp.

bool BrunelHand::getMotorsEnabled ( ) const

Definition at line 181 of file proxy.cpp.

bool BrunelHand::isConnected ( ) const

Definition at line 218 of file proxy.cpp.

void BrunelHand::rawCommand ( std::string  cmd)

Definition at line 76 of file proxy.cpp.

std::vector< int > BrunelHand::readFingersPose ( )

Definition at line 143 of file proxy.cpp.

void BrunelHand::updateDiagnostics ( )

Definition at line 223 of file proxy.cpp.

void BrunelHand::useCSVmode ( )

Definition at line 186 of file proxy.cpp.

Member Data Documentation

serial::Serial BrunelHand::bhandcom
private

Definition at line 72 of file proxy.cpp.

bool BrunelHand::connected
private

Definition at line 71 of file proxy.cpp.

bool BrunelHand::csvMode
private

Definition at line 69 of file proxy.cpp.

bool BrunelHand::motorsEnabled
private

Definition at line 70 of file proxy.cpp.

boost::mutex BrunelHand::mtx_
private

Definition at line 73 of file proxy.cpp.


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


brunel_hand_ros
Author(s): Scott C. Livingston
autogenerated on Mon Jun 10 2019 12:49:18