readMotionStatus
Description
Examples
Obtain Current Motion Status from Cobot
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
ur
— Connection to Universal Robots cobot
object
Connection to physical or simulated cobot from Universal Robots, specified as a
urRTDEClient
object.
Output Arguments
result
— Motion status of Universal Robots cobot
logical scalar |
1
|
0
Motion status of simulated cobot from Universal Robots, specified as a logical
scalar. result
is 1
if
state
is succeeded
.
Data Types: logical
state
— Final goal state
character vector
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
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)