Loading a world with a robot in it

Hi, simple question here.

I am working on a project that stabilizes a robot in a world before running a simulation. But I would like to avoid this step as I will be running the simulation many times, if I can stabilize the robot once, and save that world with the stabilized robot in it, then load that saved world with the stabilized robot, what would be the best way of doing it? What are the best classes for this task?

Unfortunately we don’t currently have a way to export an entire world to disk.

One approach I might recommend would be to print out the joint positions of the robot once it’s stabilized, then you can save those somewhere (e.g. a text file) and load them in at the start of a simulation.

1 Like