Z probing movements all implemented, but Z values not yet recorded.
This commit is contained in:
parent
d525597ebb
commit
bb89947e12
4 changed files with 1956 additions and 1925 deletions
13
Move.cpp
13
Move.cpp
|
@ -549,6 +549,19 @@ void Move::InverseTransform(float move[])
|
||||||
move[2] = move[2] - (aX*move[0] + aY*move[1] + aC);
|
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
|
// FIXME
|
||||||
// This function is never normally called. It is a test to time
|
// This function is never normally called. It is a test to time
|
||||||
|
|
2
Move.h
2
Move.h
|
@ -338,7 +338,7 @@ inline void Move::HitLowStop(int8_t drive, LookAhead* la)
|
||||||
{
|
{
|
||||||
if(drive = Z_AXIS)
|
if(drive = Z_AXIS)
|
||||||
{
|
{
|
||||||
//lastZHit = xxx;
|
lastZHit = 0.0;
|
||||||
}
|
}
|
||||||
la->SetDriveZeroEndSpeed(0.0, drive);
|
la->SetDriveZeroEndSpeed(0.0, drive);
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Reference in a new issue