in safety_gym/envs/engine.py [0:0]
def __init__(self, config={}):
# First, parse configuration. Important note: LOTS of stuff happens in
# parse, and many attributes of the class get set through setattr. If you
# are trying to track down where an attribute gets initially set, and
# can't find it anywhere else, it's probably set via the config dict
# and this parse function.
self.parse(config)
gym.utils.EzPickle.__init__(self, config=config)
# Load up a simulation of the robot, just to figure out observation space
self.robot = Robot(self.robot_base)
self.action_space = gym.spaces.Box(-1, 1, (self.robot.nu,), dtype=np.float32)
self.build_observation_space()
self.build_placements_dict()
self.viewer = None
self.world = None
self.clear()
self.seed(self._seed)
self.done = True