Search found 7007 matches

by coppelia
19 Mar 2019, 09:12
Forum: General questions
Topic: Simulating kinect depth point cloud for objects of different materials
Replies: 1
Views: 12

Re: Simulating kinect depth point cloud for objects of different materials

Hello, no, unfortunately not. even if transparent, the surface of the object will be detected. This is because the Kinect model uses a vision sensor's depth map to detect points (and the depth map is nothing else than the OpenGL depth buffer, which doesn't work with different transparency levels) Ch...
by coppelia
19 Mar 2019, 09:09
Forum: General questions
Topic: OMPL - how to use a PRM
Replies: 4
Views: 203

Re: OMPL - how to use a PRM

This should have been fixed in V-REP V3.6.1 rev1

Cheers
by coppelia
18 Mar 2019, 15:31
Forum: General questions
Topic: Signal communication between Threaded Child-Scripts and Non-Threaded Child-Scripts
Replies: 3
Views: 16

Re: Signal communication between Threaded Child-Scripts and Non-Threaded Child-Scripts

Hello,

please post your respective threaded and non-threaded child script. It should work in both directions.

Cheers
by coppelia
18 Mar 2019, 15:29
Forum: General questions
Topic: add odometer noise
Replies: 2
Views: 38

Re: add odometer noise

This will depend on your noise model. Simply modify your sensor data before publishing it via ROS. e.g:

Code: Select all

local noiseData=noiselessData*(1+math.random()*noiseAmplitude)+noiseOffset
Cheers
by coppelia
18 Mar 2019, 15:25
Forum: General questions
Topic: Shape simplification to speed up collision checking recommended?
Replies: 6
Views: 193

Re: Shape simplification to speed up collision checking recommended?

it should be:

Code: Select all

formatDescription,formatExtension,formatId = simAssimp.getExportFormat(4)
simAssimp.exportMeshes({allVertices},{allIndices},"simple."..formatExtension,formatId)
since arg1 and arg2 should be tables of tables, i.e. to easily export several meshes.

Cheers
by coppelia
18 Mar 2019, 15:10
Forum: General questions
Topic: Open a new RemoteAPI service from within a plugin
Replies: 4
Views: 217

Re: Open a new RemoteAPI service from within a plugin

In V-REP V3.6.1 rev1, available within 24 hours, you should be able to call simCallScriptFunctionEx on add-on scripts too.

Cheers
by coppelia
18 Mar 2019, 15:07
Forum: General questions
Topic: How to access the stack trace from the external API
Replies: 4
Views: 169

Re: How to access the stack trace from the external API

In V-REP V3.6.1 rev1, available within one day, you can use: sim.getStackTraceback

Cheers
by coppelia
18 Mar 2019, 15:01
Forum: General questions
Topic: Set up dependent joint from lua api
Replies: 2
Views: 77

Re: Set up dependent joint from lua api

Hello,

correct, that functionality is missing. Try downloading V-REP V3.6.1 rev1 in about a day, then you should have a new API function: sim.setJointDependency

Cheers
by coppelia
15 Mar 2019, 16:59
Forum: General questions
Topic: Move an object
Replies: 1
Views: 102

Re: Move an object

Hello, if your simulation does not need to be dynamic, then you can simply set the desired position/orientation of an object via sim.setObjectPosition and sim.setObjectOrientation . If your simulation needs to be dynamic, you can build you actuator like: BaseShape(static) --> revoluteJoint --> auxil...
by coppelia
15 Mar 2019, 16:48
Forum: General questions
Topic: Max number of items in a scene and performance.
Replies: 1
Views: 97

Re: Max number of items in a scene and performance.

Hello, the response to your question depends on many factors, e.g. how complex the objects are (i.e. how many triangular faces), whether they are dynamically simulated or not, whether they are involved in some other kind of computations (e.g. minimum distance calculations, etc.), how many scripts ar...