fabiansch / esep_sortingmachine

0 stars 1 forks source link

check SLIDE_TIMERS #97

Closed fabiansch closed 6 years ago

fabiansch commented 6 years ago

In the moment TIMEFRAME_SLIDE_LEAVE gets triggered 500ms after switch_to_slide time that was captured in calibration. This should be increase to 2000ms because often the items need a long time to move into the slide.

TIMEFRAME_SLIDE_ENTER gets triggered 500 ms before switch_to_slide time which was captured during calibration. When during calibration the item moved slowly into slide, in production a more faster item will be recognized as not expected and afterwards TIMEFRAME_SLIDE_LEAVE triggers an error. So better set TIMEFRAME_SLIDE_ENTER timer to a fix time like 500ms.