librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

DDS disabled by default; query_devices() wait for DDS; revise & add DDS CLI

Open maloel opened this issue 1 year ago • 0 comments

I need to update the installer so the examples are still compilable, but this is a start -- please check.

  • DDS is now disabled by default, even with BUILD_WITH_DDS
  • if rs-dds-config detects a DDS device, it will enable DDS in realsense-config.json
  • query_devices() will now wait on its first invocation per domain
  • wait time can be controlled in the config, via dds/query-wait-time (default=5 seconds)
  • added common/cli.h which revisits the CLI via rs2::cli
    • various variations exist, including cli_no_context, cli_no_dds
    • --eth to force DDS enabled (even if disabled in config)
    • --no-eth to force DDS disabled (even if enabled in config)
    • --eth-only to enable only SW devices (what used to be --sw-only
    • removed --sw-only
  • examples and tools have been updated
    • this means they now depend on cli.h which also depends on rsutils
    • both the above are not currently installed, so that has to change

Tracked on [RSDEV-2450]

maloel avatar Aug 27 '24 05:08 maloel