Skip to content

Commit

Permalink
fixes in realdds/scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Dec 26, 2023
1 parent 5710317 commit efd9485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions third-party/realdds/scripts/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 )

Expand Down
2 changes: 1 addition & 1 deletion third-party/realdds/scripts/fps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efd9485

Please sign in to comment.