Re: what's the heading when the device is not moving?

We just need to pick a convention here. My vote is for "null" or "NaN"  
-- if you're not moving, then "heading" is undefined.
--Richard


On Nov 9, 2009, at 7:39 PM, Max Froumentin wrote:

> Should it be:
>
> - null (but then we don't differentiate between when the device  
> doesn't report heading values and when the device is still)
> - Compass direction (in which case we must change "direction of  
> travel" below
> - NaN
>
>
> From the specification
> [[
> The heading attribute denotes the direction of travel of the hosting  
> device and is specified in degrees counting clockwise relative to  
> the true north. If the implementation cannot provide heading  
> information, the value of this attribute must be null.
> ]]
>
> Max.
>

Received on Monday, 9 November 2009 15:42:16 UTC