From efd9485558aeb204d65bba1406c238de231875d6 Mon Sep 17 00:00:00 2001 From: Eran Date: Tue, 26 Dec 2023 08:52:32 +0200 Subject: [PATCH] fixes in realdds/scripts --- third-party/realdds/scripts/devices.py | 2 ++ third-party/realdds/scripts/fps.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/third-party/realdds/scripts/devices.py b/third-party/realdds/scripts/devices.py index 5870a18f67..58e1215303 100644 --- a/third-party/realdds/scripts/devices.py +++ b/third-party/realdds/scripts/devices.py @@ -35,6 +35,8 @@ def e( *a, **kw ): dds.debug( args.debug ) +settings = {} + participant = dds.participant() participant.init( dds.load_rs_settings( settings ), args.domain ) diff --git a/third-party/realdds/scripts/fps.py b/third-party/realdds/scripts/fps.py index 36e8f9577d..d91bf79793 100644 --- a/third-party/realdds/scripts/fps.py +++ b/third-party/realdds/scripts/fps.py @@ -53,7 +53,7 @@ def e( *a, **kw ): # Create the device and initialize # The server must be up and running, or the init will time out! -device = dds.device( participant, participant.create_guid(), info ) +device = dds.device( participant, info ) try: i( 'Looking for device at', info.topic_root, '...' ) device.wait_until_ready() # If unavailable before timeout, this throws