#include <joint_state_listener.h>
Public Member Functions | |
| JointStateListener (const KDL::Tree &tree, const MimicMap &m, const urdf::Model &model=urdf::Model()) | |
| ~JointStateListener () | |
| Destructor. | |
Private Member Functions | |
| void | callbackFixedJoint (const ros::TimerEvent &e) |
| void | callbackJointState (const JointStateConstPtr &state) |
Private Attributes | |
| Subscriber | joint_state_sub_ |
| ros::Time | last_callback_time_ |
| std::map< std::string, ros::Time > | last_publish_time_ |
| MimicMap | mimic_ |
| Duration | publish_interval_ |
| robot_state_publisher::RobotStatePublisher | state_publisher_ |
| std::string | tf_prefix_ |
| ros::Timer | timer_ |
| bool | use_tf_static_ |
Definition at line 56 of file joint_state_listener.h.
| JointStateListener::JointStateListener | ( | const KDL::Tree & | tree, |
| const MimicMap & | m, | ||
| const urdf::Model & | model = urdf::Model() |
||
| ) |
Constructor
| tree | The kinematic model of a robot, represented by a KDL Tree |
Definition at line 50 of file joint_state_listener.cpp.
Destructor.
Definition at line 76 of file joint_state_listener.cpp.
| void JointStateListener::callbackFixedJoint | ( | const ros::TimerEvent & | e | ) | [private] |
Definition at line 80 of file joint_state_listener.cpp.
| void JointStateListener::callbackJointState | ( | const JointStateConstPtr & | state | ) | [private] |
Definition at line 85 of file joint_state_listener.cpp.
Definition at line 73 of file joint_state_listener.h.
Definition at line 75 of file joint_state_listener.h.
std::map<std::string, ros::Time> robot_state_publisher::JointStateListener::last_publish_time_ [private] |
Definition at line 76 of file joint_state_listener.h.
Definition at line 77 of file joint_state_listener.h.
Definition at line 71 of file joint_state_listener.h.
robot_state_publisher::RobotStatePublisher robot_state_publisher::JointStateListener::state_publisher_ [private] |
Definition at line 72 of file joint_state_listener.h.
std::string robot_state_publisher::JointStateListener::tf_prefix_ [private] |
Definition at line 70 of file joint_state_listener.h.
Definition at line 74 of file joint_state_listener.h.
bool robot_state_publisher::JointStateListener::use_tf_static_ [private] |
Definition at line 78 of file joint_state_listener.h.