Using the EzROS Command Line Tool

For first-time use, you can quickly learn about the functions of ezros through the following commands.

ezros -h
# 或者 ezros --help

The terminal prints the following information:

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

EzROS CLI - 简单的网络工具

positional arguments:
  {service,topic}       命令
    service             调用服务
    topic               监听话题

optional arguments:
  -h, --help            show this help message and exit
  -d DOMAIN_ID, --domain-id DOMAIN_ID
                        DDS域ID
  -q, --quiet           静默模式
  -a, --all             显示所有节点信息
  -t TIMEOUT, --timeout TIMEOUT
                        扫描超时时间(秒),默认2秒
  -f FILTER, --filter FILTER
                        过滤包含指定字符串的节点名,默认匹配所有节点

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