Critical headway estimation under uncertainty and non-ideal communication conditions