Search found 15 matches

by jovan_s
09 Feb 2021, 15:42
Forum: General questions
Topic: forceVector a nil value
Replies: 4
Views: 1442

forceVector a nil value

Hello, I have the following lines in my code (threaded child script): result, forceVector, torqueVector=sim.readForceSensor(sensorHandle) print(result) Fz=forceVector[3] I print the result and it's 0, but when I try to access the forceVector value, an error appears, and the simulation stops. 158: at...
by jovan_s
01 Feb 2021, 09:55
Forum: General questions
Topic: Coppelia/Matlab synchronisation
Replies: 3
Views: 624

Re: Coppelia/Matlab synchronisation

Hi, So on the Coppelia side, I used sim.setIntegerSignal('flag',1) and on the Matlab side, I used sim.simxGetIntegerSignal(clientID, 'flag', sim.simx_opmode_blocking) I also tried with simx_opmode_oneshot and I also tried using the combined streaming+buffer mode, but it still did not work. Cheers Jo...
by jovan_s
28 Jan 2021, 10:11
Forum: General questions
Topic: Coppelia/Matlab synchronisation
Replies: 3
Views: 624

Coppelia/Matlab synchronisation

Hello Coppelia, I have a problem connecting Coppelia and Matlab. I want to start the simulation from Matlab, then let a threaded child script in Coppelia do something, then, when that's finished receive some values from Matlab. While Coppelia child script is executed Matlab is in a while loop and co...
by jovan_s
12 Jan 2021, 14:32
Forum: General questions
Topic: Complex shape, cut cylinder
Replies: 1
Views: 594

Complex shape, cut cylinder

Hello, I want to make a complex shape in Coppelia, a cut cylinder. Something like: https://rechneronline.de/pi/img/cut-cylinder.png I tried doing it via shape edit option, but it's proving to be a bit more complicated than I imagined, as the shape triangles and edges aren't placed along the cut line...
by jovan_s
04 Jan 2021, 13:05
Forum: General questions
Topic: Attach robot arms to an object
Replies: 1
Views: 637

Attach robot arms to an object

Hello, I want to mount two robotic arms (UR5 robots to be specific) onto an object (a large cuboid for instance). Is this possible in Coppelia? So far I only worked with UR5 as originally mounted, in the center of the floor. Now, I would like to attach the bases of the robots to the object. The obje...