Using the EzROS Command-Line Tool

For first-time use, you can quickly learn about ezros’s functions through the following command.

ezros -h
# or ezros --help

The terminal will print the following information:

usage: ezros [-h] [-d DOMAIN_ID] [-q] [-a] [-t TIMEOUT] [-f FILTER] {service,topic} ...

EzROS CLI - A simple network tool

positional arguments:
  {service,topic}       Commands
    service             Call a service
    topic               Listen to a topic

optional arguments:
  -h, --help            show this help message and exit
  -d DOMAIN_ID, --domain-id DOMAIN_ID
                        DDS domain ID
  -q, --quiet           Quiet mode
  -a, --all             Display all node information
  -t TIMEOUT, --timeout TIMEOUT
                        Scan timeout in seconds, default 2 seconds
  -f FILTER, --filter FILTER
                        Filter node names containing the specified string, default matches all nodes

For more detailed usage, please refer to the debugging commands in the EzROS directory: