lookout-config 1.10.0__py3-none-any.whl → 1.11.0__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.
@@ -329,16 +329,10 @@
329
329
  "properties": {
330
330
  "ros_domain_id": {
331
331
  "default": 0,
332
+ "description": "ROS domain ID for the vessel. This only applies if 'simple_discovery' is true.",
332
333
  "title": "Ros Domain Id",
333
334
  "type": "integer"
334
335
  },
335
- "static_peers": {
336
- "items": {
337
- "type": "string"
338
- },
339
- "title": "Static Peers",
340
- "type": "array"
341
- },
342
336
  "namespace_vessel": {
343
337
  "default": "vessel_1",
344
338
  "title": "Namespace Vessel",
@@ -350,19 +344,11 @@
350
344
  "type": "boolean"
351
345
  },
352
346
  "mode": {
353
- "allOf": [
354
- {
355
- "$ref": "#/$defs/Mode"
356
- }
357
- ],
347
+ "$ref": "#/$defs/Mode",
358
348
  "default": "hardware"
359
349
  },
360
350
  "log_level": {
361
- "allOf": [
362
- {
363
- "$ref": "#/$defs/LogLevel"
364
- }
365
- ],
351
+ "$ref": "#/$defs/LogLevel",
366
352
  "default": "info"
367
353
  },
368
354
  "cameras": {
@@ -373,11 +359,7 @@
373
359
  "type": "array"
374
360
  },
375
361
  "network": {
376
- "allOf": [
377
- {
378
- "$ref": "#/$defs/Network"
379
- }
380
- ],
362
+ "$ref": "#/$defs/Network",
381
363
  "default": "host"
382
364
  },
383
365
  "gpu": {
@@ -386,27 +368,15 @@
386
368
  "type": "boolean"
387
369
  },
388
370
  "geolocation_mode": {
389
- "allOf": [
390
- {
391
- "$ref": "#/$defs/GeolocationMode"
392
- }
393
- ],
371
+ "$ref": "#/$defs/GeolocationMode",
394
372
  "default": "none"
395
373
  },
396
374
  "positioning_system": {
397
- "allOf": [
398
- {
399
- "$ref": "#/$defs/PositioningSystem"
400
- }
401
- ],
375
+ "$ref": "#/$defs/PositioningSystem",
402
376
  "default": "none"
403
377
  },
404
378
  "offsets": {
405
- "allOf": [
406
- {
407
- "$ref": "#/$defs/VesselOffsets"
408
- }
409
- ],
379
+ "$ref": "#/$defs/VesselOffsets",
410
380
  "default": {
411
381
  "name": "mars.stl",
412
382
  "baselink_to_ins": {
@@ -444,6 +414,30 @@
444
414
  "default": "~/greenroom/lookout/recordings",
445
415
  "title": "Recording Directory",
446
416
  "type": "string"
417
+ },
418
+ "with_discovery_server": {
419
+ "default": true,
420
+ "description": "Run the discovery server. It will bind to 0.0.0.0:11811",
421
+ "title": "With Discovery Server",
422
+ "type": "boolean"
423
+ },
424
+ "simple_discovery": {
425
+ "default": false,
426
+ "description": "Use simple discovery. This should NOT be used in production due to performance issues.",
427
+ "title": "Simple Discovery",
428
+ "type": "boolean"
429
+ },
430
+ "discovery_server_ip": {
431
+ "default": "0.0.0.0",
432
+ "description": "IP/host/interface of the discovery server. Assumes port of 11811",
433
+ "title": "Discovery Server Ip",
434
+ "type": "string"
435
+ },
436
+ "own_ip": {
437
+ "default": "0.0.0.0",
438
+ "description": "IP/host/interface address of the primary network interface. This is where DDS traffic will route to.",
439
+ "title": "Own Ip",
440
+ "type": "string"
447
441
  }
448
442
  },
449
443
  "title": "LookoutConfig",
lookout_config/types.py CHANGED
@@ -105,7 +105,10 @@ class LookoutConfig(BaseModel):
105
105
  PositioningSystem: lambda v: v.value,
106
106
  },
107
107
  )
108
- ros_domain_id: int = 0
108
+ ros_domain_id: int = Field(
109
+ default=0,
110
+ description="ROS domain ID for the vessel. This only applies if 'simple_discovery' is true.",
111
+ )
109
112
  namespace_vessel: str = "vessel_1"
110
113
  gama_vessel: bool = False
111
114
  mode: Mode = Mode.HARDWARE
@@ -126,6 +129,18 @@ class LookoutConfig(BaseModel):
126
129
  prod: bool = True
127
130
  log_directory: str = "~/greenroom/lookout/logs"
128
131
  recording_directory: str = "~/greenroom/lookout/recordings"
129
- with_discovery_server: bool = Field(default=True, description="Run the discovery server.")
130
- discovery_server_ip: str = "0.0.0.0"
131
- own_ip: str = "0.0.0.0"
132
+ with_discovery_server: bool = Field(
133
+ default=True, description="Run the discovery server. It will bind to 0.0.0.0:11811"
134
+ )
135
+ simple_discovery: bool = Field(
136
+ default=False,
137
+ description="Use simple discovery. This should NOT be used in production due to performance issues.",
138
+ )
139
+ discovery_server_ip: str = Field(
140
+ default="0.0.0.0",
141
+ description="IP/host/interface of the discovery server. Assumes port of 11811",
142
+ )
143
+ own_ip: str = Field(
144
+ default="0.0.0.0",
145
+ description="IP/host/interface address of the primary network interface. This is where DDS traffic will route to.",
146
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lookout_config
3
- Version: 1.10.0
3
+ Version: 1.11.0
4
4
  Summary: A library for reading / writing Lookout config files
5
5
  Home-page: https://github.com/Greenroom-Robotics/lookout
6
6
  Author: Greenroom Robotics
@@ -19,7 +19,7 @@ Requires-Dist: setuptools
19
19
  Requires-Dist: dacite
20
20
  Requires-Dist: PyYAML
21
21
  Requires-Dist: dc-schema
22
- Requires-Dist: greenstream-config==3.9.7
22
+ Requires-Dist: greenstream-config==3.10.0
23
23
  Requires-Dist: gr-urchin
24
24
 
25
25
  # Lookout Config
@@ -3,11 +3,11 @@ lookout_config/generate_schemas.py,sha256=yFNvrZ6gie1tnTM_1TO8_wBa0lFHJAABSI3ZAZ
3
3
  lookout_config/generate_urdf.py,sha256=O5n0hNsRJwTgQnWdPZIg_LgpxlDQOzWv5IccjT7yDS4,2719
4
4
  lookout_config/helpers.py,sha256=3GkGRPDzQ67I5srwcWoI8PI1dgrWvTsUwA8-yRUttLM,603
5
5
  lookout_config/launch_parameters.py,sha256=wvLXQMPi7D3ExesyvSNLPYEb2WChj9YTslnvQYPsXbk,3033
6
- lookout_config/types.py,sha256=MsnyMfbXcp50xbtxkcFO4tWl3CwkwlAWoUOYE35bMg8,3702
7
- lookout_config/schemas/lookout.schema.json,sha256=PXuSr6ct0LSitJbdlX0hi2XFkzsMdMUYqGfRDPexbOA,8844
6
+ lookout_config/types.py,sha256=o--5Mo7ADSCv5k240oyiA-sJDA5BLd6nx5RGzFZFygo,4325
7
+ lookout_config/schemas/lookout.schema.json,sha256=eH6i8OW-9jBBEusm4qMaACV7fujtrqw1_Bm5YwuQNxw,9390
8
8
  lookout_config/test/lookout_config_test.py,sha256=TdOzIEWnyrckhmK7OtShtoWwSAP8QDCiKalNhvScd2U,73
9
- lookout_config-1.10.0.dist-info/METADATA,sha256=h8QAXqYEdPY20EgTQ48lsn8fYjm8RyLCm8xOn64q_PQ,1437
10
- lookout_config-1.10.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
11
- lookout_config-1.10.0.dist-info/top_level.txt,sha256=IiZRgJhNrNL87uLMQm9lQRrMCqJnTOl7aYlA7zRSYyg,15
12
- lookout_config-1.10.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
13
- lookout_config-1.10.0.dist-info/RECORD,,
9
+ lookout_config-1.11.0.dist-info/METADATA,sha256=uTBXwmSAXX4nN4DU3G_DJxMFlB6EDrcP7rvjgz6QJ54,1438
10
+ lookout_config-1.11.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
11
+ lookout_config-1.11.0.dist-info/top_level.txt,sha256=IiZRgJhNrNL87uLMQm9lQRrMCqJnTOl7aYlA7zRSYyg,15
12
+ lookout_config-1.11.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
13
+ lookout_config-1.11.0.dist-info/RECORD,,