Skip to content

Commit

Permalink
Merge branch 'main' into dashboard_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBaecker committed Dec 20, 2024
2 parents 76e4c31 + b327f17 commit 9eef432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions field_friend/interface/components/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import rosys
from nicegui import ui
from rosys.hardware import EspPins

from .hardware_control import create_hardware_control_ui
from .io_overview import IoOverview as io_overview
Expand Down Expand Up @@ -39,8 +38,8 @@ def create_development_ui(system: 'System') -> None:
if isinstance(system.field_friend, rosys.hardware.RobotHardware):
with ui.row():
with ui.card().style('min-width: 200px;'):
esp_pins_core = EspPins(name='core', robot_brain=system.field_friend.robot_brain)
esp_pins_core = system.field_friend.robot_brain.esp_pins_core
esp_pins_core.developer_ui()
with ui.card().style('min-width: 200px;'):
esp_pins_p0 = EspPins(name='p0', robot_brain=system.field_friend.robot_brain)
esp_pins_p0 = system.field_friend.robot_brain.esp_pins_p0
esp_pins_p0.developer_ui()
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ icecream
pillow
prompt-toolkit # for lizard monitor
pynmea2
rosys == v0.19.0
rosys == v0.21.0
shapely
uvicorn == 0.28.1

0 comments on commit 9eef432

Please sign in to comment.