File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import os
44import site
5- from dataclasses import dataclass
5+ from dataclasses import dataclass , field
66
77from gymnasium import register
88from rcs ._core import __version__ , common
1818class Scene :
1919 """Scene configuration."""
2020
21- mjb : str
22- """Path to the Mujoco binary scene file."""
2321 mjcf_scene : str
2422 """Path to the Mujoco scene XML file."""
2523 mjcf_robot : str
@@ -28,6 +26,10 @@ class Scene:
2826 """Path to the URDF robot file for IK, if available."""
2927 robot_type : common .RobotType
3028 """Type of the robot in the scene."""
29+ mjb : str | None = None
30+ """Path to the Mujoco binary scene file."""
31+ # TODO: add possibility to add robot config to the scene config (the field below is currently unused)
32+ robot_config : dict [str , common .RobotConfig ] = field (default_factory = dict )
3133
3234
3335def get_scene_urdf (scene_name : str ) -> str | None :
You can’t perform that action at this time.
0 commit comments