Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for docking and localization #90

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"pre-commit",
]
},
python_requires=">=3.8",
python_requires=">=3.10",
tests_require=["pytest"],
)
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