Search found 31 matches

by Zhuang
09 Dec 2020, 08:52
Forum: General questions
Topic: only adding force on primatic_joint
Replies: 5
Views: 160

Re: only adding force on primatic_joint

Hello, According to your suggestion, I made the following changes: 1) the type of the joint Motor: setting positive model to force/torque mode 2) the motor enabled of the joint Motor: setting disable 3) the car's position: slightly moving the car higher 4) the friction factor: setting it to 0 Howeve...
by Zhuang
05 Dec 2020, 04:32
Forum: General questions
Topic: only adding force on primatic_joint
Replies: 5
Views: 160

Re: only adding force on primatic_joint

well, it is difficult to describe it. So there is the file(.ttt). the link is https://www.dropbox.com/s/y39f0bgfv3kgm ... m.ttt?dl=0

Cheers
by Zhuang
02 Dec 2020, 10:02
Forum: General questions
Topic: only adding force on primatic_joint
Replies: 5
Views: 160

only adding force on primatic_joint

only adding force on primatic_joint using

force = {u,0,0} --u is a variable
torque = {0,0,0}
sim.addForceAndTorque(CarHandle ,force, torque)

and then,
The object is spinning
by Zhuang
07 Jan 2020, 07:31
Forum: General questions
Topic: How to get a lot of data from CoppeliaSim with remote API
Replies: 4
Views: 434

Re: How to get a lot of data from CoppeliaSim with remote API

Hello, This approach does not work. It does slow down the transmission, so that there is an error:terminate called after throwing an instance of 'zmq::error_t' (python) . So I have to know how to unpack the data outside. If I know sim.unpackFloatTable source code, I can reproduce the function with p...
by Zhuang
07 Jan 2020, 04:30
Forum: General questions
Topic: How to get a lot of data from CoppeliaSim with remote API
Replies: 4
Views: 434

Re: How to get a lot of data from CoppeliaSim with remote API

Hello, Yes, using simxCallScriptFunction() is a good method, and I can use the function to call sim.unpackFloatTable() to decode data. indeed, I do not have to use python to reproduce the function. But will this way reduce its transmission speed? It's very similar to transferring floating-point numb...
by Zhuang
05 Jan 2020, 14:30
Forum: General questions
Topic: How to get a lot of data from CoppeliaSim with remote API
Replies: 4
Views: 434

How to get a lot of data from CoppeliaSim with remote API

1. I tried to quickly get a lot of data from Vrep with remoteApi(B0-based remote API, python and matlab). First, using sim.packFloatTable() to pack data; Then, using sim.setStringSignal() to send data to Matlab(or python); it is true that I can get data quickly, but There is no function like sim.unp...
by Zhuang
03 Sep 2019, 01:53
Forum: General questions
Topic: Why can an object break through a table or the ground in vrep
Replies: 7
Views: 886

Re: Why can an object break through a table or the ground in vrep

I'm not following. You were talking about objects "breaking through the table". Sorry. I did not describe clearly. I just tried to solve the problem(objects "breaking through the table"), using different method. I changed Physical Energy (Netwon, Vortex, Bullet, ODE). Although those objects are nor...
by Zhuang
02 Sep 2019, 10:33
Forum: General questions
Topic: Why can an object break through a table or the ground in vrep
Replies: 7
Views: 886

Re: Why can an object break through a table or the ground in vrep

Does the situation improve if you use a smaller time step? It does not work. when I use Newton, all objects are ok. But Vrep always break, i using B0 Remote API. The error is : ... QObject::~QObject: Timers cannot be stopped from another thread QMutex: destroying locked mutex Error: signal 11: ...
by Zhuang
02 Sep 2019, 09:33
Forum: General questions
Topic: Why can an object break through a table or the ground in vrep
Replies: 7
Views: 886

Why can an object break through a table or the ground in vrep

Hi everyone, I made some objects in vrep. I set their convex hull , dynamic and so on. But when a scene starts, some of them can break through the table and the ground and some can not. I checked their properties while theirs are same . I try to change Physical Engine(newton, Bullet and ODE). Yes, t...