google-deepmind / google-deepmind/dm_control

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

Đang mở
#363 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
4.7k
Fork
764
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách giải nén question.zip và so sánh lần chạy ./simulate với việc gọi tệp Python, bao gồm cách các tệp XML và OBJ được tải và cách phép xoay được áp dụng. Tái hiện hành vi khác nhau của hình cầu, sau đó ghi lại nguyên nhân và các điều kiện cần thiết để cả hai entry point tạo ra kết quả nhất quán.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.