ftsrg / BME-MODES3

Model-based Demonstrator for Smart and Safe Systems
https://inf.mit.bme.hu/research/projects/modes3
16 stars 8 forks source link

Weird bug with train occupancy #103

Open benedekh opened 6 years ago

benedekh commented 6 years ago

If the train is partially on a new segment (partially = only one of the first wheels is on the first segment, so it is already sensible) and we disable this segment, then the train seems to be gone. So the occupancy will be free.

The bug is reproducible both by the Dashboard (website) and the Touchboard.

Duing some analysis it looks like the bug might be in the DCC decoder of the trains (both DigiTools decoders and Lens decoders are affected). Maybe there is a significant voltage drop so that the trains cannot be sensed anymore. Or probably the occupancy sensor hardware (DigiSens-8-S88) is the cause of the bug.