| Public Member Functions | |
| void | Connect () | 
| void | Disconnect () | 
| bool | ok () | 
| 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 | 
| PTU46 * | m_pantilt | 
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 36 of file ptu46_node.cc.
| PTU46::PTU46_Node::PTU46_Node | ( | ros::NodeHandle & | node_handle | ) | 
Definition at line 61 of file ptu46_node.cc.
| PTU46::PTU46_Node::~PTU46_Node | ( | ) | 
Definition at line 66 of file ptu46_node.cc.
| void PTU46::PTU46_Node::Connect | ( | ) | 
Opens the connection to the PTU and sets appropriate parameters. Also manages subscriptions/publishers
Definition at line 72 of file ptu46_node.cc.
| void PTU46::PTU46_Node::Disconnect | ( | ) | 
Disconnect
Definition at line 130 of file ptu46_node.cc.
| 
 | inline | 
Definition at line 43 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 138 of file ptu46_node.cc.
| void PTU46::PTU46_Node::spinOnce | ( | ) | 
Publishes a joint_state message with position and speed. Also sends out updated TF info.
Definition at line 197 of file ptu46_node.cc.
| 
 | protected | 
Definition at line 57 of file ptu46_node.cc.
| 
 | protected | 
Definition at line 58 of file ptu46_node.cc.
| 
 | protected | 
Definition at line 56 of file ptu46_node.cc.
| 
 | protected | 
Definition at line 55 of file ptu46_node.cc.