Pose is an object type embedded in the Hi6 Controller and represents each axis of the robot or the Cartesian coordinates and direction of the tool tip.
Poses are created by calling the constructor function Pose( ). All function parameters are position parameters. Meanwhile, crd and cfg are string types, and the rest are number types.
var <pose variable name>=Pose(j1, j2, j3, …)# axis coordinatevar <pose variable name>=Pose(x, y, z, rx, ry, rz, j7, j8,…, crd, cfg)# base coordinate
Refer to the following examples of creating the poses for 6 axes + 1 additional axis and for Cartesian + 1 additional axis.
var po1 =Pose(10,90,0,0,-30,0,-1240.8)# axis coordinatevar po2 =Pose(1850,0,2010.5,0,-90,0,-1240.8,"base","fl;r2")# base coordinate
Alternatively, the pose constructor function may be called using a single array or string parameter. With this, files or data may be converted into poses, acquired through remote communication, and used.
var <pose variable name>=Pose(array)var <pose variable name>=Pose(string)