Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statistics (service functions, Ski statistics) - Calculate maximum speed per run #56

Closed
rakibulhuda opened this issue Mar 14, 2024 · 0 comments

Comments

@rakibulhuda
Copy link
Collaborator

rakibulhuda commented Mar 14, 2024

Feature Description:

We need to add a new ski-related statistics service that calculates the maximum speed achieved by a skier during a single run. This service will be part of a broader set of statistics functions aimed at providing comprehensive insights into skiing activities. This feature is closely related to other statistics services, such as average speed calculation and distance skied, as it contributes to a holistic understanding of skiers' performance and experiences on the slopes.

Solution Description:

  1. Implement a function that identifies the start and end of a ski run based on predefined criteria, such as significant changes in elevation and speed patterns.
  2. During each identified run, track the skier's speed continuously.
  3. Calculate and record the maximum speed achieved by the skier during each run.
  4. Store this information along with other relevant statistics, associating it with a unique session ID to facilitate data organization and retrieval.

Considered Alternatives:

  1. Calculate the maximum speed over a sliding window of GPS data points (e.g., maximum speed over the last 10 seconds) instead of considering the entire run. This approach may be more suitable for real-time speed monitoring or applications where immediate feedback is required. The trade-off should be considered between efficiency and accuracy.
  2. The system could rely solely on GPS data to determine the start and stop points, but this might not be as reliable in areas with weak GPS reception.

Additional Context:

Integrating this feature will enhance the capability of our ski statistics service, providing valuable insights to skiers about their performance on individual runs. It will also contribute to a more comprehensive analysis of skiing activities which will benefit both casual skiers who can track their progress and professional athletes who can use the data to refine their technique and optimize training plans.

@rakibulhuda rakibulhuda added Enhancement New feature or request Group 6 Medium Priority Medium Priority labels Mar 14, 2024
@rakibulhuda rakibulhuda self-assigned this Mar 14, 2024
@rakibulhuda rakibulhuda changed the title Statistics (service functions, Ski statistics) - maximum speed per run Statistics (service functions, Ski statistics) - Calculate maximum speed per run Mar 14, 2024
@rakibulhuda rakibulhuda added this to the Case Study #2 milestone Mar 16, 2024
@rakibulhuda rakibulhuda added Application Service Functions High Priority High priotity features Ski Stats and removed Enhancement New feature or request Medium Priority Medium Priority labels Mar 17, 2024
rakibulhuda added a commit to OmniaAlam/OpenTracks-Winter-SOEN-6431_2024 that referenced this issue Apr 8, 2024
rakibulhuda added a commit to OmniaAlam/OpenTracks-Winter-SOEN-6431_2024 that referenced this issue Apr 8, 2024
rilling#56 Implemented Calculate maximum speed per run
thanhpd pushed a commit that referenced this issue Apr 26, 2024
#119: allow user to view and update DoB, Gender and Leaderboard Settings
thanhpd pushed a commit that referenced this issue Apr 26, 2024
Merge pull request #56 from thanhpd/feat/updated_119
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant