rilling / OpenTracks-Winter-SOEN-6431_2024

OpenTracks is a sport tracking application that completely respects your privacy. SOEN 6431
https://OpenTracksApp.com
Apache License 2.0
0 stars 65 forks source link

Mkjodhani/chairlift time #172

Closed mkjodhani closed 5 months ago

mkjodhani commented 5 months ago

This closes #61 and #62.

The method 'isEnteringChairlift' will return a boolean value as a flag if a person entered in a chairlift.

The method calculateTotalTimeOnChairLift(List<TrackPoint> trackPoints, TrackPoint currentTrackPoint, double acceleration) will take the track points as parameters, and return the total time of most recent chairlift.