I am trying to come to grips with the GPS Start function.
As I understand it, a command like
will result in the GPS_LocationChanged event to be called every 5 seconds OR when the position has changed by 10 meter, whichever one occurs first.
Is this correct?
Just looking at the data captured during GPS_LocationChanged event does not appear that the above is actually happening - have not had time to analyze the data yet, but it does not seem right (i.e. if I stand still, the event is not raised every 5 seconds, and if I move fast, the event is not raised every 10 m).
The values in GPS1.Start does not seem to have any influence on the GPS_GpsStatus event. it seems to be called at "maximum frequency" regardless of the settings in GPS.Start. Is this correct?
If I set
Will the GPS_LocationChanged event be called with any movement deteced?
I am trying to set up a little program to record the locations every 5 seconds, regardless of the distance difference, and another one to record the coordinates every 50 meters of distance (e.g.) regardless of the time difference. Setting the non-critical value in GPS1.Start to 0 does not seem to work for me. How should I do this?
Thanks for any clarification on this.
As I understand it, a command like
B4X:
GPS1.Start(5000,10)
Is this correct?
Just looking at the data captured during GPS_LocationChanged event does not appear that the above is actually happening - have not had time to analyze the data yet, but it does not seem right (i.e. if I stand still, the event is not raised every 5 seconds, and if I move fast, the event is not raised every 10 m).
The values in GPS1.Start does not seem to have any influence on the GPS_GpsStatus event. it seems to be called at "maximum frequency" regardless of the settings in GPS.Start. Is this correct?
If I set
B4X:
GPS1.Start(5000,0)
I am trying to set up a little program to record the locations every 5 seconds, regardless of the distance difference, and another one to record the coordinates every 50 meters of distance (e.g.) regardless of the time difference. Setting the non-critical value in GPS1.Start to 0 does not seem to work for me. How should I do this?
Thanks for any clarification on this.