How to calculate process speed for statements

Forum Forums Visual Components 4.1 Python Programming in VC How to calculate process speed for statements

This topic contains 1 reply, has 2 voices, and was last updated by zesty zesty 3 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15249
    Avatar
    Junqiu.Wu
    Participant

    Hi everybody,

    I’m working with KUKA Sim Pro 3.1 and try to calculate process speed for one statement. It means that I need sample the position while the simulation is running. I use interpolator to realize this function, the main structure as follow:

    when I run this python, the method “interpolator.interpolate(t)” can only run once when t is zero, then the program will crash. And the “sampleTarget” I got is strange. it has no value of “JointValues” and many other properties.

    Could you help me check for error?

    As I known, Sim pro 3.1 add RCS module in KUKA robot controller. Is it the reason why the method “interpolator.interpolate(t)” can’t use? (I test same program in SimPro 3.0.5, it works good)

    For Sim Pro 3.1 and KUKA robot,   is there any other way obtain the process position?

     

    #15863
    zesty
    zesty
    Moderator

    Please report the crash to Kuka support and how to reproduce it. The interpolator uses the internal robot controller, so what happens if you disable RCS?

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

You must be logged in to reply to this topic.