This PR implements the possibility of adding additional camera configuration options to the Isaac Gym config file that could be used by end user code but not necessarily Isaac Gym's gymapi.
would throw an error because of the debug configuration options. The method camera.py::__init__ expects every key in this dictionary to be an attribute of gymapi.CameraProperties.
This code change now only sets the attribute if it is contained with the gymapi.CameraProperties dictionary.
Tested and confirmed on my system. No regressions were introduced.
This PR also contains whitespace removal for the camera.py file.
This PR implements the possibility of adding additional camera configuration options to the Isaac Gym config file that could be used by end user code but not necessarily Isaac Gym's gymapi.
For example,
would throw an error because of the
debug
configuration options. The methodcamera.py::__init__
expects every key in this dictionary to be an attribute ofgymapi.CameraProperties
.This code change now only sets the attribute if it is contained with the
gymapi.CameraProperties
dictionary.Tested and confirmed on my system. No regressions were introduced.
This PR also contains whitespace removal for the
camera.py
file.