diff --git a/rq_hardware/echo/echo_hardware_service.py b/rq_hardware/echo/echo_hardware_service.py index c553b7f69dcfa394e603c8d6b9378f937e87bd54..faa9e7bd98a99ea874aa80c2b58bbde25bf9fd73 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 11a1607453b1636538619fccc7c44a7d14f5d1ee..801e2cc62a088bfdeb715f417df2c9e77fe2555e 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' ], },