A heading event is simply the compass orientation toward magnetic north with the top of the current UI orientation being at 0 degrees.
Like locate events, the tracking the heading requires extra resources so it must be manual started by the scene after it is loaded by sending messages to the internal #pdparty receiver:
#pdparty heading value: heading service run control
#pdparty heading filter degrees: the minimum amount of change in degrees required before a heading event is generated (default 1), a value of 0 indicates no filtering, negative values are clipped to 0
Note: Heading events are only available in PdParty & Patch scene types. Events work best on devices with a digital compass (phones) and may not work on some devices at all.
[r #heading] degreesaccuracytimestamp: orientation toward magnetic north with the top of UI at 0 degrees
degrees: heading toward magnetic north -> 0 N, 90 S, 180 S, 270 E
accuracy: +/- accuracy deviation of the heading value in degrees, a negative vale is invalid (device is not calibrated, etc)
Heading (Compass) Control
Heading test PdParty scene
A heading event is simply the compass orientation toward magnetic north with the top of the current UI orientation being at 0 degrees.
Like locate events, the tracking the heading requires extra resources so it must be manual started by the scene after it is loaded by sending messages to the internal #pdparty receiver:
Note: Heading events are only available in PdParty & Patch scene types. Events work best on devices with a digital compass (phones) and may not work on some devices at all.