Difference between revisions of "MC-Basic:TOCART"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= <''location_variable''>=ToCart ''(<Robot>, <joint>)'' |AVAILABILITY= Versions 3.7.x and higher |DESCRIPTION= Converts a joint point to a loca…') |
m |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:TOCART}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 7: | Line 8: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
− | + | Since Version 3.7.x | |
|DESCRIPTION= | |DESCRIPTION= | ||
Line 50: | Line 51: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:TOJOINT|TOJOINT]] |
+ | [[Category:MC-Basic:Points Handling|TOCART]] | ||
}} | }} |
Latest revision as of 09:34, 2 May 2017
Language: | English • 中文(简体) |
---|
Converts a joint point to a location point The Direct Kinematics function implementation. Input parameters:
<Robot> = name of the group for which the direct kinematics is computed, when a WITH command is executed, this argument is not needed (the comma can also be omitted).
<joint> = joint coordinates of the point to be translated into Cartesian coordinates. The type of the joint variable must be compatible with the robot type.
User: Application developer
Return value: Location point
Syntax
<location_variable>=ToCart (<Robot>, <joint>)
Availability
Since Version 3.7.x
Scope
Task,Terminal
Limitations
Not in Configuration context
The location variable and the joint parameter must have a group type identical to the group parameter, or have the same number of coordinates.
Errors: N/A
Examples
? ToCart (G1, {1,2,3})
? ToCart (G1, G1.Pfb)
L1 = ToCart (SCARA, J1)