What is the best way to reproduce the exact same execution

Typically: "How do I... ", "How can I... " questions
Post Reply
mert
Posts: 10
Joined: 04 Feb 2020, 09:53

What is the best way to reproduce the exact same execution

Post by mert »

Hi everybody,

I was wondering whether there is a way to reproduce exact same results of an execution, and if so what is the best practice?

The situation is that I have a scene that I will collect data. I want to log all the things I will need to reproduce the exact same result. One way that I think is logging the scene object poses and other variables in my scene in a file (txt or csv) before the execution of the robot starts to reproduce the same scene. However, there should be some randomization by default in the simulation, that I want to also execute exactly the same. How can I ensure to keep all the parameters the same in another run then? Which parameters I need to store related to execution? Is there a way to do that easily, as some sort of seed?

Best

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: What is the best way to reproduce the exact same execution

Post by fferri »

See this post.

It can be done if you can avoid dynamics and other sources of randomness.

Post Reply