robot-control-stack icon indicating copy to clipboard operation
robot-control-stack copied to clipboard

Register own scenes

Open juelg opened this issue 2 years ago • 2 comments

There should be a way to register own mujoco scenes in rcs to be used with the scenes string identifier. Perhaps a register function could be used for that.

juelg avatar Oct 31 '24 10:10 juelg

How about using gymnasiums environment register? You can register envs with a namespace e.g. rcs or rcs_utn, an env name e.g. lab_hw or lab_sim. During registration you can also specify additional wrappers.

You can then create envs using e.g. gym.make("rcs_utn/lab_hw"). A user wanting to register his own env is then redirected to the gymnasium documentation.

Typically you add the registration hooks to a modules __init__.py. The env rcs_utn/lab_hw is then only available after import rcsss

pkrack avatar Nov 07 '24 09:11 pkrack

resolved with #156

juelg avatar Dec 12 '24 10:12 juelg