Replies: 1 comment
-
Very informative issue! Thanks. I experienced the same problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem: When the camera is on the joint of a robot, the rendering is very slow and seems to enter an infinity loop eventually
Workaround/Solution: Move the camera back a little until it's outside the robot
The issue on it's own is not a big deal, since a workaround exists. But I can imagine, that it can help to trouble-shoot other issues involving random freezes and low speed. If it doesn't, feel free to close the issue and forget about it.
Observations:
example:
here is an example project, that initiates a simple world with a husky-robot, where an image is generated by a camera, that is on a joint of the robot. The Script prints the number of the current iteration on each iteration, and it prints a short message before and after it calls
getCameraImage
. It seems to enter an infinite loop on frame 30 (if I run it directly on my notebook) or frame 150 (if I run it inside docker). To stop the Script, you'll need to entersudo pkill python3
in another window. Due to the infinity-loop the container can't stop on it's own.reproduction:
To rule out the possibility, that there is something wrong with my setup, I prepared a Dockerfile to reproduce the isse:
you can build it and run the example with:
(assuming
freeze.py
andDockerfile
are in your current directory):Beta Was this translation helpful? Give feedback.
All reactions