lookout-config 1.3.0__py3-none-any.whl → 1.3.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lookout_config/schemas/lookout.schema.json +14 -27
- lookout_config/types.py +4 -5
- {lookout_config-1.3.0.dist-info → lookout_config-1.3.2.dist-info}/METADATA +1 -1
- lookout_config-1.3.2.dist-info/RECORD +11 -0
- lookout_config-1.3.0.dist-info/RECORD +0 -11
- {lookout_config-1.3.0.dist-info → lookout_config-1.3.2.dist-info}/WHEEL +0 -0
- {lookout_config-1.3.0.dist-info → lookout_config-1.3.2.dist-info}/top_level.txt +0 -0
- {lookout_config-1.3.0.dist-info → lookout_config-1.3.2.dist-info}/zip-safe +0 -0
@@ -461,11 +461,7 @@
|
|
461
461
|
"type": "array"
|
462
462
|
},
|
463
463
|
"settings": {
|
464
|
-
"
|
465
|
-
{
|
466
|
-
"$ref": "#/$defs/PTZControlSettings"
|
467
|
-
}
|
468
|
-
],
|
464
|
+
"$ref": "#/$defs/PTZControlSettings",
|
469
465
|
"default": {
|
470
466
|
"absolute_move_tolerance": 0.0175,
|
471
467
|
"query_timeout": 2,
|
@@ -529,6 +525,13 @@
|
|
529
525
|
"title": "Ros Domain Id",
|
530
526
|
"type": "integer"
|
531
527
|
},
|
528
|
+
"static_peers": {
|
529
|
+
"items": {
|
530
|
+
"type": "string"
|
531
|
+
},
|
532
|
+
"title": "Static Peers",
|
533
|
+
"type": "array"
|
534
|
+
},
|
532
535
|
"namespace_vessel": {
|
533
536
|
"default": "vessel",
|
534
537
|
"title": "Namespace Vessel",
|
@@ -540,19 +543,11 @@
|
|
540
543
|
"type": "boolean"
|
541
544
|
},
|
542
545
|
"mode": {
|
543
|
-
"
|
544
|
-
{
|
545
|
-
"$ref": "#/$defs/Mode"
|
546
|
-
}
|
547
|
-
],
|
546
|
+
"$ref": "#/$defs/Mode",
|
548
547
|
"default": "stubs"
|
549
548
|
},
|
550
549
|
"log_level": {
|
551
|
-
"
|
552
|
-
{
|
553
|
-
"$ref": "#/$defs/LogLevel"
|
554
|
-
}
|
555
|
-
],
|
550
|
+
"$ref": "#/$defs/LogLevel",
|
556
551
|
"default": "info"
|
557
552
|
},
|
558
553
|
"cameras": {
|
@@ -563,11 +558,7 @@
|
|
563
558
|
"type": "array"
|
564
559
|
},
|
565
560
|
"network": {
|
566
|
-
"
|
567
|
-
{
|
568
|
-
"$ref": "#/$defs/Network"
|
569
|
-
}
|
570
|
-
],
|
561
|
+
"$ref": "#/$defs/Network",
|
571
562
|
"default": "host"
|
572
563
|
},
|
573
564
|
"gpu": {
|
@@ -576,16 +567,12 @@
|
|
576
567
|
"type": "boolean"
|
577
568
|
},
|
578
569
|
"geolocation_mode": {
|
579
|
-
"
|
580
|
-
{
|
581
|
-
"$ref": "#/$defs/GeolocationMode"
|
582
|
-
}
|
583
|
-
],
|
570
|
+
"$ref": "#/$defs/GeolocationMode",
|
584
571
|
"default": "none"
|
585
572
|
},
|
586
|
-
"
|
573
|
+
"prod": {
|
587
574
|
"default": true,
|
588
|
-
"title": "
|
575
|
+
"title": "Prod",
|
589
576
|
"type": "boolean"
|
590
577
|
}
|
591
578
|
},
|
lookout_config/types.py
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
# * lookout_interfaces/msg/Config.msg
|
3
3
|
# * lookout_config_manager/mappers.py
|
4
4
|
|
5
|
-
from typing import List
|
6
5
|
from enum import Enum
|
7
6
|
from pydantic import BaseModel, field_validator, ConfigDict
|
8
7
|
from pydantic.fields import Field
|
@@ -57,11 +56,11 @@ class Point(BaseModel):
|
|
57
56
|
|
58
57
|
|
59
58
|
class Polygon(BaseModel):
|
60
|
-
points:
|
59
|
+
points: list[Point]
|
61
60
|
|
62
61
|
|
63
62
|
class CameraExtended(Camera):
|
64
|
-
ignore_regions:
|
63
|
+
ignore_regions: list[Polygon] = Field(default_factory=list)
|
65
64
|
|
66
65
|
@field_validator("ignore_regions")
|
67
66
|
def check_polygon(cls, ignore_regions):
|
@@ -86,12 +85,12 @@ class LookoutConfig(BaseModel):
|
|
86
85
|
},
|
87
86
|
)
|
88
87
|
ros_domain_id: int = 0
|
89
|
-
static_peers:
|
88
|
+
static_peers: list[str] = Field(default_factory=list)
|
90
89
|
namespace_vessel: str = "vessel_1"
|
91
90
|
gama_vessel: bool = False
|
92
91
|
mode: Mode = Mode.HARDWARE
|
93
92
|
log_level: LogLevel = LogLevel.INFO
|
94
|
-
cameras:
|
93
|
+
cameras: list[CameraExtended] = Field(default_factory=list)
|
95
94
|
network: Network = Network.HOST
|
96
95
|
gpu: bool = True
|
97
96
|
geolocation_mode: GeolocationMode = GeolocationMode.NONE
|
@@ -0,0 +1,11 @@
|
|
1
|
+
lookout_config/__init__.py,sha256=Y0dlyMr5ls4zDDR8dT-mpzd_aPRtaJgZsY1VowQndas,1210
|
2
|
+
lookout_config/generate_schemas.py,sha256=yFNvrZ6gie1tnTM_1TO8_wBa0lFHJAABSI3ZAZqw_Wg,457
|
3
|
+
lookout_config/generate_urdf.py,sha256=_LaBPlp6BDFP68DMxF-VQS1SDt4iX1pmb0kITQM-I9E,3103
|
4
|
+
lookout_config/types.py,sha256=FfRVOsXpgX0yufAAS9VQtPdC4fVQ6sRXAUFYUp_Kbhc,2681
|
5
|
+
lookout_config/schemas/lookout.schema.json,sha256=GSQSlV5TlCznq3uANgdd4a7ogG5cOjOMY0YmuwKuuOI,12245
|
6
|
+
lookout_config/test/lookout_config_test.py,sha256=TdOzIEWnyrckhmK7OtShtoWwSAP8QDCiKalNhvScd2U,73
|
7
|
+
lookout_config-1.3.2.dist-info/METADATA,sha256=ZuLe1mBuWeJ84XZjV4CLJlDH5hQKtommxUcT_MRZLZk,1436
|
8
|
+
lookout_config-1.3.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
9
|
+
lookout_config-1.3.2.dist-info/top_level.txt,sha256=IiZRgJhNrNL87uLMQm9lQRrMCqJnTOl7aYlA7zRSYyg,15
|
10
|
+
lookout_config-1.3.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
11
|
+
lookout_config-1.3.2.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
lookout_config/__init__.py,sha256=Y0dlyMr5ls4zDDR8dT-mpzd_aPRtaJgZsY1VowQndas,1210
|
2
|
-
lookout_config/generate_schemas.py,sha256=yFNvrZ6gie1tnTM_1TO8_wBa0lFHJAABSI3ZAZqw_Wg,457
|
3
|
-
lookout_config/generate_urdf.py,sha256=_LaBPlp6BDFP68DMxF-VQS1SDt4iX1pmb0kITQM-I9E,3103
|
4
|
-
lookout_config/types.py,sha256=CjtZdggsOEQhZNs1tFZi-jJ7Dn1ETSc-KUTEPKL4NfQ,2705
|
5
|
-
lookout_config/schemas/lookout.schema.json,sha256=rhZt2jtprghkTq_GU4MG3A3IFZOhnSJbYT-prC9lV_U,12381
|
6
|
-
lookout_config/test/lookout_config_test.py,sha256=TdOzIEWnyrckhmK7OtShtoWwSAP8QDCiKalNhvScd2U,73
|
7
|
-
lookout_config-1.3.0.dist-info/METADATA,sha256=156erE3XcuiUL4D3ENet9HpTAwhdeRPrt2HN7CrSDsk,1436
|
8
|
-
lookout_config-1.3.0.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
9
|
-
lookout_config-1.3.0.dist-info/top_level.txt,sha256=IiZRgJhNrNL87uLMQm9lQRrMCqJnTOl7aYlA7zRSYyg,15
|
10
|
-
lookout_config-1.3.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
11
|
-
lookout_config-1.3.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|