in a small PyBullet setup we simulate an inhand mounted camera.
We use p.getCameraImage as follows to get rgb and depth data, which in general works.
However, after a few calls to that function our program seems stuck.
We debugged our code a bit and apparently it is stuck exactly at the getCameraImage call.
Has anybody here experienced something similar?
I also tried the ER_BULLET_HARDWARE_OPENGL renderer with the same behaviour.
Code: Select all
_, _, rgb_img, depth_img, seg_img = p.getCameraImage(
width, height, view_matrix, projection_matrix, physicsClientId=self.sim, renderer=p.ER_TINY_RENDERER
)