Search found 6952 matches

by coppelia
29 Jan 2019, 14:21
Forum: General questions
Topic: Detect if an object is in the cup
Replies: 2
Views: 1317

Re: Detect if an object is in the cup

Yes, or you can also simply read the position of the object and the cup and if they are within the cup radius, then the object is in the cup.

Cheers
by coppelia
29 Jan 2019, 14:19
Forum: General questions
Topic: How to control UARM with python (remote API)
Replies: 2
Views: 152

Re: How to control UARM with python (remote API)

Hello, you will have to adjust the child scripts attached to the UARM. You have several ways to send commands to those child scripts. E.g. with simxSetFloatSignal , or simxCallScriptFunction . The last option is the better one since you can send more or less random data and have the called script pe...
by coppelia
29 Jan 2019, 14:14
Forum: Bug reports
Topic: OMPL planner creates only a small number of states in roadmap/graph
Replies: 3
Views: 224

Re: OMPL planner creates only a small number of states in roadmap/graph

Hello, next V-REP release will use the newest OMPL sources. You need to install Eigen (sudo apt install libeigen3-dev), and compile similar to: export CXXFLAGS=-isystem\ /usr/include/eigen3/ #or wherever it is located cmake -DOMPL_LIBRARY=/home/user/Documents/ompl-1.4.2-Source/build/lib/libompl.so -...
by coppelia
28 Jan 2019, 15:32
Forum: General questions
Topic: how to resize a castor wheel
Replies: 1
Views: 77

Re: how to resize a castor wheel

Hello,

click on scaling in this dialog.

Cheers
by coppelia
28 Jan 2019, 15:29
Forum: General questions
Topic: remoteApiBindings generation
Replies: 2
Views: 129

Re: remoteApiBindings generation

Hello,

those two files were hand-written...

Cheers
by coppelia
28 Jan 2019, 15:29
Forum: General questions
Topic: Parametric model of robot arm
Replies: 4
Views: 194

Re: Parametric model of robot arm

Hello, yes, you can use sim.scaleObject . You might have to previously gather the current object size if you want to set a specific size, instead of just scaling the object. Following could help: function model.setObjectSize(h,x,y,z) local r,mmin=sim.getObjectFloatParameter(h,sim.objfloatparam_objbb...
by coppelia
28 Jan 2019, 15:25
Forum: General questions
Topic: How to use simSetGraphUserData from Python remote api?
Replies: 1
Views: 114

Re: How to use simSetGraphUserData from Python remote api?

Hello,

no, you don't have an equivalent API call. But you can add a child script to the scene that contains a function that calls sim.setGraphUserData. Then you can call that function via simxCallScriptFunction.

Cheers
by coppelia
28 Jan 2019, 15:21
Forum: Bug reports
Topic: OMPL state validation callback is 2-3 times slower than using default state validation checking
Replies: 3
Views: 144

Re: OMPL state validation callback is 2-3 times slower than using default state validation checking

Yes, you can run several instances of V-REP, that should work, even if not really elegant ;)

Cheers
by coppelia
28 Jan 2019, 15:20
Forum: Bug reports
Topic: Shared Memory problem when using 'simxCallScriptFunction'
Replies: 4
Views: 397

Re: Shared Memory problem when using 'simxCallScriptFunction'

Thanks,

normally you can have several shared memory remote API clients by specifying each time a different, negative port number (i.e. similar to creating several clients when using socket communication).

Cheers
by coppelia
28 Jan 2019, 15:17
Forum: Feature requests
Topic: V-REP Update
Replies: 1
Views: 117

Re: V-REP Update

Hello,

the next V-REP release will very probably be in February. Check the changes here.

Cheers