This commit is contained in:
2019-01-18 12:00:18 +01:00
parent f32f7723bf
commit d19ea28d23
3 changed files with 41 additions and 3 deletions

View File

@@ -147,7 +147,8 @@ void trigsim_func(void *arg)
rt_task_sleep_until(rtSlice+5*1E6); //in ns
pshm->P[1]=0;
if(pshm->Coord[1].Q[0]==-10)
//if(pshm->Coord[1].Q[0]==-10)
if(pshm->Coord[1].DesTimeBase==0)
{
rt_task_sleep_until(rtSlice+10*1E6); //in ns
pshm->P[0]=1;