Sean Rhea
f2ae215d4b
no decimal point for elevation gain metric
...
Thanks to Tom W for pointing this out.
2010-01-17 20:19:45 -08:00
Sean Rhea
2514a3fd26
bug fix: manual ride time always counts towards weekly summary
...
Before, if distance and speed were both zero, time_riding was set
to zero, and the manual ride time would not be included in the
weekly summary. This patch fixes that by overriding time_riding.
2010-01-02 11:50:00 -05:00
Sean Rhea
a5f75ec569
add hysteresis to ElevationGain metric
2009-12-25 10:43:13 -05:00
Sean Rhea
0d488cb9ea
fix neg alt bug in ElevationGain metric
2009-12-25 10:40:54 -05:00
Sean Rhea
9d1ed11186
fix compile error with std::sort on Linux
2009-12-23 07:57:46 -05:00
Sean Rhea
ea2177cc62
add ninety_five_percent_hr metric
2009-12-22 17:54:50 -05:00
Sean Rhea
4b1805f3c2
add max_power metric
2009-12-22 17:54:38 -05:00
Sean Rhea
96b00f4b77
fix metrics for interval use
2009-12-22 17:53:40 -05:00
Sean Rhea
e16443e23f
aggregateWith takes a const reference
2009-12-22 15:23:02 -05:00
Sean Rhea
0d7e923c93
get rid of PointwiseRideMetric
...
It's no shorter than just calling foreach, and I feel it just confuses things.
2009-12-22 15:23:02 -05:00
Sean Rhea
d096eb8854
add RideMetric::precision
...
...which specifies how many digits after the decimal we should show when
displaying the value of a RideMetric.
2009-12-22 15:23:01 -05:00
Sean Rhea
8aa0996e6e
add RideMetric::name
...
The name of a RideMetric is a short string suitable for use as a label in the
ride summary. It should be translated using QObject::tr().
2009-12-22 15:23:01 -05:00
Sean Rhea
d2b44ec508
rename RideMetric::name to RideMetric::symbol
...
The symbol of a ride metric is the string by which we refer to it in the
code, configuration files, and caches (like stress.cache). It should not
be translated, and it should never be shown to the user.
2009-12-22 15:23:01 -05:00
Sean Rhea
318c9debd4
put all our unit conversions in one header file
2009-10-10 12:27:42 -04:00
Greg Lonnon
e7c7a43b8d
fixed the following use of a uninitialized variable
...
==30062== Conditional jump or move depends on uninitialised value(s)
==30062== at 0x49070E: ElevationGain::perPoint(RideFilePoint const*, double, RideFile const*, Zones const*, int) (BasicRideMetrics.cpp:114)
==30062== by 0x491592: PointwiseRideMetric::compute(RideFile const*, Zones const*, int, QHash<QString, RideMetric*> const&) (RideMetric.h:54)
2009-09-07 12:27:08 -04:00
Thomas Weichmann
5c0bdd8969
Changes to add altitude data to allplot & elevation gained to ride metrics
2009-08-25 06:18:20 -04:00
Robert Carlsen
03e2f95c43
Changed the AvgCadence unit from "bpm" to "rpm".
2009-01-24 00:22:59 +00:00
Robert Carlsen
700ac5c12d
From JT Conklin: Fix to force the aggregateWith() method to use properly use metric units while incrementing when set as a user preference.
2009-01-05 02:23:09 +00:00
Sean C. Rhea
6e5487ca39
everything in one directory
2008-05-12 03:28:53 +00:00