Spaces:
Sleeping
Sleeping
Update simulation_modules.py
Browse files- simulation_modules.py +2 -2
simulation_modules.py
CHANGED
|
@@ -752,7 +752,7 @@ class DisplayInterface:
|
|
| 752 |
x = info_x + self.config.panel_margin
|
| 753 |
panel_w = (self.config.width - info_x) - 2 * self.config.panel_margin
|
| 754 |
|
| 755 |
-
main_bev_h =
|
| 756 |
|
| 757 |
# الخريطة الرئيسية
|
| 758 |
bev_t0 = cv2.resize(data.get('map_t0', np.zeros((1,1,3))), (panel_w, main_bev_h))
|
|
@@ -779,7 +779,7 @@ class DisplayInterface:
|
|
| 779 |
def _draw_controls_section(self, db: np.ndarray, data: Dict, info_x: int, start_y: int):
|
| 780 |
"""يرسم قسم عناصر التحكم بالمركبة."""
|
| 781 |
x = info_x + self.config.panel_margin
|
| 782 |
-
self._draw_text(db, "VEHICLE CONTROL", (x, start_y+
|
| 783 |
|
| 784 |
self._draw_gauge_display(db, data, x, start_y + 80)
|
| 785 |
self._draw_control_bars(db, data, x + 180, start_y + 80)
|
|
|
|
| 752 |
x = info_x + self.config.panel_margin
|
| 753 |
panel_w = (self.config.width - info_x) - 2 * self.config.panel_margin
|
| 754 |
|
| 755 |
+
main_bev_h = 380; future_bev_h = 180
|
| 756 |
|
| 757 |
# الخريطة الرئيسية
|
| 758 |
bev_t0 = cv2.resize(data.get('map_t0', np.zeros((1,1,3))), (panel_w, main_bev_h))
|
|
|
|
| 779 |
def _draw_controls_section(self, db: np.ndarray, data: Dict, info_x: int, start_y: int):
|
| 780 |
"""يرسم قسم عناصر التحكم بالمركبة."""
|
| 781 |
x = info_x + self.config.panel_margin
|
| 782 |
+
self._draw_text(db, "VEHICLE CONTROL", (x, start_y+40), 1.2, color=self.colors['text_header'])
|
| 783 |
|
| 784 |
self._draw_gauge_display(db, data, x, start_y + 80)
|
| 785 |
self._draw_control_bars(db, data, x + 180, start_y + 80)
|