Thread: [Fremantle Maemo5+Harmattan Maemo6] [Announce] gpscon gps position cli shell console
View Single Post
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#14
In addition to the above, I get strange results like:
Code:
[nemo@Dinghy ~]$ gpscon
Latitude: 51.6126; Longitude: -0.730567; Altitude: nan
Latitude: 51.6126; Longitude: -0.730567; Altitude: nan
Latitude: 51.6126; Longitude: -0.730567; Altitude: nan
Latitude: 51.6126; Longitude: -0.730564; Altitude: nan
^C
[nemo@Dinghy ~]$ gpscon runs=1
Latitude: 51.6126; Longitude: -0.730567; Altitude: nan
[nemo@Dinghy ~]$
How can I explain the last run (with runs=1)? Why is it different than the last line of the previous run?
I would expect...
  1. The coordinates are updated. But then each run should print updated values. This is not the case, the values stay the same with runs=1 when I move.
  2. The coordinates are not updated. But then the values should match the last line of the previous run.

Moreover... I open two terminal windows, one with gpscon running permanently (I see the values changing in the last digit). In the other, I run gpscon runs=1 manually from time to time. I expect the manual run reflect the current values from the window with gpscon running permanently, but it is always the same.

What is going on?
(Experiments run on Sailfish if that makes a difference.)
__________________
Русский военный корабль, иди нахуй!