EgtMachKernel 1.6l1 :
- in simulazione ora ritorno stato di fine step di movimento.
This commit is contained in:
+7
-4
@@ -172,11 +172,14 @@ Simulator::Move( int& nStatus)
|
||||
m_pMchMgr->SetAxisPos( m_AxesName[i], dVal) ;
|
||||
}
|
||||
|
||||
// Se arrivato a fine interpolazione movimento, salvo posizioni
|
||||
if ( m_dCoeff > 0.999)
|
||||
// Se arrivato a fine interpolazione movimento, salvo posizioni e segnalo
|
||||
if ( m_dCoeff > 0.999) {
|
||||
m_AxesVal = AxesEnd ;
|
||||
|
||||
nStatus = MCH_SIM_OK ;
|
||||
nStatus = MCH_SIM_END_STEP ;
|
||||
}
|
||||
// Altrimenti sto muovendomi in uno step
|
||||
else
|
||||
nStatus = MCH_SIM_OK ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user