Why does my Simulation Stop automatically?

Forum Forums Visual Components 4.1 General Product Questions Why does my Simulation Stop automatically?

Tagged: 

This topic contains 7 replies, has 4 voices, and was last updated by Avatar vcnoob 8 months, 1 week ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12722
    Avatar
    vcnoob
    Participant

    Hi, I have a few robot sequences that are triggered externally via mqtt. While receiving the subscribed message, the a python script behaviour calls certain routines via the robotexecutor class. However, the simulation stops after executing some routines. How cant this be prevented?

    #12724
    Sicario
    Sicario
    Participant

    are any of these options ON ?

    #12749
    Avatar
    Dubs3pp
    Participant

    Do you use an AccuracyMethod in any of your Motion Statements? If you set the Accuracy Distance to 20 for example and two statements are closer together than that, then your robot won’t know what to do and the movement will stop.

    #12753
    Avatar
    vcnoob
    Participant

    None of the options are ON and I am using only Linear and Point to Point Motion statements along with setting Binary Outputs On and Off for grasping and releasing.

    #12755
    Sicario
    Sicario
    Participant

    Is it possible that one of the points in one of the routines is

    #out of reach, or

    #gets out of reach due to base change

    after some iteration ?

    #12782
    Avatar
    vcnoob
    Participant

    No, all the points are relatively close to the robot and within the work envelope and there are no base changes

    #12832
    Avatar
    ozan
    Participant

    Yes i think it’s a bug. Simulation stops if robot code is finished.

    If you take your code into ‘while True’ loop i think it won’t stop anymore.

    #12852
    Avatar
    vcnoob
    Participant

    But that beats the entire purpose of externally triggering robot sequences. I only want it to run, when I receive publish a message on an mqtt topic.

    Thinking of it I could put a while loop and an If condition and change the value of the variable in the If condition using the mqtt trigger.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.