If you are submitting a bug report, please fill in the following details and use the tag [bug].
Describe the bug
I was running the tutorial of adding sensors to robots, and during resetting the camera, robot pos in _data will be updated according to the world poses. Until this moment, self._data is None, so it gives me error of TypeError: 'NoneType' object does not support item assignment during executing self._data.pos_w[env_ids] = poses
I was able to trace back to the initialization of the camera class and found _create_buffers is never called but _initialize_impl is called during sim.reset().
I assume there is a bug when initializing the camera, but I'm not sure why it happens...
If you are submitting a bug report, please fill in the following details and use the tag [bug].
Describe the bug
I was running the tutorial of adding sensors to robots, and during resetting the camera, robot pos in
_datawill be updated according to the world poses. Until this moment,self._datais None, so it gives me error ofTypeError: 'NoneType' object does not support item assignmentduring executingself._data.pos_w[env_ids] = posesI was able to trace back to the initialization of the camera class and found
_create_buffersis never called but_initialize_implis called duringsim.reset().I assume there is a bug when initializing the camera, but I'm not sure why it happens...