Public Member Functions | Protected Attributes
PTU46::PTU46_Node Class Reference

List of all members.

Public Member Functions

void Connect ()
void Disconnect ()
bool ok ()
void produce_diagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat)
 PTU46_Node (ros::NodeHandle &node_handle)
void SetGoal (const sensor_msgs::JointState::ConstPtr &msg)
void spinOnce ()
 ~PTU46_Node ()

Protected Attributes

ros::Publisher m_joint_pub
ros::Subscriber m_joint_sub
ros::NodeHandle m_node
PTU46m_pantilt
diagnostic_updater::Updaterm_updater

Detailed Description

PTU46 ROS Package Copyright (C) 2009 Erik Karulf (erik@cse.wustl.edu)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition at line 29 of file ptu46_node.cc.


Constructor & Destructor Documentation

Definition at line 57 of file ptu46_node.cc.

Definition at line 64 of file ptu46_node.cc.


Member Function Documentation

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

Definition at line 71 of file ptu46_node.cc.

Disconnect

Definition at line 118 of file ptu46_node.cc.

bool PTU46::PTU46_Node::ok ( ) [inline]

Definition at line 36 of file ptu46_node.cc.

Definition at line 139 of file ptu46_node.cc.

void PTU46::PTU46_Node::SetGoal ( const sensor_msgs::JointState::ConstPtr &  msg)

Callback for getting new Goal JointState

Definition at line 126 of file ptu46_node.cc.

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

Definition at line 149 of file ptu46_node.cc.


Member Data Documentation

Definition at line 53 of file ptu46_node.cc.

Definition at line 54 of file ptu46_node.cc.

Definition at line 52 of file ptu46_node.cc.

Definition at line 51 of file ptu46_node.cc.

Definition at line 50 of file ptu46_node.cc.


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


ptu46
Author(s): Erik Karulf, David V. Lu!!
autogenerated on Fri Aug 28 2015 12:58:57