This repo shows what changes you need to make to the turtlesim repository to add your own turtle image.
- Add your image to the image folder in this repository. Make sure the image is a
transparent png
or ansvg
. - Go to line 93 in the src/turtle_frame.cpp and replace
"custom.svg"
with the name of your file name.
- If you wish to add more then one image, add
custom_image.append("<image_name>");
on line 99 with <image_name> as your image name with the extension.png
or.svg