Skip to content

Commit

Permalink
fix type error in newer versions of urdf (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwwood committed Jun 5, 2017
1 parent 73c64a3 commit 81e8771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/robot/robot_link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<urdf::Visual> visual = link->visual;
urdf::VisualSharedPtr visual = link->visual;
std::vector<urdf::VisualSharedPtr>::const_iterator vi;
for( vi = link->visual_array.begin(); vi != link->visual_array.end(); vi++ )
{
Expand Down

0 comments on commit 81e8771

Please sign in to comment.