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

Classes

class  rl_stl.envs.skydio_x2.model.X2Params
 

Namespaces

namespace  rl_stl
 
namespace  rl_stl.envs
 
namespace  rl_stl.envs.skydio_x2
 
namespace  rl_stl.envs.skydio_x2.model
 

Functions

Path rl_stl.envs.skydio_x2.model.menagerie_x2_dir ()
 
str|None rl_stl.envs.skydio_x2.model.menagerie_commit ()
 
mujoco.MjSpec rl_stl.envs.skydio_x2.model.load_x2_spec (bool scene=True, bool apply_gear_fix=True)
 
mujoco.MjModel rl_stl.envs.skydio_x2.model.load_x2_model (bool scene=True, bool fluid=True, float|None timestep=None, bool apply_gear_fix=True)
 
X2Params rl_stl.envs.skydio_x2.model.x2_params_from_model (mujoco.MjModel model)
 
tuple[np.ndarray, np.ndarray] rl_stl.envs.skydio_x2.model.com_state_from_qpos_qvel (X2Params params, np.ndarray qpos, np.ndarray qvel)
 

Variables

str rl_stl.envs.skydio_x2.model.F_SIM_VERSION = "x2_menagerie-1b86ece_gearfix-9bac002_v1"
 
dict rl_stl.envs.skydio_x2.model._YAW_GEAR_PINNED = {"thrust1": -0.0201, "thrust2": 0.0201, "thrust3": 0.0201, "thrust4": -0.0201}
 
dict rl_stl.envs.skydio_x2.model._YAW_GEAR_FIXED = {"thrust1": -0.0201, "thrust2": 0.0201, "thrust3": -0.0201, "thrust4": 0.0201}
 
tuple rl_stl.envs.skydio_x2.model.MOTOR_NAMES = ("thrust1", "thrust2", "thrust3", "thrust4")