ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hey @blackbird
Reading through the documentation link you provided, it seems rosnode.rosnode_ping
can take max_count
. So for example If you set max_count=5
, the rosnode.rosnode_ping("/my_node_name", max_count=5)
will exit after 5 pings and return True
. If you don't mention any max_count
, it will continue until stopped ctrcl+c
. You can also set verbose=True to see the ping time.
2 | No.2 Revision |
Hey @blackbird
Reading through the documentation link you provided, it seems rosnode.rosnode_ping
can take max_count
. So for example If you set max_count=5
, the rosnode.rosnode_ping("/my_node_name", max_count=5)
will exit after 5 pings and return True
. If you don't mention any max_count
, it will continue until stopped
. You can also set verbose=True to see the ping time.ctrcl+cctrl+c