EgtMachKernel 1.6n10 :

- modifiche per consentire adattamento della geometria macchina alla descrizione cinematica.
This commit is contained in:
Dario Sassi
2016-03-02 10:52:09 +00:00
parent 289aa0a2b4
commit b8b7f42c34
4 changed files with 38 additions and 8 deletions
+10
View File
@@ -163,6 +163,12 @@ Machine::LuaEmtGeneral( lua_State* L)
// lettura eventuale campo 'Processor' dalla tabella
string sProcessor ;
LuaGetTabFieldParam( L, 1, "Processor", sProcessor) ;
// lettura eventuale campo 'AxisMaxAdjust' dalla tabella (default EPS_SMALL)
double dAxisMaxAdjust = EPS_SMALL ;
LuaGetTabFieldParam( L, 1, "AxisMaxAdjust", dAxisMaxAdjust) ;
// lettura eventuale campo 'ExitMaxAdjust' dalla tabella (default EPS_SMALL)
double dExitMaxAdjust = EPS_SMALL ;
LuaGetTabFieldParam( L, 1, "ExitMaxAdjust", dExitMaxAdjust) ;
LuaClearStack( L) ;
// info
@@ -190,6 +196,10 @@ Machine::LuaEmtGeneral( lua_State* L)
LOG_INFO( GetEMkLogger(), " Processor file not specified")
}
// imposto massimo spostamento assi e uscite tra definizione cinematica e geometria
m_pMchLua->m_dAxisMaxAdjust = dAxisMaxAdjust ;
m_pMchLua->m_dExitMaxAdjust = dExitMaxAdjust ;
return 0 ;
}