Search found 8881 matches

by coppelia
15 Oct 2021, 13:04
Forum: General questions
Topic: How to build the auxiliary shapes with certain API funcitons?
Replies: 2
Views: 76

Re: How to build the auxiliary shapes with certain API funcitons?

Hello, You have several possibilities. One of them is: add a dummy attach the child script below attach the dummy to the object/model you want to trace run the simulation function sysCall_init() parentObjectHandle=sim.getObjectParent(sim.getObjectHandle(sim.handle_self)) everyXseconds=1 trailCount=4...
by coppelia
15 Oct 2021, 12:28
Forum: General questions
Topic: Default Configuration
Replies: 6
Views: 2393

Re: Default Configuration

From what I understand, the configuration of the UR10 in the CoppeliaSim screenshot is (0,0,0,0,0,0), i.e. all joints at zero. Can you confirm that this is the same in the moveIt counterpart? If you have mismatches, then the CoppeliaSim model could have a wrong joint set-up. You can select the incri...
by coppelia
15 Oct 2021, 12:13
Forum: General questions
Topic: Floor cleaning effect with IRobot Create 2
Replies: 3
Views: 901

Re: Floor cleaning effect with IRobot Create 2

Hello, in sim.readTexture and sim.writeTexture you specify which portion of the texture to read/write. Units are in pixels. Each pixel is represented by 3-byte (or char) triplets. Consider following example local textureId, resolution = sim.getTextureId("tiledConcrete") local oldTextureData = sim.re...
by coppelia
14 Oct 2021, 14:47
Forum: General questions
Topic: OMPL collision detection/avoidance vs bounding box
Replies: 2
Views: 249

Re: OMPL collision detection/avoidance vs bounding box

Hello, about your questions: sim.checkCollision checks for intersections between the triangular meshes . Bounding boxes are only used to speed-up calculations (and other OBB-tree calculation structures are also used to that end). So my guess is that your robot arm contains some invisible shapes that...
by coppelia
14 Oct 2021, 14:35
Forum: General questions
Topic: How to stop robot motion
Replies: 16
Views: 9333

Re: How to stop robot motion

You should use flat tables, e.g. instead of:

Code: Select all

CurrentPosVelAccel = { {px,py,pz}, {vx,vy,vz}, {ax,ay,az} }
do:

Code: Select all

CurrentPosVelAccel = { px,py,pz, vx,vy,vz, ax,ay,az }
Cheers
by coppelia
14 Oct 2021, 14:31
Forum: General questions
Topic: Possibility of rendering random object from remote API ?
Replies: 2
Views: 298

Re: Possibility of rendering random object from remote API ?

Hello, yes, that would work. May I suggest that you have a look at the ZeroMQ-related remote API ? It will allow you to access the local API (all of it!) from your python client. Then you will also be able to use drawing objects to add items to the scene, and many more, e.g. sim.addDrawingObject, si...
by coppelia
14 Oct 2021, 14:28
Forum: General questions
Topic: Default Configuration
Replies: 6
Views: 2393

Re: Default Configuration

I still cannot access those files. You should allow access to everyone, we don't go through the trouble of requesting individual access to files on the forum. If you are a customer, you may also contact us via email.

Cheers
by coppelia
13 Oct 2021, 09:24
Forum: General questions
Topic: non-static and respondable object keeps moving after droping into a box
Replies: 1
Views: 309

Re: non-static and respondable object keeps moving after droping into a box

Hello, you have several possibilities: you can add some linear and/or angular damping to your ball. You'd do that in the materials dialog (or via a physics engine related API function ). The other possibility is to detect the ball inside of the basket (e.g. via a proximity sensor) and then disable i...
by coppelia
13 Oct 2021, 09:18
Forum: General questions
Topic: use simxSetObjectIntParameter to disable dynamic property of an object
Replies: 1
Views: 396

Re: use simxSetObjectIntParameter to disable dynamic property of an object

Hello, yes, locally, within CoppeliaSim you would do: sim.setObjectInt32Parameter(handle,sim.shapeintparam_static,1) sim.resetDynamicObject(handle) From a remote client, e.g. using the legacy remote API , you can call a local function via simxCallScriptFunction@python, e.g. following local function:...
by coppelia
13 Oct 2021, 09:06
Forum: Feature requests
Topic: frequency of different sensor
Replies: 1
Views: 1096

Re: frequency of different sensor

Hello, yes, you are in full control about at which rate you want to execute and/or read things. First of all, during a simulation, there are two callback functions of particular interest: sysCall_actuation() sysCall_sensing() Both are called in each simulation step. By default, this is every 50 ms. ...