greenstream-config 4.1.1__tar.gz → 4.2.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: greenstream_config
3
- Version: 4.1.1
3
+ Version: 4.2.0
4
4
  Summary: A library for reading / writing Greenstream config files
5
5
  Home-page: https://github.com/Greenroom-Robotics/greenstream
6
6
  Author: Greenroom Robotics
@@ -26,6 +26,11 @@ def get_sensor_node_name(node_type: str, sensor_name: str) -> str:
26
26
  return f"{node_type}_{sensor_name}"
27
27
 
28
28
 
29
+ def get_namespace_vessel_application(namespace_vessel: str, namespace_application: str) -> str:
30
+ """Generate the namespace of the vessel and application, separated by '/'"""
31
+ return f"{namespace_vessel}/{namespace_application}"
32
+
33
+
29
34
  def get_camera_namespace(namespace_full: str, camera_name: str) -> str:
30
35
  """Generate ROS namespace for PTZ driver."""
31
36
  return f"{namespace_full}/cameras/{camera_name}"
@@ -114,6 +114,9 @@ class GreenstreamConfig(BaseModel):
114
114
  ui_port: int = Field(default=8000, description="Port for the web UI server")
115
115
  debug: bool = Field(default=False, description="Enable debug logging and tracing")
116
116
  diagnostics_topic: str = Field(default="diagnostics", description="ROS diagnostics topic name")
117
+ use_gpu: bool = Field(
118
+ default=False, description="Whether to use the GPU for camera processing or not"
119
+ )
117
120
  cert_path: Optional[str] = Field(None, description="SSL certificate path for HTTPS signalling")
118
121
  cert_password: Optional[str] = Field(None, description="SSL certificate password")
119
122
  is_live: bool = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: greenstream_config
3
- Version: 4.1.1
3
+ Version: 4.2.0
4
4
  Summary: A library for reading / writing Greenstream config files
5
5
  Home-page: https://github.com/Greenroom-Robotics/greenstream
6
6
  Author: Greenroom Robotics
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = greenstream_config
3
- version = 4.1.1
3
+ version = 4.2.0
4
4
  url = https://github.com/Greenroom-Robotics/greenstream
5
5
  author = Greenroom Robotics
6
6
  author_email = team@greenroomrobotics.com