google-deepmind / google-deepmind/dm_control

[Question] The difference in results between "./simulate" and when run in a python file

未关闭
#363 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4.7k
派生
764
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

I am having trouble with different results when I run the .`/ simulate` and python files.

I am simulating the release of balls when a cup is rotated.

When I run `./ simulate` and manually rotate the cup, the results are close to the real environment as bellow.

https://user-images.githubusercontent.com/63595993/203564412-6b78f582-95c1-4f1b-99df-930f92be69a2.mp4

However, when I load the exact same xml, obj files and rotate the container by a python file, I got wrong results as bellow.

https://user-images.githubusercontent.com/63595993/203564492-408edfde-a25b-447c-ae1f-a65bbdf58edb.mp4

Specifically, when the container was rotated, the sphere inside the container rotated unnecessarily, and the simulation was performed as if the lower sphere was pushed out.
This did not occur in real or simulate environments.

https://user-images.githubusercontent.com/63595993/203564709-07eda952-8e99-4fb9-b0c6-92f40378704c.mp4

https://user-images.githubusercontent.com/63595993/203564804-ae760111-82ec-413c-87a1-3d11cd506d46.mp4

In particular, we are using the same xml and obj files as in simulte, and we do not think there is anything wrong with the files themselves, but we do not know the cause.

I am attaching all files.
[question.zip](https://github.com/deepmind/dm_control/files/10076156/question.zip)

We are very sorry for the trouble and would appreciate your feedback.
Thank you in advance.

贡献指南

打开贡献指南

调研方向

首先解压 question.zip,并比较 ./simulate 的运行结果与调用 Python 文件的结果,包括 XML 和 OBJ 文件的加载方式以及旋转的应用方式。重现球体的不同表现,然后记录其原因,以及使两个入口点产生一致结果所需的条件。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。