EgtMachKernel :
- corretta gestione pausa per collisione quando a fine movimento.
This commit is contained in:
@@ -1017,6 +1017,11 @@ Simulator::ManageSingleMove( int& nStatus, double& dMove)
|
||||
int nErr ;
|
||||
if ( ! OnMove( nErr)) {
|
||||
nStatus = ( Stopped() ? MCH_SIM_STOP : ( nErr == 1 ? MCH_SIM_COLLISION : MCH_SIM_ERR)) ;
|
||||
// Se arrivato a fine interpolazione movimento, salvo posizioni
|
||||
if ( m_dCoeff > COEFF_LIM && m_bEnabAxes) {
|
||||
for ( size_t i = 0 ; i < m_AxesName.size() ; ++ i)
|
||||
m_AxesVal[i] = AxesEnd[i] ;
|
||||
}
|
||||
return false ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user