-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Hi all,
Recently, @tenhearts reported a problem in high-level training: the object sometimes may penetrate the table, below is a screenshot from her. This may cause many failed grasp cases and she said that she finally got a great performance after fixing this problem (but maybe not the right solution).
At first I thought it was a bug of setting table heights, so I checked for a while. Finally, I found that it is not relevant to the code, but the problem of collision check of issacgym. It is important to note that the precision of collision check may related to the hardware and even the number of parallel environments, so I guess that may be the reason why people get different results on different machines. But it is stable on one particular machine and easy to reproduce.
According to the official document, we can change the contact_offset parameter (in config file) to prevent from similar problems. Special thanks to @CreeperLin to help me debugging on this.
Here are some examples I tested on my 4060 PC:
contact_offset=0.02, the default case in this codebase, very obvious penetration problem, the related environment is kept resetting due to the 'fall down' termination condition:
contect_offset_0.02-2024-08-08_19.21.58.mp4
changing contact_offset=0.04, the problem is well-solved.
contect_offset_0.04-2024-08-08_19.26.03.mp4
Can you guys try to train your own high-level model by fixing this issue? I'd like to help if there are more problems.
