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 resetCallback (const std_msgs::Bool::ConstPtr &msg)
void spinCallback (const ros::TimerEvent &)
 ~Node ()

Protected Attributes

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

Detailed Description

Definition at line 44 of file node.cpp.


Constructor & Destructor Documentation

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

Definition at line 80 of file node.cpp.

Definition at line 90 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 193 of file node.cpp.

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

Definition at line 98 of file node.cpp.

Disconnect

Definition at line 176 of file node.cpp.

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

Definition at line 52 of file node.cpp.

Definition at line 226 of file node.cpp.

void flir_ptu_driver::Node::resetCallback ( const std_msgs::Bool::ConstPtr &  msg)

Callback for resetting PTU

Definition at line 186 of file node.cpp.

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

Definition at line 237 of file node.cpp.


Member Data Documentation

Definition at line 77 of file node.cpp.

Definition at line 76 of file node.cpp.

Definition at line 71 of file node.cpp.

Definition at line 72 of file node.cpp.

Definition at line 70 of file node.cpp.

Definition at line 69 of file node.cpp.

Definition at line 73 of file node.cpp.

Definition at line 75 of file node.cpp.

Definition at line 68 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 Tue Mar 19 2019 09:36:57