Terminate a task

I want to add a sequence of tasks to Franka robot, but I found that I should terminate each one after finishing, and then add the new task.
to add a task I used :
world.add_task(FrankaPlaying(name=“name of the task”))
could you please tell me how to terminate a task?

You can add as many tasks as you want. The task termination logic will have to go at the pre_step method in the task itself. We will add a remove_task method in World in a future release.

Let us know if you have more questions.

1 Like

Thank you @oahmed .

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.