Page 1 of 1
Speed & direction info?
Posted: 19 Nov 2019 04:24
by jassing
Is it possible to obtain heading and/or speed information? I tried searching the forums & for a plug in?
Re: Speed & direction info?
Posted: 20 Nov 2019 19:48
by Micky Micky
Action: Init variable location
location_bearing
the direction of travel in degrees East of true North when available (not available on all devices)
location_speed
the speed of travel in meters per second when available (not available on all devices)
mph = "{(location_speed*2.237),numberformat,0}";
Re: Speed & direction info?
Posted: 24 Nov 2019 03:26
by jassing
Thought there was a way to get compass heading. At low speed, the GPS bearing seems unreliable.
Thanks.
Re: Speed & direction info?
Posted: 16 Dec 2019 10:49
by Micky Micky
Trigger COMPASS might be the answer.
I've never used it.
Re: Speed & direction info?
Posted: 16 Dec 2019 13:57
by jassing
Problems....
1 I don't need a trigger, there is no access to a compass in code, only a trigger
2 on my device, the trigger doesn't fire... Until I launch some other compass app...
Re: Speed & direction info?
Posted: 16 Dec 2019 15:11
by Micky Micky
Action: Init variables device orientation
"Compass functionality in phones and tablets is enabled by something a bit more sophisticated – a sensor called a magnetometer, which is used to measure the strength and direction of magnetic fields. By analyzing Earth's magnetic field, the sensor allows a phone to determine its orientation pretty accurately. "