-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Now that we have the segments, let's put back the speed estimate.
Create a "ride" model which is a list of ride segments.
Each ride segment has
- time/duration
- speed
- power
- and a reference to the route segment
Use the parameter object already in the repo as well as the physics formula to calculate a ride from all the route segments.
One small caveat: the current formula assumes grade as one of the parameters. Obviously now it must be taken from the grade of the segment.
Power before came from the original tcx, now it needs to be an argument of the CLI.
If power is not passed the app should fail.
Update the cli output by also adding the time taken, and avg speed.
Also update the test part of the workflow to include the new parameter. Use 200W for the test
Reactions are currently unavailable