How to Stop and Resume Robot in simulation? (Don't stop the simulation)

Forum Forums Visual Components 4.1 .NET Addon Programming How to Stop and Resume Robot in simulation? (Don't stop the simulation)

This topic contains 3 replies, has 4 voices, and was last updated by Avatar Pet 4 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #15639

    Hi, all:

    I want to stop the Robot in a simulation which isĀ  running(Don’t stop the simulation, only pause and resume the robot) us C# .NET.

    I try the function just like IRobot.Executor.Freeze() / IRobot.Executor.Continue() ,but it not work actually.

    Has anybody an idea how to deal that or already experiences?

    Best regards



    Hi benson,

    The Freeze method is not definitely what you are looking for. That’s for client-simulation communication purposes.

    I believe that in any case it’s not possible to stop a robot in middle of a statement execution, but between statements it might be…

    I don’t have now time to test it but it might be worth trying to disable the executor with “IRobot.Executor.IsEnabled = false” and then enable it again and use IRobot.Executor.Continue() method.




    IRobotExecutor.IsEnabled = false will not pause a robot program. It is used to define if the executor will execute its program. If the program is already executing, there is really no way to stop it within simulation.


    Hi benson!

    I’ve made something a while ago, what you might could use.

    It stops the Robot on a Collision, and continue to run on a signal, but the problem with it, was that the Robot forgets the last location it was heading towards.

    I stopped working on it, but if you can improve it I would be happy to see the result.

    Best regards


    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.