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

Typically: "How do I... ", "How can I... " questions
Post Reply
Zhuang
Posts: 25
Joined: 02 Aug 2017, 14:43

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

Post by Zhuang » 02 Sep 2019, 09:33

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, they work in some Physical Engines. I want to know why some can work and some cannot in one Physical Engine.
Thank you!

fferri
Posts: 396
Joined: 09 Sep 2013, 19:28

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

Post by fferri » 02 Sep 2019, 09:58

Does the situation improve if you use a smaller time step?

Zhuang
Posts: 25
Joined: 02 Aug 2017, 14:43

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

Post by Zhuang » 02 Sep 2019, 10:33

fferri wrote:
02 Sep 2019, 09:58
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:
...

fferri
Posts: 396
Joined: 09 Sep 2013, 19:28

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

Post by fferri » 02 Sep 2019, 10:40

I'm not following. You were talking about objects "breaking through the table".

Zhuang
Posts: 25
Joined: 02 Aug 2017, 14:43

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

Post by Zhuang » 03 Sep 2019, 01:53

fferri wrote:
02 Sep 2019, 10:40
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 normal in Netwon and Vortex,it lead to new problems(As I mentioned above).

Also, I changed those objects' dynamic properties, but this did not work.

If necessary, I will share the scene.

coppelia
Site Admin
Posts: 7330
Joined: 14 Dec 2012, 00:25

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

Post by coppelia » 03 Sep 2019, 06:25

yes, please share the scene.

Cheers


coppelia
Site Admin
Posts: 7330
Joined: 14 Dec 2012, 00:25

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

Post by coppelia » 03 Sep 2019, 09:07

This is because you didn't read this page. Pay a particular attention to design considerations 1-3 and 6-8.
Your objects can easily be approximated with cuboids or cylinders. (or a compound of cuboids).
Also read this page.

Cheers

Post Reply