unilab.envs.locomotion.common.dr_provider¶
Shared DomainRandomizationProvider for locomotion environments.
Implements the common reset/interval randomization logic shared by G1, Go1, and Go2 joystick environments. Subclasses override hooks to provide robot-specific behaviour.
Classes
Base DR provider for locomotion joystick environments. |
- class unilab.envs.locomotion.common.dr_provider.LocomotionDRProvider[source]¶
Bases:
DomainRandomizationProviderBase DR provider for locomotion joystick environments.
Shared logic: -
validate,build_interval_randomization_plan,_sample_commands-build_reset_plan(template with hooks) -build_reset_observation(template with hook)Override these hooks in subclasses: -
_get_qvel_limit— default0.5-_build_extra_info_updates— default empty dict -_compute_reset_obs— must be implemented per robot- validate(env, capabilities)[source]¶
- Parameters:
env (
Any)capabilities (
DomainRandomizationCapabilities)
- Return type: