Trajectory-based real-time traffic signal control using advanced sensor data