Search found 6967 matches

by coppelia
20 Feb 2019, 13:37
Forum: General questions
Topic: On UR5 Motion Planning using OMPL
Replies: 1
Views: 98

Re: On UR5 Motion Planning using OMPL

Hello,

it can be quite tricky to use the OMPL functions. At the same time, there used to be 1-2 bugs in that OMPL plugin, maybe you can try with the latest V-REP release (V3.6.0.rev1).

Cheers
by coppelia
20 Feb 2019, 13:35
Forum: General questions
Topic: ways to communicate robots controlled by remote API
Replies: 3
Views: 279

Re: ways to communicate robots controlled by remote API

If you need the data on the remote API client side, you can still use simxCallScriptFunction: but make sure that the function returns the desired data. If you use that function call with the streaming operation mode, that function will automatically be called in each simulation step, and you can col...
by coppelia
20 Feb 2019, 10:17
Forum: General questions
Topic: sim.computeJacobian() is returning -1
Replies: 1
Views: 107

Re: sim.computeJacobian() is returning -1

Hello,

something must be wrong with your IK group.
Try using the IRB140 model: replace the code in the child script with your code, and you will see that the Jacobian is computed.
Are you sure your joints are in IK mode?

Cheers
by coppelia
20 Feb 2019, 10:05
Forum: Bug reports
Topic: version 3.6 rev0 headless mode seams to crash
Replies: 2
Views: 24

Re: version 3.6 rev0 headless mode seams to crash

Hello,

thanks for reporting this bug. It has now been fixed (V-REP V3.6.0 rev1).

Cheers
by coppelia
12 Feb 2019, 10:45
Forum: General questions
Topic: Reading an object's position using the Python remote API
Replies: 1
Views: 188

Re: Reading an object's position using the Python remote API

Hello,

you cannot get data from V-REP with the operation mode vrep.simx_opmode_oneshot! That mode is meant to be used to send data to V-REP (or execute a command on the V-REP side without waiting for a reply from V-REP).
Make sure to carefully read this page.

Cheers
by coppelia
12 Feb 2019, 10:41
Forum: General questions
Topic: gripper finger force not balanced
Replies: 1
Views: 116

Re: gripper finger force not balanced

Hello, this is typical, since the two joints exert a same but opposite force. This can be though similarly as trying to carry a small cube with two fingers from different hands/arms: the operation will not be as stable as carrying the box with two fingers of the same hand. In order to avoid this, yo...
by coppelia
12 Feb 2019, 10:32
Forum: General questions
Topic: 2-axis joystick simulation: 2 joints and a dummy link
Replies: 3
Views: 577

Re: 2-axis joystick simulation: 2 joints and a dummy link

Yes, this is in conflict with design consideration 7, indeed. Unless you use the Vortex engine, which is much more tolerant in that aspect.
You can always try, but if you notice a wobbly or soft behaviour in the joint construction, this means that you have gone too far..

Cheers
by coppelia
12 Feb 2019, 10:08
Forum: General questions
Topic: ways to communicate robots controlled by remote API
Replies: 3
Views: 279

Re: ways to communicate robots controlled by remote API

Hello,

maybe the best and easiest would be to simply use simxCallScriptFunction: using that function, you can call a script function, that itself can call various local API function (i.e. within V-REP).
You can find an example in programming/remoteApiBindings/lib/complexCommandTest.cpp

Cheers
by coppelia
12 Feb 2019, 09:37
Forum: General questions
Topic: Using LIDAR sensor with remoteAPI
Replies: 3
Views: 299

Re: Using LIDAR sensor with remoteAPI

you will still have to adjust the script a little bit, e.g.:

Code: Select all

function sysCall_sensing()
    data=simVision.handleVelodyneHDL64E(h,sim.getSimulationTimeStep())
    packedData=sim.packFloatTable(data)
    sim.setStringSignal("measuredDataAtThisTime",packedData)
end
Cheers