A time-based analysis of road user behaviour in normal and critical encounters