clearpath_config: Jazzy
  • Links
    • Rosindex
    • Repository
  • Python API
    • clearpath_config package
      • Subpackages
        • clearpath_config.common package
        • clearpath_config.links package
        • clearpath_config.manipulators package
        • clearpath_config.mounts package
        • clearpath_config.platform package
        • clearpath_config.sensors package
        • clearpath_config.system package
        • clearpath_config.tests package
      • Submodules
        • clearpath_config.clearpath_config module
      • Module contents
  • Standard Documents
    • PACKAGE
    • LICENSE
    • CHANGELOG
      • Changelog for package clearpath_config
        • 2.6.0 (2025-07-04)
        • 2.5.0 (2025-05-29)
        • 2.4.0 (2025-05-01)
        • 2.3.1 (2025-04-28)
        • 2.3.0 (2025-04-11)
        • 2.2.2 (2025-03-27)
        • 2.2.1 (2025-03-17)
        • 2.2.0 (2025-03-11)
        • 2.1.1 (2025-02-05)
        • 2.1.0 (2025-01-31)
        • 2.0.1 (2025-01-16)
        • 2.0.0 (2025-01-14)
        • 0.3.4 (2024-10-04)
        • 0.3.3 (2024-09-29)
        • 0.3.2 (2024-09-23)
        • 0.3.1 (2024-09-19)
        • 0.3.0 (2024-09-19)
        • 0.2.11 (2024-08-08)
        • 0.2.10 (2024-07-22)
        • 0.2.9 (2024-05-28)
        • 0.2.8 (2024-05-14)
        • 0.2.7 (2024-04-08)
        • 0.2.6 (2024-03-18)
        • 0.2.5 (2024-03-06)
        • 0.2.4 (2024-01-22)
        • 0.2.3 (2024-01-10)
        • 0.2.2 (2024-01-08)
        • 0.2.1 (2024-01-04)
        • 0.2.0 (2023-12-07)
        • 0.1.1 (2023-10-02)
        • 0.1.0 (2023-08-31)
        • 0.0.6 (2023-08-10)
        • 0.0.5 (2023-07-31)
        • 0.0.4 (2023-07-17)
        • 0.0.3 (2023-07-06)
        • 0.0.2 (2023-06-12)
        • 0.0.1 (2023-05-04)
    • README
      • clearpath_config
      • Configration Examples
      • Unit Tests
  • Index
clearpath_config: Jazzy
  • clearpath_config
  • clearpath_config package
  • clearpath_config.links package
  • clearpath_config.links.links module
  • View page source

clearpath_config.links.links module

class clearpath_config.links.links.Link(_type: str, name: str)

Bases: object

BOX = 'box'
CYLINDER = 'cylinder'
FRAME = 'frame'
MESH = 'mesh'
SPHERE = 'sphere'
TYPE = {'box': <class 'clearpath_config.links.types.box.Box'>, 'cylinder': <class 'clearpath_config.links.types.cylinder.Cylinder'>, 'frame': <class 'clearpath_config.links.types.frame.Frame'>, 'mesh': <class 'clearpath_config.links.types.mesh.Mesh'>, 'sphere': <class 'clearpath_config.links.types.sphere.Sphere'>}
classmethod assert_type(_type: str) → None
class clearpath_config.links.links.LinkListConfig

Bases: ListConfig[BaseLink, str]

to_dict() → List[dict]
class clearpath_config.links.links.LinksConfig(config: dict = {}, box: List[Box] = [], cylinder: List[Cylinder] = [], frame: List[Frame] = [], mesh: List[Mesh] = [], sphere: List[Mesh] = [])

Bases: BaseConfig

BOX = 'box'
CYLINDER = 'cylinder'
DEFAULTS = {'box': [], 'cylinder': [], 'frame': [], 'mesh': [], 'sphere': []}
FRAME = 'frame'
KEYS = {'box': 'links.box', 'cylinder': 'links.cylinder', 'frame': 'links.frame', 'mesh': 'links.mesh', 'sphere': 'links.sphere'}
LINKS = 'links'
MESH = 'mesh'
SPHERE = 'sphere'
TEMPLATE = {'links': {'box': 'box', 'cylinder': 'cylinder', 'frame': 'frame', 'mesh': 'mesh', 'sphere': 'sphere'}}
add_box(box: Box = None, name: str = None, size: List[float] = [0.01, 0.01, 0.01], parent: str = 'default_mount', xyz: List[float] = [0.0, 0.0, 0.0], rpy: List[float] = [0.0, 0.0, 0.0], offset_xyz: List[float] = [0.0, 0.0, 0.0], offset_rpy: List[float] = [0.0, 0.0, 0.0]) → None
add_cylinder(cylinder: Cylinder = None, name: str = None, radius: float = 0.01, length: float = 0.01, parent: str = 'default_mount', xyz: List[float] = [0.0, 0.0, 0.0], rpy: List[float] = [0.0, 0.0, 0.0], offset_xyz: List[float] = [0.0, 0.0, 0.0], offset_rpy: List[float] = [0.0, 0.0, 0.0]) → None
add_frame(frame: Frame = None, name: str = None, parent: str = 'default_mount', xyz: List[float] = [0.0, 0.0, 0.0], rpy: List[float] = [0.0, 0.0, 0.0], offset_xyz: List[float] = [0.0, 0.0, 0.0], offset_rpy: List[float] = [0.0, 0.0, 0.0]) → None
add_mesh(mesh: Mesh = None, name: str = None, visual: dict = '', parent: str = 'default_mount', xyz: List[float] = [0.0, 0.0, 0.0], rpy: List[float] = [0.0, 0.0, 0.0], offset_xyz: List[float] = [0.0, 0.0, 0.0], offset_rpy: List[float] = [0.0, 0.0, 0.0]) → None
add_sphere(sphere: Sphere = None, name: str = None, radius: float = 0.01, parent: str = 'default_mount', xyz: List[float] = [0.0, 0.0, 0.0], rpy: List[float] = [0.0, 0.0, 0.0], offset_xyz: List[float] = [0.0, 0.0, 0.0], offset_rpy: List[float] = [0.0, 0.0, 0.0]) → None
property box: LinkListConfig
property cylinder: LinkListConfig
property frame: LinkListConfig
get_all_boxes() → List[Box]
get_all_cylinders() → List[Cylinder]
get_all_frames() → List[Frame]
get_all_links() → List[BaseLink]
get_all_meshes() → List[Mesh]
get_all_spheres() → List[Sphere]
get_box(box: str) → Box
get_cylinder(cylinder: str) → Cylinder
get_frame(frame: str) → Frame
get_mesh(mesh: str) → Mesh
get_sphere(sphere: str) → Sphere
property mesh: LinkListConfig
remove_box(box: Box | str) → None
remove_cylinder(cylinder: Cylinder | str) → None
remove_frame(frame: Frame | str) → None
remove_mesh(mesh: Mesh | str) → None
remove_sphere(sphere: Sphere | str) → None
set_all_boxes(boxes: List[Box]) → None
set_all_cylinders(cylinders: List[Cylinder]) → None
set_all_frames(frames: List[Frame]) → None
set_all_meshes(meshes: List[Mesh]) → None
set_all_spheres(spheres: List[Sphere]) → None
set_box(box: Box) → None
set_cylinder(cylinder: Cylinder) → None
set_frame(frame: Frame) → None
set_mesh(mesh: Mesh) → None
set_sphere(sphere: Sphere) → None
property sphere: LinkListConfig
Previous Next

© Copyright The <clearpath_config> Contributors. License: BSD-3.

Built with Sphinx using a theme provided by Read the Docs.