Skip to content

Commit 8feeaef

Browse files
committed
set the limb root to copy
1 parent 781dbf9 commit 8feeaef

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/com/neuronrobotics/bowlerstudio/creature/MobileBaseBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ public MobileBase build() throws Exception {
411411
if(mobileBase.getLimbByName(limb.getName())==null) {
412412
TransformNR location = limb.getLocation();
413413
DHParameterKinematics kin = limb.getLimb().getLimb(limb.getName());
414-
kin.setRobotToFiducialTransform(location);
414+
kin.setRobotToFiducialTransform(location.copy());
415415
//TODO add the channel mapping here
416416
kin.connect();
417417
kin.zero();
@@ -441,7 +441,9 @@ public MobileBase build() throws Exception {
441441
DHParameterKinematics kin=mod.getLimb();
442442
if(kin==null)
443443
continue;
444-
kin.setRobotToFiducialTransform(mod.getBase());
444+
TransformNR base = mod.getBase();
445+
System.out.println("Base set to "+base);
446+
kin.setRobotToFiducialTransform(base);
445447
kin.setDesiredTaskSpaceTransform(mod.getTip(), 0);
446448
}
447449
getCadManager().render();

0 commit comments

Comments
 (0)