Hi Alex,

Quote from Xcode GPX file template:

Optionally provide a time element for each waypoint. Xcode will interpolate 
movement at a rate of speed based on the time elapsed between each waypoint. If 
you do not provide a time element, then Xcode will use a fixed rate of speed.
Waypoints must be sorted by time in ascending order.

If you have a set of waypoints it seems it cycles through them at a “fixed rate 
of speed” which I reckon is 1Hz, so once per second. 
Or you can give the specific timing.

Hope that helps.

Daniel

> On 8 Oct 2015, at 07:45, Daniel Phillips <[email protected]> wrote:
> 
> Hi Alex,
> 
> In my experience the simulator will iterate through your GPX waypoints at a 
> frequency of 1 Hz. I don’t believe that this is adjustable. But I would love 
> to be proven wrong.
> 
> Daniel Phillips
> 
>> On 7 Oct 2015, at 16:23, Alex Zavatone <[email protected]> wrote:
>> 
>> Platform:
>> Xcode 7.0.1 
>> Mac OS 10.11
>> iOS 8.x
>> 
>> Not sure if this is Cocoa or an Xcode question, but here we go.
>> 
>> I'm doing some CoreLocation device location testing in our iOS app for 
>> stress testing and am going to be simulating locations with a GPX file that 
>> has waypoints.
>> 
>> When simulating a device location through this method, does anyone know the 
>> rate at which Xcode/Cocoa iterates through the waypoints in the GPX file and 
>> if this rate is adjustable?
>> 
>> Thanks in advance.
>> Alex Zavatone
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/xcode-users/djp_phillips%40me.com
>> 
>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to