Debugging leveling offset problem

This commit is contained in:
Lars Brubaker 2019-03-11 15:57:20 -07:00
parent 2d377cfd55
commit fb9cda684e
6 changed files with 8 additions and 5 deletions

View file

@ -138,6 +138,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
}
else
{
this._lastDestination.CopyKnowSettings(position);
internalStream.SetPrinterPosition(position);
}
}

View file

@ -116,7 +116,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
return left;
}
public override string ToString() => $"{position} E{extrusion} F{feedRate}";
public override string ToString() => $"{position} E{extrusion:0.###} F{feedRate:0.###}";
public void CopyKnowSettings(PrinterMove copyFrom)
{

View file

@ -2338,6 +2338,10 @@ You will then need to logout and log back in to the computer for the changes to
// heat and wait will allow a long wait time for ok
return 60;
}
else if(lastInstruction.StartsWith("G28"))
{
return 30;
}
// any other move we allow up to 10 seconds for response
return 10 * timeMultiple;

@ -1 +1 @@
Subproject commit 62121a3cdc03268198a1869c84321697bc19f71e
Subproject commit c2e5938efa974a96a04408336b30e0df99077bf8

@ -1 +1 @@
Subproject commit e70e1bd1e90049b88dd87fb9ead81614b684f246
Subproject commit 5c306a40adc917f3ab6939233d0e170748c48ff5

View file

@ -49,8 +49,6 @@ namespace MatterControl.Tests.MatterControl
AggContext.StaticData = new FileSystemStaticData(TestContext.CurrentContext.ResolveProjectPath(4, "StaticData"));
MatterControlUtilities.OverrideAppDataLocation(TestContext.CurrentContext.ResolveProjectPath(4));
var printerSettings = new PrinterSettings();
printerSettings.SetValue(SettingsKey.z_probe_z_offset, "0");