LisdfRobotMetadata
September 8, 2022 ยท View on GitHub
from tdw.lisdf_data.lisdf_robot_metadata import LisdfRobotMetadata
Metadata for how to add a robot from a .urdf file referenced by a .lisdf file. This will create a "fixed" version of a .urdf file that includes simplified namespaces, removed links, etc.
Fields
-
nameThe name of the robot. -
link_name_excludes_regexA list of regular expressions to search for in links, for example["_gazebo_"]. Link names that match this will be removed. -
link_exclude_typesSome links have atypeattribute. Exclude links matching this types in this list, for example["laser", "camera"].
Functions
__init__
LisdfRobotMetadata(name)
LisdfRobotMetadata(name, link_name_excludes_regex=None, link_exclude_types=None)
| Parameter | Type | Default | Description |
|---|---|---|---|
| name | str | The name of the robot. | |
| link_name_excludes_regex | List[str] | None | A list of regular expressions to search for in links, for example ["_gazebo_"]. Link names that match this will be removed. |
| link_exclude_types | List[str] | None | Some links have a type attribute. Exclude links matching this types in this list, for example ["laser", "camera"]. |