

Voila! The location of our user is now being simulated exactly following the custom path we provided. Then, in the Run -> Options tab, select the Default Location dropdown and choose "Add GPS Exchange to Project": In your Xcode project, select your Target -> Edit Scheme. gpx file so that every time we launch the Simulator, these coordinates will be repeated in a loop. gpx file looks like: Īll we need to do now is point Xcode to the. We can create our own GPX trace using GPX Generator:Īs you can see, this tool also allows us to specify the speed, which is a great convenience to have. Notice the mapping between GPS positions and time

gpx file could like like (courtesy of MapBox): gpx file is essentially a mapping of GPS points over time specifying a timestamp with each GPS coordinate allows you to simulate walking, biking, or driving along the highway. In particular, we wanted to assess the performance of different navigation algorithms by testing them against the same set of location updates.įortunately, we can easily replay location updates using. In order to successfully develop the SDK, we needed a way of simulating a user's changing location. While I was working at Porsche, I spent most of my time working on a new Navigation SDK.
