diff --git a/src/isar/config/settings.py b/src/isar/config/settings.py index 9185f305..2abef14d 100644 --- a/src/isar/config/settings.py +++ b/src/isar/config/settings.py @@ -8,7 +8,7 @@ from isar.config import predefined_missions from robot_interface.models.robots.robot_model import RobotModel -from robot_interface.telemetry.payloads import DocumentInfo, VideoStream +from robot_interface.telemetry.payloads import DocumentInfo class Settings(BaseSettings): @@ -194,22 +194,6 @@ def __init__(self) -> None: # Info about robot documentation DOCUMENTATION: List[DocumentInfo] = Field(default=[]) - # Endpoints to reach video streams for the robot - VIDEO_STREAMS: List[VideoStream] = Field( - default=[ - VideoStream( - name="Front camera", - url="http://localhost:5000/videostream/front", - type="turtlebot", - ), - VideoStream( - name="Rear camera", - url="http://localhost:5000/videostream/rear", - type="turtlebot", - ), - ] - ) - # Data scheme the robot should adhere to # Options [DS0001] DATA_SCHEME: str = Field(default="DS0001") diff --git a/src/isar/services/service_connections/mqtt/robot_info_publisher.py b/src/isar/services/service_connections/mqtt/robot_info_publisher.py index 77305507..6c8bef65 100644 --- a/src/isar/services/service_connections/mqtt/robot_info_publisher.py +++ b/src/isar/services/service_connections/mqtt/robot_info_publisher.py @@ -22,7 +22,6 @@ def run(self) -> None: robot_serial_number=settings.SERIAL_NUMBER, robot_asset=settings.PLANT_SHORT_NAME, documentation=settings.DOCUMENTATION, - video_streams=settings.VIDEO_STREAMS, host=settings.API_HOST_VIEWED_EXTERNALLY, port=settings.API_PORT, capabilities=robot_settings.CAPABILITIES, diff --git a/src/robot_interface/telemetry/payloads.py b/src/robot_interface/telemetry/payloads.py index a90a1ac6..d961689a 100644 --- a/src/robot_interface/telemetry/payloads.py +++ b/src/robot_interface/telemetry/payloads.py @@ -48,13 +48,6 @@ class DocumentInfo: url: str -@dataclass -class VideoStream: - name: str - url: str - type: str - - @dataclass class RobotStatusPayload: isar_id: str @@ -76,7 +69,6 @@ class RobotInfoPayload: robot_serial_number: str robot_asset: str documentation: List[DocumentInfo] - video_streams: List[VideoStream] host: str port: int capabilities: List[str]