Skip to content

Commit

Permalink
Add support for docking and localization
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Nov 14, 2023
1 parent aa1ee75 commit c18795b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/isar_robot/config/settings.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CAPABILITIES = '["take_thermal_image", "take_image", "take_video", "take_thermal_video", "drive_to_pose", "record_audio"]'
CAPABILITIES = '["take_thermal_image", "take_image", "take_video", "take_thermal_video", "drive_to_pose", "record_audio", "localize", "docking_procedure"]'
ROBOT_MODEL = Robot
3 changes: 2 additions & 1 deletion src/isar_robot/robotinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

class Robot(RobotInterface):
def __init__(self) -> None:
self.logger: Logger = logging.getLogger("robot")
self.logger: Logger = logging.getLogger("isar_robot")

def initiate_mission(self, mission: Mission) -> None:
time.sleep(STEP_DURATION_IN_SECONDS)
Expand All @@ -37,6 +37,7 @@ def mission_status(self) -> MissionStatus:
return MissionStatus.Successful

def initiate_step(self, step: Step) -> None:
self.logger.info(f"Initiated step of type {step.__class__.__name__}")
time.sleep(STEP_DURATION_IN_SECONDS)

def step_status(self) -> StepStatus:
Expand Down

0 comments on commit c18795b

Please sign in to comment.