lookout-config 1.23.0__py3-none-any.whl → 1.24.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.
- lookout_config/launch_parameters.py +84 -26
- {lookout_config-1.23.0.dist-info → lookout_config-1.24.0.dist-info}/METADATA +2 -2
- {lookout_config-1.23.0.dist-info → lookout_config-1.24.0.dist-info}/RECORD +6 -6
- {lookout_config-1.23.0.dist-info → lookout_config-1.24.0.dist-info}/WHEEL +0 -0
- {lookout_config-1.23.0.dist-info → lookout_config-1.24.0.dist-info}/top_level.txt +0 -0
- {lookout_config-1.23.0.dist-info → lookout_config-1.24.0.dist-info}/zip-safe +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
5
|
from enum import Enum
|
6
|
-
from typing import List, Optional
|
6
|
+
from typing import Any, List, Optional
|
7
7
|
|
8
8
|
from pydantic import BaseModel, Field
|
9
9
|
|
@@ -108,27 +108,12 @@ class DiagnosticUpdater(BaseModel):
|
|
108
108
|
use_fqn: Optional[bool] = Field(None, description="")
|
109
109
|
|
110
110
|
|
111
|
-
class
|
112
|
-
|
113
|
-
diagnostic_updater: Optional[DiagnosticUpdater] = None
|
114
|
-
storage_id: Optional[str] = Field(None, description="")
|
115
|
-
|
116
|
-
|
117
|
-
class DataRecorderParameters(BaseModel):
|
118
|
-
bag_directory: Optional[str] = Field(None, description="")
|
119
|
-
diagnostic_updater: Optional[DiagnosticUpdater] = None
|
120
|
-
storage_id: Optional[str] = Field(None, description="")
|
121
|
-
storage_preset_profile: Optional[str] = Field(None, description="")
|
122
|
-
topic_exclude_regexs: Optional[List[str]] = Field(None, description="")
|
123
|
-
topic_include_regexs: Optional[List[str]] = Field(None, description="")
|
124
|
-
trigger_topic_active: Optional[bool] = Field(None, description="")
|
111
|
+
class Storage(BaseModel):
|
112
|
+
directory: Optional[str] = Field(None, description="Directory containing recording bag files.")
|
125
113
|
|
126
114
|
|
127
|
-
class
|
128
|
-
|
129
|
-
azure_blob = "azure_blob"
|
130
|
-
microsoft_onedrive = "microsoft_onedrive"
|
131
|
-
sftp = "sftp"
|
115
|
+
class UploadQueue(BaseModel):
|
116
|
+
size: Optional[int] = Field(None, description="Max number of items in the upload queue.")
|
132
117
|
|
133
118
|
|
134
119
|
class Config(BaseModel):
|
@@ -185,7 +170,7 @@ class Sftp(BaseModel):
|
|
185
170
|
|
186
171
|
class UploadDestination(BaseModel):
|
187
172
|
name: Optional[str] = Field(None, description="Identifying name of the upload destination.")
|
188
|
-
type: Optional[
|
173
|
+
type: Optional[Any] = Field(None, description="Type of upload destination")
|
189
174
|
upload_path: Optional[str] = Field(
|
190
175
|
None, description="Path at the destination to upload files to."
|
191
176
|
)
|
@@ -197,14 +182,87 @@ class UploadDestination(BaseModel):
|
|
197
182
|
|
198
183
|
class DataHubParameters(BaseModel):
|
199
184
|
port: Optional[int] = Field(None, description="Port for the HTTP server.")
|
200
|
-
|
201
|
-
|
185
|
+
storage: Optional[Storage] = None
|
186
|
+
upload_queue: Optional[UploadQueue] = None
|
187
|
+
upload_destination: Optional[UploadDestination] = None
|
188
|
+
diagnostic_updater: Optional[DiagnosticUpdater] = None
|
189
|
+
|
190
|
+
|
191
|
+
class Buffer(BaseModel):
|
192
|
+
enabled: Optional[bool] = Field(
|
193
|
+
None,
|
194
|
+
description="Enables a recording buffer to capture historical data prior to recording requests.",
|
202
195
|
)
|
203
|
-
|
204
|
-
|
196
|
+
size: Optional[int] = Field(None, description="Size (in bytes) of the recording buffer.")
|
197
|
+
|
198
|
+
|
199
|
+
class ResourceMonitor(BaseModel):
|
200
|
+
warning_threshold: Optional[float] = Field(
|
201
|
+
None, description="Storage usage threshold which triggers warning."
|
205
202
|
)
|
206
|
-
|
203
|
+
critical_threshold: Optional[float] = Field(
|
204
|
+
None, description="Storage usage threshold which triggers error."
|
205
|
+
)
|
206
|
+
|
207
|
+
|
208
|
+
class StateTimer(BaseModel):
|
209
|
+
publish_period: Optional[int] = Field(
|
210
|
+
None, description="Period (ms) to publish recording state updates."
|
211
|
+
)
|
212
|
+
|
213
|
+
|
214
|
+
class Storage1(BaseModel):
|
215
|
+
directory: Optional[str] = Field(None, description="Directory where recordings will be saved.")
|
216
|
+
plugin_name: Optional[Any] = Field(None, description="Storage plugin to use.")
|
217
|
+
plugin_profile: Optional[Any] = Field(
|
218
|
+
None,
|
219
|
+
description="Storage plugin preset profile to use to determine write speed and compression ratio. Only used for mcap storage plugin.",
|
220
|
+
)
|
221
|
+
|
222
|
+
|
223
|
+
class Topics(BaseModel):
|
224
|
+
exclude_regexs: Optional[List[str]] = Field(
|
225
|
+
None,
|
226
|
+
description="An array of regex patterns to use for topic EXCLUSION from the recording.",
|
227
|
+
)
|
228
|
+
include_regexs: Optional[List[str]] = Field(
|
229
|
+
None,
|
230
|
+
description="An array of regex patterns to use for topic INCLUSION in the recording.",
|
231
|
+
)
|
232
|
+
|
233
|
+
|
234
|
+
class TriggerTopic(BaseModel):
|
235
|
+
enabled: Optional[bool] = Field(
|
236
|
+
None,
|
237
|
+
description="Enables a trigger topic that can be used to start/stop recordings (example_interfaces/Bool).",
|
238
|
+
)
|
239
|
+
|
240
|
+
|
241
|
+
class DataRecorderParameters(BaseModel):
|
242
|
+
buffer: Optional[Buffer] = None
|
243
|
+
diagnostic_updater: Optional[DiagnosticUpdater] = None
|
244
|
+
resource_monitor: Optional[ResourceMonitor] = None
|
245
|
+
state_timer: Optional[StateTimer] = None
|
246
|
+
storage: Optional[Storage1] = None
|
247
|
+
topics: Optional[Topics] = None
|
248
|
+
trigger_topic: Optional[TriggerTopic] = None
|
249
|
+
|
250
|
+
|
251
|
+
class StateTimer1(BaseModel):
|
252
|
+
publish_period: Optional[int] = Field(
|
253
|
+
None, description="Period (ms) to publish playback state updates."
|
254
|
+
)
|
255
|
+
|
256
|
+
|
257
|
+
class Storage2(BaseModel):
|
258
|
+
directory: Optional[str] = Field(None, description="Directory to play recordings from.")
|
259
|
+
plugin_name: Optional[Any] = Field(None, description="Storage plugin to use.")
|
260
|
+
|
261
|
+
|
262
|
+
class DataPlayerParameters(BaseModel):
|
207
263
|
diagnostic_updater: Optional[DiagnosticUpdater] = None
|
264
|
+
state_timer: Optional[StateTimer1] = None
|
265
|
+
storage: Optional[Storage2] = None
|
208
266
|
|
209
267
|
|
210
268
|
class SimulatedClockParameters(BaseModel):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: lookout_config
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.24.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.
|
22
|
+
Requires-Dist: greenstream-config==3.22.0
|
23
23
|
Requires-Dist: gr-urchin
|
24
24
|
|
25
25
|
# Lookout Config
|
@@ -2,12 +2,12 @@ lookout_config/__init__.py,sha256=NKLSlCn7mb8HRbkOB6i6EBpvROLGRlZRcnHc5nm1zTk,17
|
|
2
2
|
lookout_config/generate_schemas.py,sha256=yFNvrZ6gie1tnTM_1TO8_wBa0lFHJAABSI3ZAZqw_Wg,457
|
3
3
|
lookout_config/generate_urdf.py,sha256=O5n0hNsRJwTgQnWdPZIg_LgpxlDQOzWv5IccjT7yDS4,2719
|
4
4
|
lookout_config/helpers.py,sha256=3GkGRPDzQ67I5srwcWoI8PI1dgrWvTsUwA8-yRUttLM,603
|
5
|
-
lookout_config/launch_parameters.py,sha256=
|
5
|
+
lookout_config/launch_parameters.py,sha256=t1A7J2icXkYs3KeRQQd-O8S6Bxol25oGi5KxS7ldqS0,27499
|
6
6
|
lookout_config/types.py,sha256=HMrHST658SpGVKrocsCe66E6x0aaYkBiYzTD-quY-Ys,4323
|
7
7
|
lookout_config/schemas/lookout.schema.json,sha256=NIekpXaauGsFJthrDfLkQzXCrQrVYmRRAynLlzYuym4,10615
|
8
8
|
lookout_config/test/lookout_config_test.py,sha256=TdOzIEWnyrckhmK7OtShtoWwSAP8QDCiKalNhvScd2U,73
|
9
|
-
lookout_config-1.
|
10
|
-
lookout_config-1.
|
11
|
-
lookout_config-1.
|
12
|
-
lookout_config-1.
|
13
|
-
lookout_config-1.
|
9
|
+
lookout_config-1.24.0.dist-info/METADATA,sha256=W6oZ0bptKa4J5ptET2FmNsqCRqYbp00-A7CmAddvBNY,1442
|
10
|
+
lookout_config-1.24.0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
11
|
+
lookout_config-1.24.0.dist-info/top_level.txt,sha256=IiZRgJhNrNL87uLMQm9lQRrMCqJnTOl7aYlA7zRSYyg,15
|
12
|
+
lookout_config-1.24.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
13
|
+
lookout_config-1.24.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|