a2s-institute / youbot_simulation

Packages to run the KUKA youBot in the Gazebo simulation with ROS
23 stars 42 forks source link

[youbot gazebo control] use urdf::JointConstSharedPtr #14

Closed moriarty closed 5 years ago

moriarty commented 5 years ago

With ROS Kinetic, C++11 is finally officially in REP-3 http://www.ros.org/reps/rep-0003.html

The urdf::JointConstSharedPtr is a alias for std::shared_ptr on kinetic and newer. https://github.com/ros/urdfdom_headers

But for Indigo compatibility headers are available. https://github.com/ros/urdf/tree/indigo-devel

This PR should compile with Indigo, Kinetic and Melodic. (tested on Melodic)

More could be done, all of the boost::shared_ptr and boost usage in general could be replaced.

also, I migrated the pluginlib header.

moriarty commented 5 years ago

Ping @sthoduka for review

sthoduka commented 5 years ago

tested on kinetic