Search found 7936 matches

by coppelia
14 Jul 2020, 09:34
Forum: Bug reports
Topic: Potential Bug in B0 Remote API: simxGetObjects()
Replies: 1
Views: 15

Re: Potential Bug in B0 Remote API: simxGetObjects()

Hello,

you are absolutely right, thanks for pointing this out!

Cheers
by coppelia
13 Jul 2020, 15:06
Forum: General questions
Topic: Calling custom lua functions from CPP
Replies: 11
Views: 83

Re: Calling custom lua functions from CPP

So it seems that you are using the legacy remote API for that task. Does you testing function look similar to this? function myFunctionName(inInts,inFloats,inStrings,inBuffer) -- inInts, inFloats and inStrings are tables -- inBuffer is a string -- Perform any type of operation here. -- Always return...
by coppelia
13 Jul 2020, 14:58
Forum: General questions
Topic: Remote API and Multiple Scenes
Replies: 1
Views: 18

Re: Remote API and Multiple Scenes

Hello, yes, you are correct: if you want to run several scenes simulataneously, then you will have to run several instances of CoppeliaSim. In that case, in order to communicate with each individual instances there are several mechanisms possible. But in case of the legacy remote API , you can start...
by coppelia
13 Jul 2020, 14:40
Forum: General questions
Topic: How to simulate a depth camera?
Replies: 2
Views: 30

Re: How to simulate a depth camera?

Hello, are your extracted points distorted? I guess that you simply forgot to multiply the points with the vision sensor frame transformation, i.e. each point should be multiplied with the matrix of the vision sensor in order to obtain absolute coordinates. Maybe try something like (not tested): fun...
by coppelia
13 Jul 2020, 09:59
Forum: General questions
Topic: Calling custom lua functions from CPP
Replies: 11
Views: 83

Re: Calling custom lua functions from CPP

Hello, yes, you can do that. If your cpp application is running in its own thread/process, then you can do this via the remoteAPI for instance, e.g. simxCallScriptFunction (b0-based remote API) or simxCallScriptFunction (legacy remote API). There are similar ways when running a ROS / ROS2 client app...
by coppelia
13 Jul 2020, 09:53
Forum: General questions
Topic: Dynamic properties of shapes for force sensor
Replies: 1
Views: 17

Re: Dynamic properties of shapes for force sensor

Hello, in your case following would make most sense: have shape supporto0 static and non-respondable. And the base of your UR10 robot should be dynamic (either respondable or not). Actually, your object supporto0 could also be respondable, but I suspect that there are collisions happening between yo...
by coppelia
13 Jul 2020, 09:47
Forum: General questions
Topic: Python remote API crashing after getStringSignal.
Replies: 1
Views: 24

Re: Python remote API crashing after getStringSignal.

Hello,

can you try to run with the CoppeliaSim V4.1.0 version (beta is available here)?
Or check if this commit helps?

Cheers
by coppelia
13 Jul 2020, 09:11
Forum: Bug reports
Topic: error on loading ROSInterface
Replies: 2
Views: 31

Re: error on loading ROSInterface

Hello,

can you try to run that with the beta version of CoppeliaSim V4.1.0, available here?

Cheers
by coppelia
10 Jul 2020, 11:55
Forum: General questions
Topic: How to change the direction of a model hierarchy?
Replies: 3
Views: 60

Re: How to change the direction of a model hierarchy?

Sorry, I still don't get it. Either way it is doable: if lifting one leg you might have to specify positive angles, when lifting the other leg you might have to specify negative angles for the same joint. But except for that, you do not need to inverse the hierarchy. Have a look at the various mobil...
by coppelia
10 Jul 2020, 11:51
Forum: General questions
Topic: Get kinect internal camera matrix parameters
Replies: 3
Views: 1515

Re: Get kinect internal camera matrix parameters

Hello, in CoppeliaSim a vision sensor (which is not the same as a camera ) is defined via following properties: angle of view (sim.getObjectFloatParameter(sensorHandle,sim.visionfloatparam_perspective_angle)) x/y resolution (sim.getObjectFloatParameters(sensorHandle,sim.visionintparam_resolution_x/y...