rr-learning/CausalWorld

Stage using unexpected client ID

Closed this issue · 2 comments

Hi, when performing an intervention on the friction of the floor or stage, I noticed that the 'ground truth' info dictionary did not return the new, correct friction values. However, the environment physics showed that the effect corresponding to the changed frictions. To me, it seems that this line is a bug: https://github.com/rr-learning/CausalWorld/blob/master/causal_world/envs/scene/stage.py#L516. The client ID is there set to a bool, which would be constant 'True', i.e. interpreted as 1, while the actual client ID is 0. Replacing this line with client = self._pybullet_client_w_o_goal_id fixes the issue for me.

Is this indeed a bug, or a misinterpretation on my side? If a bug, I can set up a pull request if wanted.

Hi, thanks for spotting this bug. Would be great if you can set up a PR with the proposed change which seems to fix the bug. Thank you!

Closing due to the issue being fixed now.