unilab.dr.provider.DomainRandomizationProvider¶
- class unilab.dr.provider.DomainRandomizationProvider[source]¶
Bases:
ABCMethods
__init__()build_interval_randomization_plan(env, ...)Build the interval randomization plan for the upcoming step.
build_reset_observation(env, env_ids, ...)build_reset_plan(env, env_ids)validate(env, capabilities)- abstract validate(env, capabilities)[source]¶
- Parameters:
env (
Any)capabilities (
DomainRandomizationCapabilities)
- Return type:
- build_interval_randomization_plan(env, step_counter)[source]¶
Build the interval randomization plan for the upcoming step.
Populate the plan’s
opstuple withIntervalTermOpentries. Returning plans via the legacy fields (push_perturbation_limit,body_ids,body_linear_velocity_delta,body_angular_velocity_delta,body_force,body_torque) is deprecated: they are still adapted 1:1 throughIntervalRandomizationPlan.iter_ops(), but they will be removed in the next unisim-core major release.- Parameters:
- Return type: