Ejemplo n.º 1
0
  @Override
  public void homeAxes(EnumSet<AxisId> axes, boolean positive, double feedrate)
      throws RetryException {
    Base.logger.info("homing " + axes.toString());
    StringBuffer buf = new StringBuffer("G28");
    for (AxisId axis : axes) {
      buf.append(" " + axis + "0");
    }
    sendCommand(buf.toString());

    invalidatePosition();
    super.homeAxes(axes, false, 0);
  }