Main Content

readMotionStatus

Get current motion status of the robot

Since R2024a

Description

example

[result,state] = readMotionStatus(ur) returns the status of robot motion.

Examples

collapse all

Connect to a physical or simulated cobot, using urRTDEClient object.

ur = urRTDEClient('172.19.98.176');

Get the current motion status of the cobot.

[result,state] = readMotionStatus(ur);

Input Arguments

collapse all

Connection to physical or simulated cobot from Universal Robots, specified as a urRTDEClient object.

Output Arguments

collapse all

Motion status of simulated cobot from Universal Robots, specified as a logical scalar. result is 1 if state is succeeded.

Data Types: logical

Final goal state of the simulated cobot, returned as one of the following:

  • 'Succeeded' — Goal executed successfully.

  • 'Executing' — Goal currently being executed on the cobot.

  • 'Not executing' — Goal is yet to be received by the controller.

Data Types: char

Version History

Introduced in R2024a

See Also