# Revision history [back]

The only parameters that show up in rqt's Dynamic Reconfigure (at least in Foxy) are background_b background_g background_r and use_sim_time so I don't think so.

The only parameters that show up in rqt's Dynamic Reconfigure (at least in Foxy) are background_b background_g background_r and use_sim_time so I don't think so.

EDIT: So I checked the source code and I found out that it is indeed random. However, this portion is interesting. That code basically adds all the images from turtlesim/images to a vector and that vector is used to randomly pick a turtlebot.

This means you could build ros tutorials from source and simply delete all the files from the folder turtlesim/images except the one you want.

I'm not 100% sure this will work, but I am 95% sure this is the only way to use the same turtlesim every time.

The only parameters that show up in rqt's Dynamic Reconfigure (at least in Foxy) are background_b background_g background_r and use_sim_time so I don't think so.

EDIT: So I checked the source code and I found out that it is indeed random. However, this portion is interesting. That code basically adds all the images from turtlesim/images to a vector and that vector is used to randomly pick a turtlebot.

This means you could build ros tutorials from source and simply delete all the files from the folder turtlesim/images except the one you want.

I'm not 100% sure this will work, but I am 95% sure this is the only way to use the same turtlesim every time.

EDIT 2. I decided to check if it would work. There is 1 small thing you need to change to the source code (besides removing the other images from the folder) to get it to work.

This portion is used to create the vector of images. More specifically its length is used. If you don't change it, there will be a vector of 6 'images' where only the first one really exists and the other 'images' don't exist.

So in order to get it to work, you need to remove the appends except for the append of the turtle you want (e.g. if you want to use the 'ardent' one, remove line 82-86).

I'm not sure if you find it worth it to go through all of this just to get the same turtle, but that's the way I found to do it.