Loading
refactor: compute stateless static gt only on chunks change
This change optimizes SensorViewBuilder::Step(...) by removing the computation of the "stateless" part of the StaticGroundTruth when World Chunks don't change between Steps (instead of computing it on every Step).
The part of the StaticGroundTruth that is "stateful" (like traffic lights) can change value on every Step, even when the World Chunks don't change between Steps, so it is still computed on every step.
In this change we are considering the "stateful" part of the StaticGroundTruth to be all StationaryObjects (which include traffic lights).
Edited by João Delgado