Skip to content

Commit

Permalink
Add initialize to the robot interface
Browse files Browse the repository at this point in the history
  • Loading branch information
vetlek committed May 30, 2022
1 parent 3637c52 commit 6f94957
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/robot_interface/robot_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,24 @@ def get_inspections(self, step: InspectionStep) -> Sequence[Inspection]:
"""
raise NotImplementedError

@abstractmethod
def initialize(self, **kwargs) -> None:
"""Initializes the robot. The initialization needed is robot dependent and the function can
be a simple return statement if no initialization is needed for the robot.
Parameters
----------
kwargs: Any
Returns
-------
None
Raises
------
RobotException
If the initialization failed
"""
raise NotImplementedError

0 comments on commit 6f94957

Please sign in to comment.