Speed & direction info?
Moderator: Martin
Speed & direction info?
Is it possible to obtain heading and/or speed information? I tried searching the forums & for a plug in?
-
- Posts: 179
- Joined: 16 Oct 2019 17:38
Re: Speed & direction info?
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}";
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}";
Crude but it works.
Re: Speed & direction info?
Thought there was a way to get compass heading. At low speed, the GPS bearing seems unreliable.
Thanks.
Thanks.
-
- Posts: 179
- Joined: 16 Oct 2019 17:38
Re: Speed & direction info?
Trigger COMPASS might be the answer.
I've never used it.
I've never used it.
Crude but it works.
Re: Speed & direction info?
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...
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...
-
- Posts: 179
- Joined: 16 Oct 2019 17:38
Re: Speed & direction info?
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. "
"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. "
Crude but it works.