ping_robot
Verify robot connectivity by pinging its IP address and checking if a specified port is open. Identify potential ROSbridge issues if the IP responds but the port does not.
Instructions
Ping a robot's IP address and check if a specific port is open. A successful ping to the IP but not the port can indicate that ROSbridge is not running. Example: ping_robot(ip='192.168.1.100', port=9090)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ip | Yes | ||
ping_timeout | No | ||
port | Yes | ||
port_timeout | No |
Input Schema (JSON Schema)
{
"properties": {
"ip": {
"title": "Ip",
"type": "string"
},
"ping_timeout": {
"default": 2,
"title": "Ping Timeout",
"type": "number"
},
"port": {
"title": "Port",
"type": "integer"
},
"port_timeout": {
"default": 2,
"title": "Port Timeout",
"type": "number"
}
},
"required": [
"ip",
"port"
],
"title": "ping_robotArguments",
"type": "object"
}