@@ -319,7 +319,7 @@ public void onConnect(BowlerAbstractDevice source) {
319319 && linkNode .getNodeName ().contentEquals ("ZframeToRAS" )) {
320320 Element eElement = (Element ) linkNode ;
321321 try {
322- setZframeToGlobalTransform (new TransformNR (
322+ setGlobalToFiducialTransform (new TransformNR (
323323 Double .parseDouble (XmlFactory .getTagValue ("x" , eElement )),
324324 Double .parseDouble (XmlFactory .getTagValue ("y" , eElement )),
325325 Double .parseDouble (XmlFactory .getTagValue ("z" , eElement )),
@@ -329,13 +329,13 @@ public void onConnect(BowlerAbstractDevice source) {
329329 Double .parseDouble (XmlFactory .getTagValue ("rotz" , eElement )) })));
330330 } catch (Exception ex ) {
331331 ex .printStackTrace ();
332- setZframeToGlobalTransform (new TransformNR ());
332+ setGlobalToFiducialTransform (new TransformNR ());
333333 }
334334 } else if (linkNode .getNodeType () == Node .ELEMENT_NODE
335335 && linkNode .getNodeName ().contentEquals ("baseToZframe" )) {
336336 Element eElement = (Element ) linkNode ;
337337 try {
338- setBaseToZframeTransform (new TransformNR (Double .parseDouble (XmlFactory .getTagValue ("x" , eElement )),
338+ setRobotToFiducialTransform (new TransformNR (Double .parseDouble (XmlFactory .getTagValue ("x" , eElement )),
339339 Double .parseDouble (XmlFactory .getTagValue ("y" , eElement )),
340340 Double .parseDouble (XmlFactory .getTagValue ("z" , eElement )),
341341 new RotationNR (new double [] { Double .parseDouble (XmlFactory .getTagValue ("rotw" , eElement )),
@@ -344,7 +344,7 @@ public void onConnect(BowlerAbstractDevice source) {
344344 Double .parseDouble (XmlFactory .getTagValue ("rotz" , eElement )) })));
345345 } catch (Exception ex ) {
346346 ex .printStackTrace ();
347- setBaseToZframeTransform (new TransformNR ());
347+ setRobotToFiducialTransform (new TransformNR ());
348348 }
349349 } else {
350350 // System.err.println(linkNode.getNodeName());
@@ -902,15 +902,15 @@ public TransformNR getFiducialToGlobalTransform() {
902902 return fiducial2RAS ;
903903 }
904904
905- /**
906- * Sets the base to zframe transform.
907- *
908- * @param baseToFiducial the new base to zframe transform
909- */
910- @ Deprecated
911- public void setBaseToZframeTransform (TransformNR baseToFiducial ) {
912- setRobotToFiducialTransform (baseToFiducial );
913- }
905+ // /**
906+ // * Sets the base to zframe transform.
907+ // *
908+ // * @param baseToFiducial the new base to zframe transform
909+ // */
910+ // @Deprecated
911+ // public void setBaseToZframeTransform(TransformNR baseToFiducial) {
912+ // setRobotToFiducialTransform(baseToFiducial);
913+ // }
914914 public void setRobotToFiducialTransform (TransformNR baseToFiducial ) {
915915 if (baseToFiducial == null ) {
916916 Log .error ("Fiducial can not be null " + baseToFiducial );
@@ -925,15 +925,15 @@ public void setRobotToFiducialTransform(TransformNR baseToFiducial) {
925925
926926 runRenderWrangler ();
927927 }
928- /**
929- * Sets the zframe to global transform.
930- *
931- * @param fiducialToRAS the new zframe to global transform
932- */
933- @ Deprecated
934- private void setZframeToGlobalTransform (TransformNR fiducialToRAS ) {
935- setGlobalToFiducialTransform (fiducialToRAS );
936- }
928+ // /**
929+ // * Sets the zframe to global transform.
930+ // *
931+ // * @param fiducialToRAS the new zframe to global transform
932+ // */
933+ // @Deprecated
934+ // private void setZframeToGlobalTransform(TransformNR fiducialToRAS) {
935+ // setGlobalToFiducialTransform(fiducialToRAS);
936+ // }
937937
938938 /**
939939 * Gets the robot to fiducial transform.
0 commit comments