Search found 14 matches

by jovan_s
30 Mar 2021, 11:35
Forum: General questions
Topic: Problems with force sensor
Replies: 7
Views: 1273

Re: Problems with force sensor

Hi

Thanks for the advice. When I make the upper part of the body non-respondable, I get a bit better results. I'm very interested to know what method the dynamic engines use to calculate/estimate contact forces? Is that something you could share?

Cheers
by jovan_s
25 Mar 2021, 11:50
Forum: General questions
Topic: Problems with force sensor
Replies: 7
Views: 1273

Re: Problems with force sensor

Hi

Here is the link:

https://www.dropbox.com/s/c0n8dsscm3t6x ... l.ttt?dl=0

I read the sensor in the targetMovements#0 script at line 231

Cheers
by jovan_s
22 Mar 2021, 17:12
Forum: General questions
Topic: Problems with force sensor
Replies: 7
Views: 1273

Re: Problems with force sensor

Hi, The difference is quite large. For instance, with one engine forces would be around 4-6N, and with another, it would be around 20-30N. The movement of my robot is in a threaded script, similar to how you did it in the scenes/ik_fk_simple_examples/10-applyingIkToDynamicallyEnabledModels.ttt with ...
by jovan_s
10 Mar 2021, 16:36
Forum: General questions
Topic: Problems with force sensor
Replies: 7
Views: 1273

Problems with force sensor

Hello Coppelia, I see that there were some recent posts dealing with tool force control, force sensors, etc. I also have a problem with the results from the force sensor. The results that I get from it are very different depending on the dynamics module that I use. I expected them to differ a bit, b...
by jovan_s
12 Feb 2021, 13:25
Forum: General questions
Topic: forceVector a nil value
Replies: 4
Views: 147

Re: forceVector a nil value

Just one more tiny question. I have a force sensor connecting 2 objects, and I want to measure the force with which one component is pressing the other. If I want to measure the z component of the force what is the direction of that force? If the sensor returns a negative Fz value, is it negative re...
by jovan_s
12 Feb 2021, 10:46
Forum: General questions
Topic: forceVector a nil value
Replies: 4
Views: 147

Re: forceVector a nil value

Thanks a lot!
Cheers
by jovan_s
09 Feb 2021, 15:42
Forum: General questions
Topic: forceVector a nil value
Replies: 4
Views: 147

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: 184

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: 184

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: 228

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...