Collision avoidance dynamics among heterogeneous agents: The case of pedestrian/vehicle interactions