Last active
June 3, 2019 12:50
-
-
Save trevphil/fd8c2d57c5d32063095d4fba7785a706 to your computer and use it in GitHub Desktop.
Scenario Struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Scenario { | |
/// A sequence of CLLocations representing the "true path" of the GPS track | |
let truePath: [CLLocation] | |
/// A sequence of CLLocations based on the true path, but with noise added to various parameters | |
let noisyPath: [CLLocation] | |
/// A number between 0.0-1.0 representing the minimum allowable percentage difference between | |
/// the distance of the true path, and the distance of the noisy path after GPS filtering. | |
/// This percentage is relative to the distance of the true path. | |
let minAllowableError: Double | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment