Package Details: ros-indigo-robot-state-publisher 1.11.2-1

Git Clone URL: https://aur.archlinux.org/ros-indigo-robot-state-publisher.git (read-only, click to copy)
Package Base: ros-indigo-robot-state-publisher
Description: ROS - This package allows you to publish the state of a robot to tf.
Upstream URL: http://wiki.ros.org/robot_state_publisher
Licenses: BSD
Submitter: bchretien
Maintainer: marauder
Last Packager: bchretien
Votes: 1
Popularity: 0.000000
First Submitted: 2014-06-07 16:18
Last Updated: 2016-05-22 20:59

Latest Comments

jerry73204 commented on 2018-11-04 20:56

Please add this patch fix the compatibility with newer urdf library.

diff --git a/include/robot_state_publisher/joint_state_listener.h b/include/robot_state_publisher/joint_state_listener.h
index c9c1b59..434435d 100644
--- a/include/robot_state_publisher/joint_state_listener.h
+++ b/include/robot_state_publisher/joint_state_listener.h
@@ -48,7 +48,7 @@ using namespace ros;
 using namespace KDL;

 typedef boost::shared_ptr<sensor_msgs::JointState const> JointStateConstPtr;
-typedef std::map<std::string, boost::shared_ptr<urdf::JointMimic> > MimicMap;
+typedef std::map<std::string, std::shared_ptr<urdf::JointMimic> > MimicMap;

 namespace robot_state_publisher{

diff --git a/src/joint_state_listener.cpp b/src/joint_state_listener.cpp
index e64005f..edfc41d 100644
--- a/src/joint_state_listener.cpp
+++ b/src/joint_state_listener.cpp
@@ -161,7 +161,7 @@ int main(int argc, char** argv)

   MimicMap mimic;

-  for(std::map< std::string, boost::shared_ptr< urdf::Joint > >::iterator i = model.joints_.begin(); i != model.joints_.end(); i++){
+  for(std::map< std::string, std::shared_ptr< urdf::Joint > >::iterator i = model.joints_.begin(); i != model.joints_.end(); i++){
     if(i->second->mimic){
       mimic.insert(make_pair(i->first, i->second->mimic));
     }

jerry73204 commented on 2018-11-03 05:11

@marauder please update the sha256 checksum to 025feb4de2387754100a6a7cc39bf4abeb154621bda5ffd66a5ea2d793b29595