Temporary fixed timestep code.
Sensor flag