Queries¶
Requests with a reply, immediate, returning None when no reply arrives in the client's timeout (the TCP queries
raise instead, see Configuration). Status and waiting
in the guide.
ping¶
Return parsed ping result with hardware_connected status.
angles¶
Current joint angles in degrees [J1, J2, J3, J4, J5, J6].
pose¶
Current TCP pose as [x, y, z, rx, ry, rz] in mm and degrees.
joint_speeds¶
Current joint velocities in deg/s [J1, J2, J3, J4, J5, J6], the units of StatusBuffer.speeds.
tcp_speed¶
TCP linear velocity in mm/s.
io¶
Digital I/O status [in1, in2, out1, out2, estop].
timeout bounds setup, retries, and the reply; None uses client defaults.
status¶
Aggregate status snapshot (pose, angles, speeds, io, tool_status). Its tool_status is always a ToolStatus, key "NONE" when no tool is fitted.
activity¶
What the robot is currently doing.
Returns state (idle/executing/error), current command name, parameters, and error description if applicable.
queue¶
Queued command list.
error¶
Current error state, or None if no error.
reachable¶
Remaining freedom of movement per joint/axis before hitting limits.
is_estop_pressed¶
Check if E-stop is pressed. Returns True if pressed.
is_robot_stopped¶
Check if robot has stopped moving.
Prefer wait_command() for waiting on specific commands. This method polls raw joint speeds and is mainly useful for diagnostics or manual stopping logic.
| Parameter | Meaning |
|---|---|
threshold_speed |
Speed threshold in deg/s |
Returns: True if all joints below threshold
is_simulator¶
Query whether simulator mode is active.
tools¶
Current tool and available tools.
profile¶
Current motion profile name.
shapes¶
The collision world the controller is currently enforcing, by layer.
Readback truth for displays; re-query when StatusBuffer.scene_epoch changes. Returns None if the controller is unreachable.
execution_speed¶
Read fresh requested, applied, and retained execution scales.
status_rate¶
Current broadcast rate and the control rate it divides.
loop_stats¶
Fetch control-loop runtime metrics.
reset_loop_stats¶
Reset control-loop min/max metrics and overrun count.
Properties¶
host (property)¶
No docstring.
port (property)¶
No docstring.
robot (property)¶
The backend this client drives, built on first read when a bare client (what a user script constructs) supplied none.
tool (property)¶
Active bound tool. Raises if no tool has been set.
Comments
Found a mistake on this page? Edit it on GitHub · Report it · Get help · This page as Markdown · llms.txt · The whole manual as PDF