Skip to content

Commit ccdb403

Browse files
committed
adding the heater tools to the linkfactory #26
1 parent fa98612 commit ccdb403

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/neuronrobotics/sdk/addons/kinematics/LinkFactory.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ private AbstractLink getLinkLocal(LinkConfiguration c){
221221
tmp=new CameraLink(c,img);
222222
break;
223223
case GCODE_HEATER_TOOL:
224+
if(getGCODE(c)!=null){
225+
tmp = getGCODE(c).getHeater(c);
226+
}
224227
break;
225228
case GCODE_STEPPER_PRISMATIC:
226229
case GCODE_STEPPER_ROTORY:

0 commit comments

Comments
 (0)