EgtMachKernel 2.7h1 :
- in simulazione corretta segnalazione extracorsa per robot - aggiunta gestione suggerimento angoli iniziali come home con comando "Home".
This commit is contained in:
+11
-5
@@ -1111,11 +1111,17 @@ SimulatorMP::ManageSingleMove( int& nStatus, double& dMove)
|
||||
break ;
|
||||
case CamData::AS_OUTSTROKE : {
|
||||
DBLVECTOR OutAxes = pCamData->GetAxesVal() ;
|
||||
for ( size_t i = OutAxes.size() ; i < 5 ; ++ i)
|
||||
OutAxes.emplace_back( 0) ;
|
||||
DBLVECTOR vAng( OutAxes.begin() + 3, OutAxes.end()) ;
|
||||
int nStat ;
|
||||
m_pMachine->VerifyOutstroke( OutAxes[0], OutAxes[1], OutAxes[2], vAng, true, nStat) ;
|
||||
if ( ! m_pMchMgr->GetCurrIsRobot()) {
|
||||
for ( size_t i = OutAxes.size() ; i < 5 ; ++ i)
|
||||
OutAxes.emplace_back( 0) ;
|
||||
DBLVECTOR vAng( OutAxes.begin() + 3, OutAxes.end()) ;
|
||||
int nStat ;
|
||||
m_pMachine->VerifyOutstroke( OutAxes[0], OutAxes[1], OutAxes[2], vAng, true, nStat) ;
|
||||
}
|
||||
else {
|
||||
int nStat ;
|
||||
m_pMachine->VerifyOutstroke( 0, 0, 0, OutAxes, true, nStat) ;
|
||||
}
|
||||
nStatus = MCH_SIM_OUTSTROKE ;
|
||||
return false ; }
|
||||
case CamData::AS_DIR_ERR :
|
||||
|
||||
Reference in New Issue
Block a user