Public Member Functions | Protected Attributes
flir_ptu_driver::Node Class Reference

List of all members.

Public Member Functions

void cmdCallback (const sensor_msgs::JointState::ConstPtr &msg)
void connect ()
void disconnect ()
 Node (ros::NodeHandle &node_handle)
bool ok ()
void produce_diagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat)
void spinCallback (const ros::TimerEvent &)
 ~Node ()

Protected Attributes

std::string m_joint_name_prefix
ros::Publisher m_joint_pub
ros::Subscriber m_joint_sub
ros::NodeHandle m_node
PTUm_pantilt
serial::Serial m_ser
diagnostic_updater::Updaterm_updater

Detailed Description

Definition at line 43 of file node.cpp.


Constructor & Destructor Documentation

flir_ptu_driver::Node::Node ( ros::NodeHandle node_handle) [explicit]

Definition at line 76 of file node.cpp.

Definition at line 86 of file node.cpp.


Member Function Documentation

void flir_ptu_driver::Node::cmdCallback ( const sensor_msgs::JointState::ConstPtr &  msg)

Callback for getting new Goal JointState

Definition at line 170 of file node.cpp.

Opens the connection to the PTU and sets appropriate parameters. Also manages subscriptions/publishers

Definition at line 94 of file node.cpp.

Disconnect

Definition at line 160 of file node.cpp.

bool flir_ptu_driver::Node::ok ( ) [inline]

Definition at line 51 of file node.cpp.

Definition at line 191 of file node.cpp.

Publishes a joint_state message with position and speed. Also sends out updated TF info.

Definition at line 202 of file node.cpp.


Member Data Documentation

Definition at line 73 of file node.cpp.

Definition at line 69 of file node.cpp.

Definition at line 70 of file node.cpp.

Definition at line 68 of file node.cpp.

Definition at line 67 of file node.cpp.

serial::Serial flir_ptu_driver::Node::m_ser [protected]

Definition at line 72 of file node.cpp.

Definition at line 66 of file node.cpp.


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


flir_ptu_driver
Author(s): Erik Karulf , David V. Lu , Nick Hawes
autogenerated on Fri Aug 28 2015 10:39:27