#include <cyberglove_publisher.h>
Public Member Functions | |
CyberglovePublisher () | |
Constructor. | |
void | initialize_calibration (std::string path_to_calibration) |
bool | isPublishing () |
void | publish () |
void | setPublishing (bool value) |
~CyberglovePublisher () | |
Destructor. | |
Public Attributes | |
Publisher | cyberglove_pub |
Private Member Functions | |
void | add_jointstate (float position, std::string joint_name) |
bool | checkGloveState () |
Private Attributes | |
xml_calibration_parser::XmlCalibrationParser | calibration_parser |
the calibration parser | |
std::vector< float > | calibration_values |
Publisher | cyberglove_raw_pub |
float * | glovePositions |
sensor_msgs::JointState | jointstate_msg |
sensor_msgs::JointState | jointstate_raw_msg |
NodeHandle | n_tilde |
NodeHandle | node |
std::string | path_to_glove |
Rate | publish_rate |
bool | publishing |
Definition at line 43 of file cyberglove_publisher.h.
cyberglove_publisher::CyberglovePublisher::CyberglovePublisher | ( | ) |
Constructor.
Definition at line 49 of file cyberglove_publisher.cpp.
cyberglove_publisher::CyberglovePublisher::~CyberglovePublisher | ( | ) |
Destructor.
Definition at line 118 of file cyberglove_publisher.cpp.
void cyberglove_publisher::CyberglovePublisher::add_jointstate | ( | float | position, | |
std::string | joint_name | |||
) | [private] |
Definition at line 203 of file cyberglove_publisher.cpp.
bool cyberglove_publisher::CyberglovePublisher::checkGloveState | ( | ) | [private] |
Definition at line 218 of file cyberglove_publisher.cpp.
void cyberglove_publisher::CyberglovePublisher::initialize_calibration | ( | std::string | path_to_calibration | ) |
Definition at line 122 of file cyberglove_publisher.cpp.
bool cyberglove_publisher::CyberglovePublisher::isPublishing | ( | ) |
Definition at line 127 of file cyberglove_publisher.cpp.
void cyberglove_publisher::CyberglovePublisher::publish | ( | ) |
Definition at line 155 of file cyberglove_publisher.cpp.
void cyberglove_publisher::CyberglovePublisher::setPublishing | ( | bool | value | ) |
Definition at line 148 of file cyberglove_publisher.cpp.
xml_calibration_parser::XmlCalibrationParser cyberglove_publisher::CyberglovePublisher::calibration_parser [private] |
the calibration parser
Definition at line 69 of file cyberglove_publisher.h.
std::vector<float> cyberglove_publisher::CyberglovePublisher::calibration_values [private] |
Definition at line 78 of file cyberglove_publisher.h.
Definition at line 52 of file cyberglove_publisher.h.
Publisher cyberglove_publisher::CyberglovePublisher::cyberglove_raw_pub [private] |
Definition at line 71 of file cyberglove_publisher.h.
float* cyberglove_publisher::CyberglovePublisher::glovePositions [private] |
Definition at line 80 of file cyberglove_publisher.h.
sensor_msgs::JointState cyberglove_publisher::CyberglovePublisher::jointstate_msg [private] |
Definition at line 73 of file cyberglove_publisher.h.
sensor_msgs::JointState cyberglove_publisher::CyberglovePublisher::jointstate_raw_msg [private] |
Definition at line 74 of file cyberglove_publisher.h.
NodeHandle cyberglove_publisher::CyberglovePublisher::n_tilde [private] |
Definition at line 63 of file cyberglove_publisher.h.
NodeHandle cyberglove_publisher::CyberglovePublisher::node [private] |
Definition at line 63 of file cyberglove_publisher.h.
std::string cyberglove_publisher::CyberglovePublisher::path_to_glove [private] |
Definition at line 65 of file cyberglove_publisher.h.
Rate cyberglove_publisher::CyberglovePublisher::publish_rate [private] |
Definition at line 64 of file cyberglove_publisher.h.
bool cyberglove_publisher::CyberglovePublisher::publishing [private] |
Definition at line 66 of file cyberglove_publisher.h.