Skip to content

connected

Runs in the client Sends nothing to the robot

Whether the client is connected to the robot. It is True from connect() until disconnect(), or until the connection is lost: the robot software closed it, or the network failed. It reads the client's own state and asks the robot nothing. A network that fails silently is noticed within about 11 s (the connection's keepalive probes); until then commands raise RobotTimeout.

Syntax

robot.connected

Value

bool

Examples

robot.connected

See also