LIRRA  1.0.0
Loading...
Searching...
No Matches
render.py File Reference

Namespaces

namespace  rl_stl
 
namespace  rl_stl.utils
 
namespace  rl_stl.utils.render
 

Functions

str rl_stl.utils.render.pick_h264_encoder ()
 
None rl_stl.utils.render.add_box (scene, np.ndarray center, np.ndarray halfwidth, rgba=(0.2, 0.85, 0.2, 0.25), np.ndarray|None rot=None)
 
None rl_stl.utils.render.add_sphere (scene, np.ndarray center, float radius, rgba)
 
None rl_stl.utils.render.add_segment (scene, np.ndarray start, np.ndarray end, float width, rgba)
 
int rl_stl.utils.render.render_qpos_video (mujoco.MjModel mj_model, np.ndarray qpos, str|Path path, float fps, np.ndarray|None box_center=None, np.ndarray|None box_halfwidth=None, int width=640, int height=480, str|int camera="track")