I'm using SDK 7.4.3, fr55 in the simulator in an app and I noticed that Position.altitude != Activity.Info.altitude.
Is this because pos is what the GPS detects and the activity altitude is from the barometer? Or a bug?
class MyApp extends App.AppBase {
function onStart(state as Dictionary?) as Void {
Position.enableLocationEvents(Position.LOCATION_CONTINUOUS, method(:onPosition));
}
function onPosition(info as Position.Info) as Void {
var ai = Activity.getActivityInfo();
System.println("pos.alt: " + info.altitude + ", act.alt: " + ai.altitude);
}
}
And I see:
pos.alt: 1235.495605, act.alt: 1263.935547 pos.alt: 1235.700806, act.alt: 1264.140747