37 #ifndef ROBOT_STATE_PUBLISHER_H
38 #define ROBOT_STATE_PUBLISHER_H
47 #include <kdl/frames.hpp>
48 #include <kdl/segment.hpp>
49 #include <kdl/tree.hpp>
56 SegmentPair(
const KDL::Segment& p_segment,
const std::string& p_root,
const std::string& p_tip):
64 class RobotStatePublisher
88 void publishTransforms(
const std::map<std::string, double>& joint_positions,
const ros::Time& time,
const std::string & tf_prefix);
92 virtual void addChildren(
const KDL::SegmentMap::const_iterator segment);