Search found 7157 matches

by coppelia
21 Jun 2019, 14:36
Forum: Bug reports
Topic: ur5WithRg2Grasping.ttt stuck on headless mode
Replies: 2
Views: 115

Re: ur5WithRg2Grasping.ttt stuck on headless mode

Hello, I didn't test it in headless mode, but there is indeed a problem with that scene. Before going further into this, can you add a non-threaded child script to object RG2_centerJoint1 with following content and tell me if the problem remains? function sysCall_init() openCloseMotor=sim.getObjectH...
by coppelia
21 Jun 2019, 13:36
Forum: General questions
Topic: Uncertainty in the image data during each simulation step
Replies: 1
Views: 94

Re: Uncertainty in the image data during each simulation step

Hello,

I am curious whether you are deleting and constructing the b0RemoteApi object, between individual runs?

Cheers
by coppelia
21 Jun 2019, 13:26
Forum: General questions
Topic: proximity sensors problem
Replies: 4
Views: 195

Re: proximity sensors problem

Please write a small script that reads and prints the data from those proximity sensors, directly in V-REP. Make sure that those values are correct. Only then, look at the remote API side. Also, if you are in synchronous mode and haven't yet stepped the simulation, then you won't get any valid data ...
by coppelia
21 Jun 2019, 13:18
Forum: General questions
Topic: V-REP running on server
Replies: 1
Views: 61

Re: V-REP running on server

Hum, this could be any reason... can you identify what is slower? Vision sensors? Or you running in headless mode?

Cheers
by coppelia
21 Jun 2019, 13:16
Forum: General questions
Topic: simRegisterScriptVariable: error
Replies: 3
Views: 133

Re: simRegisterScriptVariable: error

Hello,

this is very probably linked to a bug that was corrected since then. Can you try with the newest V-REP version? (i.e. V3.6.1)

Cheers
by coppelia
21 Jun 2019, 13:15
Forum: General questions
Topic: Applying a Constant Force
Replies: 10
Views: 2950

Re: Applying a Constant Force

How do you read joint angles?

Cheers
by coppelia
21 Jun 2019, 13:14
Forum: General questions
Topic: Simulate multiple steps
Replies: 3
Views: 240

Re: Simulate multiple steps

With following in your customization script, you can run 20 simulation steps at a time: function sysCall_init() stepsToRun=0 end function start20StepRun() stepsToRun=20 end function sysCall_beforeMainScript() return {doNotRunMainScript=(stepsToRun==0)} end function sysCall_actuation() stepsToRun=ste...
by coppelia
14 Jun 2019, 13:35
Forum: General questions
Topic: Learning joint dynamics
Replies: 6
Views: 415

Re: Learning joint dynamics

I am not sure I understand what you mean ;) If you want to produce specific force/torque output for a given joint, based on some value calculated by a neural network for instance, then you should use a joint control callback function . The force/torque will still be applied by the underlying joint m...
by coppelia
14 Jun 2019, 13:23
Forum: General questions
Topic: Simulate multiple steps
Replies: 3
Views: 240

Re: Simulate multiple steps

Hello, if you want to step a simulation from within V-REP, then you will have to loop into the callback function sysCall_beforeMainScript used inside of a customization script, as was done in the simulation stepper tool. That function will basically be called at the beginning of every simulationstep...
by coppelia
14 Jun 2019, 13:15
Forum: General questions
Topic: Tool change and fixed orientation of tool in industrial simulation
Replies: 1
Views: 178

Re: Tool change and fixed orientation of tool in industrial simulation

Hello, yes, you can change object parenting also when simulation is running. If your end-effector (or tool) is dynamically enabled, you will probably have to reset that model appropriately, as explained here for instance. If you want to follow a particular path (e.g. a straight line) and/or keep a s...