Skip to content

Commit

Permalink
Add a default robot status function for the sim
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Feb 8, 2023
1 parent 3753f52 commit 34c3917
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/isar_turtlebot/robotinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from robot_interface.models.initialize import InitializeParams
from robot_interface.models.inspection.inspection import Inspection
from robot_interface.models.mission import InspectionStep, Step, StepStatus
from robot_interface.models.mission.status import RobotStatus
from robot_interface.robot_interface import RobotInterface
from robot_interface.telemetry.mqtt_client import MqttTelemetryPublisher

Expand Down Expand Up @@ -80,3 +81,6 @@ def get_telemetry_publishers(self, queue: Queue, robot_id: str) -> List[Thread]:
publisher_threads.append(battery_thread)

return publisher_threads

def robot_status(self) -> RobotStatus:
return RobotStatus.Available

0 comments on commit 34c3917

Please sign in to comment.