curobo.types.file_path module

Contains a class for storing file paths.

class ContentPath(
robot_config_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/configs/robot',
robot_xrdf_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/configs/robot',
robot_urdf_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets',
robot_usd_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets',
robot_asset_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets',
world_config_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/configs/world',
world_asset_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets',
robot_config_absolute_path: str | None = None,
robot_xrdf_absolute_path: str | None = None,
robot_urdf_absolute_path: str | None = None,
robot_usd_absolute_path: str | None = None,
robot_asset_absolute_path: str | None = None,
world_config_absolute_path: str | None = None,
robot_config_file: str | None = None,
robot_xrdf_file: str | None = None,
robot_urdf_file: str | None = None,
robot_usd_file: str | None = None,
robot_asset_subroot_path: str | None = None,
world_config_file: str | None = None,
)

Bases: object

Dataclass to store root path of configuration and assets.

robot_config_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/configs/robot'

Root path for robot configuration file, either xrdf or yml.

robot_xrdf_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/configs/robot'

Root path for robot XRDF.

robot_urdf_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets'

Root path for robot URDF.

robot_usd_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets'

Root path for robot USD.

robot_asset_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets'

Root path for robot meshes and textures.

world_config_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/configs/world'

Root path for world description files (yml).

world_asset_root_path: str = '/home/bala/code/curobo_github/curobo/src/curobo/content/assets'

Root path for world assets (meshes, nvblox maps).

robot_config_absolute_path: str | None = None

Absolute path to the robot configuration file. If this is provided, the :var:`robot_config_root_path`` will be ignored.

robot_xrdf_absolute_path: str | None = None

Absolute path to the robot XRDF file. If this is provided, the :var:`robot_xrdf_root_path` will be ignored.

robot_urdf_absolute_path: str | None = None

Absolute path to the robot URDF file. If this is provided, the :var:`robot_urdf_root_path` will be ignored.

robot_usd_absolute_path: str | None = None

Absolute path to the robot USD file. If this is provided, the :var:`robot_usd_root_path` will be ignored.

robot_asset_absolute_path: str | None = None

Absolute path to the robot assets. If this is provided, the :var:`robot_asset_root_path` will be ignored.

world_config_absolute_path: str | None = None

Absolute path to the world description file. If this is provided, the :var:`world_config_root_path` will be ignored.

robot_config_file: str | None = None

Relative path to the robot configuration file. If this is provided, the robot_config_absolute_path is initialized with the concatenation of robot_config_root_path and robot_config_file.

robot_xrdf_file: str | None = None

Relative path to the robot XRDF file. If this is provided, the robot_xrdf_absolute_path is initialized with the concatenation of robot_xrdf_root_path and robot_xrdf_file.

robot_urdf_file: str | None = None

Relative path to the robot URDF file. If this is provided, the robot_urdf_absolute_path is initialized with the concatenation of robot_urdf_root_path and robot_urdf_file.

robot_usd_file: str | None = None

Relative path to the robot USD file. If this is provided, the robot_usd_absolute_path is initialized with the concatenation of robot_usd_root_path and robot_usd_file.

robot_asset_subroot_path: str | None = None

Relative path to the robot assets.

world_config_file: str | None = None

Relative path to the world description file. If this is provided, the world_config_absolute_path is initialized with the concatenation of world_config_root_path and world_config_file.

get_robot_configuration_path()

Get the robot configuration path.