Search found 7024 matches

by coppelia
25 Mar 2019, 14:47
Forum: General questions
Topic: Graph measure negative angular velocity
Replies: 4
Views: 46

Re: Graph measure negative angular velocity

Sorry, I still don't get it. So you say that your graph is showing negative values for the data stream object:angula velocity ?? It should only display positive values, since we do not specify any axis. The easiest to check if it is linked to the Vortex engine: switch to another engine and see for y...
by coppelia
25 Mar 2019, 14:42
Forum: General questions
Topic: Move an object
Replies: 5
Views: 185

Re: Move an object

The name auxiliaryShape tells you that it is a shape ;)
So it can be a spherical shape, a cuboid shape, etc. But it needs to be dynamically enabled (i.e. have a mass and inertia, and fall (if not constrained to any other object).

Cheers
by coppelia
25 Mar 2019, 14:40
Forum: General questions
Topic: Proximity sensor detection
Replies: 1
Views: 35

Re: Proximity sensor detection

Hello, yes, you can do: local result,distance,detectedPoint,detectedObjectHandle,detectedSurfaceNormalVector=sim.readProximitySensor(sensorHandle) if detectedObjectHandle then if sim.getObjectType(detectedObjectHandle)==sim.object_shape_type then local r,p=sim.getObjectInt32Parameter(detectedObjectH...
by coppelia
25 Mar 2019, 14:34
Forum: General questions
Topic: Retrieving data from 2d sensor
Replies: 2
Views: 81

Re: Retrieving data from 2d sensor

When you start the streaming mode, it will take some time until the command has reached V-REP, and the first data value has returned to the client. So return value 1 means: no value (yet). Try to increase the time during which you are trying to read the value.

Cheers
by coppelia
22 Mar 2019, 15:38
Forum: Bug reports
Topic: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries
Replies: 11
Views: 418

Re: VREP randomly cannot find remoteApiCommandServer.lua or any related .so libraries

Thanks for that example. Quick question: is it still crashing if simply connecting /disconnecting (maybe with some waiting time in-between), or is the dummy creation and/or simulation start/stop relevant?

Cheers
by coppelia
22 Mar 2019, 15:04
Forum: Bug reports
Topic: Convex decomposition C++
Replies: 2
Views: 167

Re: Convex decomposition C++

Just noticed a difference how you call sim.importShape and simImportShape: the arguments are not the same. COuld that be the reason?

Cheers
by coppelia
22 Mar 2019, 14:34
Forum: Bug reports
Topic: Depth Sensor Seeing Through Walls
Replies: 4
Views: 1069

Re: Depth Sensor Seeing Through Walls

I wouldn't set the clipping plane at 0, otherwise you will lose quite a lot of precision in your depth buffer. Simply set it small enough. As a rule of thumb, use a visible area (i.e. far-near clipping plane) as small as possible, for the highest depth map precision.

Cheers
by coppelia
22 Mar 2019, 14:30
Forum: Bug reports
Topic: Convex decomposition C++
Replies: 2
Views: 167

Re: Convex decomposition C++

Thanks for reporting this. Does this happen with any shape?

As a workaround, you can always create an add-on script, that contains a function with the Lua-version of your code. Then simply call that add-on function with simCallScriptFunctionEx. Make sure to use V-REP V3.6.1 rev1 or older.

Cheers
by coppelia
22 Mar 2019, 14:18
Forum: General questions
Topic: Difference between simx_opmode_oneshot and simx_opmode_buffer
Replies: 2
Views: 103

Re: Difference between simx_opmode_oneshot and simx_opmode_buffer

Hello, simx_opmode_buffer should be used exclusively on remote API commands that are streaming data to the client (i.e. started initially with simx_opmode_streaming ), and that retrieve data from V-REP (i.e. receive if available, non blocking). simx_opmode_oneshot should be used exclusively on remot...
by coppelia
22 Mar 2019, 14:09
Forum: General questions
Topic: Position object
Replies: 1
Views: 75

Re: Position object

Hello, if your construction is dynamic, then you can set the motor joint to force/torque mode, enable the motor, and enable the position control. Then adjust the upper velocity limit . Programmatically, you can then have your joint move to a certain position with sim.setJointTargetPosition . Cheers