Page 1 of 1

parallel joint

Posted: 16 May 2018, 04:02
by wpc
I want to contral parallel joint with remote api. i learned that i need to set up and solve IkGroup by examples. But there are not related functions in remote api such as python. So, i used the function simxCallScriptFunction . But no effect after using function. The related codes are as follows:
In vrep:

Code: Select all

    -- First set the motor joint into passive mode
    -- Set the desired joint angle
    local angle=20*math.pi/180*math.sin(math.pi*simGetSimulationTime())
    simSetJointPosition(jhandle, jangle)

    -- Compute
In python:

Code: Select all

def setparalleljoint(jhandle,jangle):
Could you tell me how can i contral parallel joint with remote api only for FK in kinematic simulation? I have learned to use lua control parallel joint in vrep。

Thank you.

Re: parallel joint

Posted: 18 May 2018, 13:55
by coppelia

you first need to identify where the problem comes from: is it linked to the remote API? Or the script function?
Is your script function called? If you call the same function directly from the script, is the behaviour different?