SCM does not detect highway exit poles

On frames where no TrafficCommand is received, entityData.trafficCommand was set to nullptr, dropping a previously valid command. Cache the last received TrafficCommand and point entityData.trafficCommand at the cache so downstream consumers keep a valid command across frames.

Edited by Rodrigo Canellas

Merge request reports

Loading
Loading