-
Notifications
You must be signed in to change notification settings - Fork 14
Help
Harald Hoyer edited this page Jun 7, 2017
·
1 revision
Default Speed: If the GPX file has no speed set, this speed is used.
Force Speed: Even though the GPX file has speed set, use the default speed.
Inject Course Points: Besides the start and end point, insert up to 48 course points in between, but with a minimal distance of 1000m.
Use Walking Grade Factor: Slow down or speed up the default speed, depending on the grade of the track.
/**
* Grade adjusted pace based on a study by Alberto E. Minetti on the energy cost of
* walking and running at extreme slopes.
*
* see Minetti, A. E. et al. (2002). Energy cost of walking and running at extreme uphill and downhill slopes.
* Journal of Applied Physiology 93, 1039-1046, http://jap.physiology.org/content/93/3/1039.full
*/
public double getWalkingGradeFactor(double g)
{
return 1.0 + (g * (19.5 + g * (46.3 + g * (-43.3 + g * (-30.4 + g * 155.4))))) / 3.6;
}
Reduce Points to: Reduce the total amount of points in the track. Some devices have an upper limit also depending on the courses already on the device.