2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

turtlesimの亀を自作画像に変えてみた^^

Last updated at Posted at 2020-08-31

こちらのサイトからturtlesimをクローンする。
https://github.com/ros/ros_tutorials

このように沢山の🐢さんがいるのだ!!!!!
Screenshot from 2019-11-27 23-43-59.png

こちらはここに定義されている。
/home/mertcook2/catkin_ws/src/ros_tutorials/turtlesim/src

turtle_frame.cpp
  QVector<QString> turtles;
  turtles.append("box-turtle.png");
  turtles.append("robot-turtle.png");
  turtles.append("sea-turtle.png");
  turtles.append("diamondback.png");
  turtles.append("electric.png");
  turtles.append("fuerte.png");
  turtles.append("groovy.png");
  turtles.append("hydro.svg");
  turtles.append("indigo.svg");
  turtles.append("jade.png");
  turtles.append("kinetic.png");
  turtles.append("lunar.png");
  turtles.append("melodic.png");

ここを好きなファイルに変更したら後はok!!!!
多分サイズとか関係してきそうだ。。。
Screenshot from 2019-11-27 23-12-00.png

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?