genericroboticarm.robo_APIs.dynamic_loader module¶
Utility module for loading RobotInterface implementations.
- genericroboticarm.robo_APIs.dynamic_loader.collect_robo_implementations(package: str = 'genericroboticarm.robo_APIs') set[type[RoboInterface]][source]¶
Recursively find all subclasses of RoboInterface in a package.
- Parameters:
package – Dotted path of the package
- Returns:
list of RoboInterface subclasses
- genericroboticarm.robo_APIs.dynamic_loader.get_arm_impl(impl_str: str) RoboInterface | None[source]¶
Dynamically imports the specified robotic arm implementation class.
- Parameters:
impl_str (str) – The robotic arm implementation class to use, formatted as <module>:<class>