Z probing movements all implemented, but Z values not yet recorded.

This commit is contained in:
Adrian Bowyer 2013-09-14 00:14:37 +01:00
parent d525597ebb
commit bb89947e12
4 changed files with 1956 additions and 1925 deletions

View file

@ -549,6 +549,19 @@ void Move::InverseTransform(float move[])
move[2] = move[2] - (aX*move[0] + aY*move[1] + aC);
}
void Move::SetProbedBedPlane()
{
float x, y, z;
for(int i = 0; i < NUMBER_OF_PROBE_POINTS; i++)
{
if(!reprap.GetGCodes()->GetProbeCoordinates(i, x, y, z))
platform->Message(HOST_MESSAGE, "Attempt to set bed plane when probing is incomplete!\n");
}
aX = 0.0;
aY = 0.0;
aC = 0.0;
}
// FIXME
// This function is never normally called. It is a test to time

2
Move.h
View file

@ -338,7 +338,7 @@ inline void Move::HitLowStop(int8_t drive, LookAhead* la)
{
if(drive = Z_AXIS)
{
//lastZHit = xxx;
lastZHit = 0.0;
}
la->SetDriveZeroEndSpeed(0.0, drive);
}

Binary file not shown.

File diff suppressed because it is too large Load diff