osrf / vrx

Virtual RobotX (VRX) resources.
Apache License 2.0
387 stars 178 forks source link

How to reset the simulation in my code? #754

Closed ZiQi21 closed 5 months ago

ZiQi21 commented 7 months ago

I want to reset the simulation after each task failure in the code, but there seems to be no reset topic

caguero commented 5 months ago

We don't have a reset implemented to reboot a task. You could try doing it yourself in one of the scoring plugins associated to a task.

This tutorial might be useful:

https://gazebosim.org/api/sim/8/reset_simulation.html