Is there a problem with average speed in the sim?

Hi,

average speed is always null in my datafield and I could swear that this worked a couple of days ago. But I am not sure.

Here is my code in compute(info):

 

    	System.println("Av Speed is: " + info.averageSpeed );
    	if (info has :averageSpeed) { // The current speed in meters per second (mps).
        	if (info.averageSpeed != null) {
           		averageSpeedValue = info.averageSpeed;
        	}
    	} 
    	System.println(averageSpeedValue);   	

And the debug messages looks every second like this:

Av Speed is: null
0

It doesn't matter if I generate random fit values or playing back a real fit file. Anything to do here?