Skip to content

Conversation

@dblock
Copy link
Contributor

@dblock dblock commented Oct 22, 2025

Makes the example run (fix relative path to 23.tcx) and output something a little more readable.

$ bundle exec ruby examples/basic_run.rb 

Distance meters: 134500.77
Time seconds: 15496.0
Calories: 3245
Total ascent: 1528.00048828125
Total descent: 1527.2004699707031
Max altitude: 666.2000122070312
Average heart rate: 0.0
Average watts: 226.8091263216472
Max watts: 587.0
Average speed: 9.337573943138288
Average speed (moving): 9.34212283433475
Average cadence (moving): 82.03661343691554
Average cadence: 79.33173344462993

@firefly-cpp firefly-cpp merged commit 4f7f2d1 into firefly-cpp:main Oct 22, 2025
1 check passed
@dblock dblock deleted the fixup-example branch October 22, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants