feat: added command for videostream; fix: fixed error handling into: robot_control_gpio(), start(), run_app().
This commit is contained in:
1 parent
16729812b6
commit
6e9026e3d9
3 files changed
+45
-6
No files matched your search
@@ -40,12 +40,21 @@ class GpioLines(ModelConfig):
|
||||
right_motor_consumer: str
|
||||
|
||||
|
||||
class CommandsLinux(ModelConfig):
|
||||
"""Класс с командами для линукса"""
|
||||
|
||||
videostream: str
|
||||
on_videostream: bool
|
||||
on_stream_debug: bool
|
||||
|
||||
|
||||
class Settings(ModelConfig):
|
||||
"""Класс для данных конфига"""
|
||||
|
||||
websocket_host: str
|
||||
websocket_port: int
|
||||
commands_robot: CommandsRobot = CommandsRobot()
|
||||
commands_linux: CommandsLinux = CommandsLinux()
|
||||
gpio_lines: GpioLines = GpioLines()
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user