unilab.base.base.EnvCfg¶
- class unilab.base.base.EnvCfg[source]¶
Bases:
objectConfig for the environment
- Parameters:
sim_dt (
float)ctrl_dt (
float)render_spacing (
float)render_offset_mode (
str)drake_backend_mode (
str)drake_nthread (
int)superdex_num_workers (
int)superdex_execution_mode (
str)superdex_allow_contact_approximation (
bool)post_step_forward_sensor (
bool)adaptive_chunk_size (
bool)newton_capacity_check_steps (
int)isaacsim_render_width (
int)isaacsim_render_height (
int)
Methods
Attributes
return the max episode steps
return the number of simulation steps per control step
- __init__(scene=None, sim_dt=0.01, max_episode_seconds=None, ctrl_dt=0.01, render_spacing=1.0, render_offset_mode='grid', drake_backend_mode='batch', drake_nthread=0, superdex_num_workers=0, superdex_execution_mode='batch', superdex_assets_root=None, superdex_effort_limits=None, superdex_allow_contact_approximation=False, motrix_max_iterations=None, post_step_forward_sensor=False, adaptive_chunk_size=True, chunk_size=None, cpu_ids=None, mjwarp_nconmax=None, mjwarp_njmax=None, newton_device=None, newton_nconmax=None, newton_njmax=None, newton_capacity_check_steps=1, isaacgym_device_id=None, isaacgym_worker_timeout_s=None, genesis_device_id=None, genesis_integrator=None, genesis_constraint_solver=None, genesis_friction_cone=None, genesis_solver_iterations=None, isaacsim_device_id=None, isaacsim_worker_timeout_s=None, isaacsim_render_mode=None, isaacsim_render_width=1280, isaacsim_render_height=720)¶
- Parameters:
sim_dt (
float)ctrl_dt (
float)render_spacing (
float)render_offset_mode (
str)drake_backend_mode (
str)drake_nthread (
int)superdex_num_workers (
int)superdex_execution_mode (
str)superdex_allow_contact_approximation (
bool)post_step_forward_sensor (
bool)adaptive_chunk_size (
bool)newton_capacity_check_steps (
int)isaacsim_render_width (
int)isaacsim_render_height (
int)