From 9e1a95b55ff2898410e3c39a844590041640b01a Mon Sep 17 00:00:00 2001
From: swittl <simon.wittl@th-deg.de>
Date: Mon, 15 Jul 2024 11:05:37 +0200
Subject: [PATCH] echo update

---
 rq_hardware/echo/echo_hardware_service.py | 4 ++--
 setup.py                                  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/rq_hardware/echo/echo_hardware_service.py b/rq_hardware/echo/echo_hardware_service.py
index c553b7f..faa9e7b 100644
--- a/rq_hardware/echo/echo_hardware_service.py
+++ b/rq_hardware/echo/echo_hardware_service.py
@@ -33,8 +33,8 @@ class EchoHardwareService(BaseHardwareInterfaceService):
         :param response: The service response to be filled with the acquired projection.
         :return: The updated service response with the projection image.
         """
-        projection = PyProjection.from_message(request.scan_pose)
-        response.projection = projection
+        response.projection = request.scan_pose
+        response.projection.exposure_time_ms += 1
 
         return response
     
diff --git a/setup.py b/setup.py
index 11a1607..801e2cc 100644
--- a/setup.py
+++ b/setup.py
@@ -20,9 +20,9 @@ setup(
     tests_require=['pytest'],
     entry_points={
         'console_scripts': [
-            'service_echo = rq_hardware.echo.echo_hardware_service:main',
-            'service_artist = rq_hardware.artist.artist_hardware_service:main',
-            'service_thd_roboct = rq_hardware.thd_roboct.thd_roboct_service:main',
+            'echo_service = rq_hardware.echo.echo_hardware_service:main',
+            'artist_service = rq_hardware.artist.artist_hardware_service:main',
+            'thd_roboct_service = rq_hardware.thd_roboct.thd_roboct_service:main',
             'client = rq_hardware.hardware_client:main'
         ],
     },
-- 
GitLab