Ask Your Question

Revision history [back]

From the rosnode ping --help output (also on the wiki page of rosnode (wiki/rosnode: ping)):

Usage: rosnode ping [options] <node>

  -h, --help  show this help message and exit
  -a, --all   ping all nodes
  -c COUNT    number of pings to send. Not available with --all

So this should do what you ask:

rosnode ping -c 1 <name of node>