ros / ros_tutorials

Code used in tutorials found on ROS wiki
http://wiki.ros.org/ros_tutorials
805 stars 539 forks source link

turtlesim does not install .svg images #12

Closed paulvarnell closed 11 years ago

paulvarnell commented 11 years ago

Turtlesim uses both .png and .svg images for turtles (currently the only .svg image is "hydro.svg"), but the cmake file only installs the .png images. The result of this is that occasionally a spawned turtle will not appear on screen.

In turtlesim/CMakeLists.txt, the lines

install(DIRECTORY images
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
  FILES_MATCHING PATTERN "*.png")

should be changed to

install(DIRECTORY images
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
  FILES_MATCHING PATTERN "*.png" PATTERN "*.svg")
dirk-thomas commented 11 years ago

Thanks for the report. Fixed and released.