Python scripting uploader - Objects

ULPythonPosition, derived from DULPythonPosition

Previous  Chapter  Next

 

Methods

 

SetMotion(motion: object)

 

o

motion

Motion to be set, an object of type ULPythonMotion

 

Set the motion for the current position.


 

SetXYZ(position: tuple)

 

o

position

A tuple of three doubles representing (x, y, z) coordinates in meters.

 

Set the position's coordinates.

 

[Example]

   position.SetXYZ((-0.01, 2.2, 3))

 


 

SetOrientation(orientation: tuple)

 

 

o

orientation

A tuple of three double representing rotation angles (Rx, Ry Rz) values in degrees.

 

Sets the orientation.

 


 

SetConfig(config: string)

 

 

o

config

config string

 

Sets position config.

 


 

SetTurn(turn: string)

 

 

o

turn

turn value string

 

Sets string turn value.

 


 

SetProcessType(processType: int)

 

 

o

processType

process type to be set, int value mapped to ProcessType enum

 

Sets process type.

 


SetExplicitMainJointValues(jointValues: list)

 

 

o

jointValues

joint values to be set, input argument is a vector of tuples : the joint object and its value, list[tuple[DULPythonJoint, float]]

 

Set explicit main joint values on each joint.

 


 

SetExplicitExternalJointValues(jointValues: list)

 

 

o

jointValues

joint values to be set, input argument is a vector of tuples : the joint object and its value, list[tuple[DULPythonJoint, float]]

 

Set explicit external joint values on each joint.

 


 


Previous
Previous page
Chapter
Chapter page
Next
Next page