Skip to content

Commit

Permalink
Comment out bottom cam
Browse files Browse the repository at this point in the history
  • Loading branch information
ROV Laptop committed Jun 22, 2024
1 parent 618c071 commit d6f65b4
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions src/surface/gui/gui/pilot_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ def __init__(self) -> None:
"Front Camera",
1280, 720
)
bottom_cam_description = CameraDescription(
bottom_cam_type,
BOTTOM_CAM_TOPIC,
"Bottom Camera",
1280, 720
)
# bottom_cam_description = CameraDescription(
# bottom_cam_type,
# BOTTOM_CAM_TOPIC,
# "Bottom Camera",
# 1280, 720
# )

main_layout.addWidget(VideoWidget(front_cam_description),
alignment=Qt.AlignmentFlag.AlignHCenter)
main_layout.addWidget(
VideoWidget(bottom_cam_description),
alignment=Qt.AlignmentFlag.AlignHCenter
)
# main_layout.addWidget(
# VideoWidget(bottom_cam_description),
# alignment=Qt.AlignmentFlag.AlignHCenter
# )

main_layout.addLayout(self.make_bottom_bar())

Expand All @@ -89,19 +89,19 @@ def __init__(self) -> None:
"Forward Camera",
920, 690
)
bottom_cam_description = CameraDescription(
bottom_cam_type,
BOTTOM_CAM_TOPIC,
"Down Camera",
920, 690
)
# bottom_cam_description = CameraDescription(
# bottom_cam_type,
# BOTTOM_CAM_TOPIC,
# "Down Camera",
# 920, 690
# )

video_layout = QHBoxLayout()

video_layout.addWidget(VideoWidget(front_cam_description),
alignment=Qt.AlignmentFlag.AlignHCenter)
video_layout.addWidget(VideoWidget(bottom_cam_description),
alignment=Qt.AlignmentFlag.AlignHCenter)
# video_layout.addWidget(VideoWidget(bottom_cam_description),
# alignment=Qt.AlignmentFlag.AlignHCenter)
video_layout.setSpacing(0)

main_layout.addLayout(video_layout)
Expand All @@ -116,21 +116,21 @@ def __init__(self) -> None:
"Front Camera",
721, 541
)
bottom_cam_description = CameraDescription(
bottom_cam_type,
BOTTOM_CAM_TOPIC,
"Bottom Camera",
721, 541
)
# bottom_cam_description = CameraDescription(
# bottom_cam_type,
# BOTTOM_CAM_TOPIC,
# "Bottom Camera",
# 721, 541
# )

video_layout = QHBoxLayout()

video_layout.addWidget(VideoWidget(front_cam_description),
alignment=Qt.AlignmentFlag.AlignHCenter)
video_layout.addWidget(
VideoWidget(bottom_cam_description),
alignment=Qt.AlignmentFlag.AlignHCenter
)
# video_layout.addWidget(
# VideoWidget(bottom_cam_description),
# alignment=Qt.AlignmentFlag.AlignHCenter
# )

main_layout.addLayout(video_layout)
main_layout.addLayout(self.make_bottom_bar())
Expand Down

0 comments on commit d6f65b4

Please sign in to comment.