Skip to content

Commit

Permalink
Update sapien_env.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneT2000 committed Mar 7, 2024
1 parent 4e5e447 commit a2b6f16
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mani_skill2/envs/sapien_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,18 @@ class BaseEnv(gym.Env):
gpu_sim_backend: The GPU simulation backend to use (only used if the given num_envs argument is > 1). This affects the type of tensor
returned by the environment for e.g. observations and rewards. Can be "torch" or "jax". Default is "torch"
obs_mode: observation mode registered in @SUPPORTED_OBS_MODES. See TODO (stao): add doc link here about how they work.
obs_mode: observation mode to be used. Must be one of ("state", "state_dict", "none", "sensor_data", "rgbd", "pointcloud")
reward_mode: reward mode registered in @SUPPORTED_REWARD_MODES. See TODO (stao): add doc link here about how they work.
reward_mode: reward mode to use. Must be one of ("normalized_dense", "dense", "sparse").
control_mode: control mode of the agent.
"*" represents all registered controllers, and the action space will be a dict.
render_mode: render mode registered in @SUPPORTED_RENDER_MODES.
shader_dir (str): shader directory. Defaults to "default".
"default" and "rt" are built-in options with SAPIEN. Other options are user-defined.
"default", "rt", "rt-fast" are built-in options with SAPIEN. Other options are user-defined. "rt" means ray-tracing which results
in more photorealistic renders but is slow, "rt-fast" is a lower quality but faster version of "rt".
enable_shadow (bool): whether to enable shadow for lights. Defaults to False.
Expand Down

0 comments on commit a2b6f16

Please sign in to comment.