function compute(info) {
// See Activity.Info in the documentation for available information.
if(info.currentSpeed == null)
{
return 0.0;
}
spd = info.currentSpeed*3.6; // m/s => km/h
}
Then set up a screen with MySpeed and built in Speed data fields, then MySpeed will lag by 1 second (screen/speed/gps update rate).
e.g.
MySpeed display Built in Speed
0.0 0.0
0.0 5.0
5.0 6.0
6.0 8.5
8.5 0.0
0.0 0.0
Why? This surely must be a bug?
Btw: This is with a Fenix3, don't know if it is the same with other devices?