From 81e8771d554bda6975d71de5e7c150c4c165a538 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Tue, 2 May 2017 14:08:24 -0700 Subject: [PATCH] fix type error in newer versions of urdf (#1098) --- src/rviz/robot/robot_link.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rviz/robot/robot_link.cpp b/src/rviz/robot/robot_link.cpp index 7a5988ebac..de159e675b 100644 --- a/src/rviz/robot/robot_link.cpp +++ b/src/rviz/robot/robot_link.cpp @@ -456,7 +456,7 @@ Ogre::MaterialPtr RobotLink::getMaterialForLink( const urdf::LinkConstSharedPtr& Ogre::MaterialPtr mat = Ogre::MaterialManager::getSingleton().create(ss.str(), ROS_PACKAGE_NAME); mat->getTechnique(0)->setLightingEnabled(true); - boost::shared_ptr visual = link->visual; + urdf::VisualSharedPtr visual = link->visual; std::vector::const_iterator vi; for( vi = link->visual_array.begin(); vi != link->visual_array.end(); vi++ ) {