robot_state_publisher::RobotStatePublisher Class Reference

#include <robot_state_publisher.h>

List of all members.

Classes

class  empty_tree_exception

Public Member Functions

bool publishTransforms (const std::map< std::string, double > &joint_positions, const ros::Time &time)
 RobotStatePublisher (const KDL::Tree &tree)
 ~RobotStatePublisher ()
 Destructor.

Private Attributes

robot_state_publisher::RobotStatePublisher::empty_tree_exception empty_tree_ex
bool flatten_tree_
std::string root_
boost::scoped_ptr
< KDL::TreeFkSolverPosFull_recursive
solver_
tf::TransformBroadcaster tf_broadcaster_
ros::Publisher tf_publisher_
std::vector< tf::StampedTransform > transforms_
KDL::Tree tree_

Detailed Description

Definition at line 48 of file robot_state_publisher.h.


Constructor & Destructor Documentation

robot_state_publisher::RobotStatePublisher::RobotStatePublisher ( const KDL::Tree &  tree  ) 

Constructor

Parameters:
tree The kinematic model of a robot, represented by a KDL Tree
robot_state_publisher::RobotStatePublisher::~RobotStatePublisher (  )  [inline]

Destructor.

Definition at line 57 of file robot_state_publisher.h.


Member Function Documentation

bool robot_state_publisher::RobotStatePublisher::publishTransforms ( const std::map< std::string, double > &  joint_positions,
const ros::Time &  time 
)

Publish transforms to tf

Parameters:
joint_positions A map of joint names and joint positions.
time The time at which the joint positions were recorded returns true on success; return false when the robot model is empty or not all the joints in the robot model are specified in the joint map.

Member Data Documentation

Definition at line 68 of file robot_state_publisher.h.

Definition at line 71 of file robot_state_publisher.h.

Definition at line 70 of file robot_state_publisher.h.

Definition at line 73 of file robot_state_publisher.h.

Definition at line 67 of file robot_state_publisher.h.

std::vector<tf::StampedTransform> robot_state_publisher::RobotStatePublisher::transforms_ [private]

Definition at line 72 of file robot_state_publisher.h.

Definition at line 69 of file robot_state_publisher.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines


robot_state_publisher
Author(s): Wim Meeussen meeussen@willowgarage.com
autogenerated on Fri Jan 11 10:00:40 2013