Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
robot_state_publisher::JointStateListener Class Reference

#include <joint_state_listener.h>

Inheritance diagram for robot_state_publisher::JointStateListener:
Inheritance graph
[legend]

Public Member Functions

 JointStateListener (const KDL::Tree &tree, const MimicMap &m, const urdf::Model &model=urdf::Model())
 
 ~JointStateListener ()
 Destructor. More...
 

Protected Member Functions

virtual void callbackFixedJoint (const ros::TimerEvent &e)
 
virtual void callbackJointState (const JointStateConstPtr &state)
 

Protected Attributes

bool ignore_timestamp_
 
Subscriber joint_state_sub_
 
ros::Time last_callback_time_
 
std::map< std::string, ros::Timelast_publish_time_
 
MimicMap mimic_
 
Duration publish_interval_
 
robot_state_publisher::RobotStatePublisher state_publisher_
 
std::string tf_prefix_
 
ros::Timer timer_
 
bool use_tf_static_
 

Detailed Description

Definition at line 56 of file joint_state_listener.h.

Constructor & Destructor Documentation

JointStateListener::JointStateListener ( const KDL::Tree tree,
const MimicMap m,
const urdf::Model model = urdf::Model() 
)

Constructor

Parameters
treeThe kinematic model of a robot, represented by a KDL Tree

Definition at line 50 of file joint_state_listener.cpp.

JointStateListener::~JointStateListener ( )

Destructor.

Definition at line 83 of file joint_state_listener.cpp.

Member Function Documentation

void JointStateListener::callbackFixedJoint ( const ros::TimerEvent e)
protectedvirtual

Definition at line 87 of file joint_state_listener.cpp.

void JointStateListener::callbackJointState ( const JointStateConstPtr state)
protectedvirtual

Definition at line 93 of file joint_state_listener.cpp.

Member Data Documentation

bool robot_state_publisher::JointStateListener::ignore_timestamp_
protected

Definition at line 79 of file joint_state_listener.h.

Subscriber robot_state_publisher::JointStateListener::joint_state_sub_
protected

Definition at line 73 of file joint_state_listener.h.

ros::Time robot_state_publisher::JointStateListener::last_callback_time_
protected

Definition at line 75 of file joint_state_listener.h.

std::map<std::string, ros::Time> robot_state_publisher::JointStateListener::last_publish_time_
protected

Definition at line 76 of file joint_state_listener.h.

MimicMap robot_state_publisher::JointStateListener::mimic_
protected

Definition at line 77 of file joint_state_listener.h.

Duration robot_state_publisher::JointStateListener::publish_interval_
protected

Definition at line 71 of file joint_state_listener.h.

robot_state_publisher::RobotStatePublisher robot_state_publisher::JointStateListener::state_publisher_
protected

Definition at line 72 of file joint_state_listener.h.

std::string robot_state_publisher::JointStateListener::tf_prefix_
protected

Definition at line 70 of file joint_state_listener.h.

ros::Timer robot_state_publisher::JointStateListener::timer_
protected

Definition at line 74 of file joint_state_listener.h.

bool robot_state_publisher::JointStateListener::use_tf_static_
protected

Definition at line 78 of file joint_state_listener.h.


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


robot_state_publisher
Author(s): Ioan Sucan , Jackie Kay , Wim Meeussen
autogenerated on Sun Feb 10 2019 03:51:46