def render(self): """ Render simulation environment. """ if self._renderer == None: self._renderer = _Renderer(self._params, self.__class__.__name__) self._renderer.update(self._state, self._action)
def init_render(): stream = open('aa_simulation/envs/model_params.yaml', 'r') params = yaml.load(stream) return _Renderer(params, None)
def init_render(): stream = open('aa_simulation/envs/model_params.yaml', 'r') params = yaml.load(stream) obstacles = [] goal = None return _Renderer(params, obstacles, goal, None)