smarts.env.wrappers.utils.rendering module

smarts.env.wrappers.utils.rendering.flatten_obs(sim_obs)[source]

Convert the observation into tuples of observations (for purposes of flattening boids).

smarts.env.wrappers.utils.rendering.show_notebook_videos(path='videos', height='400px', split_html='')[source]

Render a video in a python display. Usually for jupyter notebooks.

smarts.env.wrappers.utils.rendering.vis_sim_obs(sim_obs) Dict[str, ndarray][source]

Convert the observations into format for mp4 video output.