feathersdk.robot.robot_module Module

class feathersdk.robot.robot_module.RobotModuleConfig(*, module_name, requires_urdf=False)

Bases: PyDFrozenBaseModel

Base config for all robot modules.

Parameters:
  • module_name (str)

  • requires_urdf (bool)

module_name: str

The name of the module.

requires_urdf: bool

Whether this module requires the robot URDF to be loaded.

model_config: ClassVar[ConfigDict] = {'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class feathersdk.robot.robot_module.RobotModule(config, *args, **kwargs)

Bases: Configurable[TRobotModuleConfig], Abortable, Generic[TRobotModuleConfig]

Base class for all robot modules.

Parameters:
robot: FeatherRobot | None = None

The robot instance, set by FeatherRobot during initialization.