Commit Graph

915 Commits

Author SHA1 Message Date
Mark Liversedge
4552cafdb6 MRC File Format Fix
The Racermate MRC file format for workout files did not
honor TIME/PERCENT format files correcty. The code is a
little confusing because it mixes the device mode and
workout file format. Ideally, the file format and device
mode would be kept as separate state settings, but this
patch at least fixed the bug.

fixes #40
2010-03-21 08:35:22 -07:00
Mark Liversedge
883dbb448f Remove 'None' option from 3d
The none option for data selection on the 3d plot is a
misnomer. It suggests that dimensions can be removed. For
example plotting x/y only. In reality, the 3d libs and the
code for managing the plot go to great lengths to ensure a
plot is rendered across all dimensions.

The None option has been removed for this reason. A 2d
scatter plot with user selectable data series should be
coded specifically to render 2d scatter plots.

fixes #30
2010-03-21 08:34:17 -07:00
Sean Rhea
a217243456 fix FIT files with smart recording
Linearly interpolate missing points *except* between a pair of stop
and start event records.
2010-03-19 09:12:16 -07:00
Sean Rhea
affed979ba fix HR in FIT files with no HRM
The value 255 means, "no heart rate".
2010-03-18 08:03:56 -07:00
Mark Liversedge
32d67f21eb FitRideFile Linux fixups
Small mods to changed the capitalisation of the Qt includes and
add stdint.h uint16_t et al.
2010-03-17 22:48:41 -07:00
Sean Rhea
c0437f30e3 read Garmin FIT files
There is still the mystery of what global message type #22 is, but
other than that concern, this code seems to work pretty well now.
2010-03-17 08:22:31 -07:00
Sean Rhea
7f2abaa01b fix uninitialized 'ride' variable in ModelWindow 2010-03-14 19:26:07 -04:00
Mark Liversedge
ccc2f1f0ff Fix UTC to Localtime Error in GcRideFile
The GcRideFile stores the ride start datetime in UTC, on write the
datetime is correctly converted to UTC.

This patch fixes the GcRideFile reader to convert in the oposite
direction. Currently the code reads the UTC date as a local format
date - as a result the convert to localtime call does nothing.
2010-03-14 19:19:40 -04:00
Sean Rhea
e0f6cf23e6 fix SRM interval alignment
SrmRideFile was setting RideFilePoint::interval correctly for
each RideFilePoint, but it was setting the start and stop of each
RideFileInterval it created to 1 RideFilePoint later than they
should be.  This patch fixes things so that RideFilePoint::interval
and RideFileInterval::start|stop agree about the interval bounds.
2010-03-13 11:26:02 -05:00
Damien Grauser
f980142110 update French translation 2010-03-13 10:44:30 -05:00
Mark Liversedge
19fe016567 make calendar font 2pts smaller than default 2010-03-12 11:30:47 -05:00
Damien Grauser
ff3a232863 remember user's preference for stacked view
...and add zoom.

fixes #58
2010-03-12 10:45:08 -05:00
Sean Rhea
bd28d3b28e maybe fix problem with Set CP button not enabled 2010-03-12 10:45:08 -05:00
Justin Knotzke
c6d28370ec #includes need to be in quotes to build under Windows. 2010-03-11 09:08:24 -07:00
Sean Rhea
f523fd5d3c allow the user to hide tabs
...and remember their tab hiding preferences across restarts.
2010-03-09 20:59:34 -05:00
Greg Lonnon
e47847c19e fixed the maps refresh issue 2010-03-09 13:14:03 -05:00
Greg Lonnon
6919d186bf metrics are now displayed correctly, alt isn't working right
fixed the avg speed and alt

added a possible change for the maps issue

Maps tab is always showing, it will either show the ride data, or No GPS Data Present
Page loading is async with the ride being selected.
Weird WKO gps data issue reported by Mark L is fixed (hopefully)  I see different results than Mark L
moved Sean's cp patch to the new location

Signed-off-by: Greg Lonnon <greg.lonnon@gmail.com>
2010-03-09 13:14:03 -05:00
Sean Rhea
0fd735e16d fix maps crash when no CP is set
The check in the maps code for whether a CP is set was backwards, causing
a segfault on the subsequent call to Zones::getCP().  To reproduce, create
a new cyclist and import a ride with lat/lng data.  The import succeeds, but
GC crashes when you click "Save" and on all subsequent restarts.
2010-03-07 08:24:20 -05:00
Andy Froncioni
a02bfaf810 Added headwind to Aerolab calculation for iAero
Added a headwind data field, which is available when using
an iAero head unit, to dramatically improve the calculation
of Chung analysis for users of more recent iAero devices.

All other data files than the iAero have the headwind term set to
zero when they append a point.
2010-03-06 13:11:36 -05:00
Damien GRAUSER
afdc862cc2 add ride plot stacked view 2010-03-06 11:47:55 -05:00
Sean Rhea
19223e51b3 add an xml pretty-printer
This makes it a lot easier to see what's going on in a TCX file.
2010-03-03 10:54:30 -05:00
Sean Rhea
37a17f11f8 remove eol space 2010-03-03 09:32:43 -05:00
Sean Rhea
19aff56946 always build with maps support 2010-03-03 09:32:43 -05:00
Sean Rhea
378b6f3537 fix up tabs 2010-03-03 09:32:43 -05:00
Greg Lonnon
268afe536c untabify the GoogleMapsControl files 2010-03-03 09:32:43 -05:00
Greg Lonnon
04b698f255 fixed the zone == -1 defect 2010-03-03 09:32:43 -05:00
Greg Lonnon
f97bc9c152 fixed the bounds box and the zoom to center correctly 2010-03-03 09:32:43 -05:00
Greg Lonnon
a392b33b51 added resizeEvent back in, fixed a few variable names to be more standard and added some of Mark L's suggestions. 2010-03-03 09:32:43 -05:00
Mark Liversedge
81a43b5314 added Mark's fixes 2010-03-03 09:32:43 -05:00
Greg Lonnon
c2f3476569 added googlemaps, took a couple of suggestions from Julian on map defaults. 2010-03-03 09:32:43 -05:00
Justin Knotzke
d4edc12dc6 New Logo and Icons by Dan Schmalz 2010-03-02 20:48:25 -05:00
Sean Rhea
b68e55beca better axis labels in PM plot 2010-03-02 09:45:21 -05:00
Mark Liversedge
bc85a3b5fe Change WKO+ version error to warning
The WKO+ file format version is changing version numbers
at a fairly accelerated pace, but the general structure of
the files are still readable by the WkoRideFile reader.

This patch issues a warning rather than an error on new
files. Recent v29, v30 and v31 of the WKO+ file format have
all been parsed successfully.

fixes #47
2010-02-28 08:13:01 -08:00
Mark Liversedge
fda33927d4 Typo in Save Dialog
The dialog message spelt change as chage. This patch fixes that typo.

fixes #45
2010-02-28 08:11:08 -08:00
Mark Liversedge
7bb9cf5462 Long Term Metrics
A user configurable chart for showing ride metrics and
other calculated values over time.

* Uses SQLITE database to store metrics
* Supports any metric available from the metric factory
* Adds new MaxHr, VI, Peak Power and Time In Zone metric
* Also includes LTS/STS/SB for PM charting
* Aggregates in days, weeks, months or years
* Reads and Updates seasons.xml
* Adds cycles and adhoc date ranges in seasons.xml
* Date ranges can be selected on the plot with shift-left click
* Allows users to customise preferences for color, symbols et al
* Allows user to customise metric names and unit names
* Supports smooth curves and topN highlighting
* Has a linear regress trend line function
* Allows users to save charts to charts.xml
* A default charts.xml is built-in
* A chart manager to import/export/rename/delete charts etc
* Provides a tooltip to provide basic datapoint information
* Performance Manager adjusted to use the MetricDB
* User configurable setting for SB calculation (today/tomorrow)
2010-02-25 08:01:43 -08:00
Greg Lonnon
cef5cca454 returned error for encrypted files
Also fix compiler warning.
2010-02-24 08:47:38 -08:00
Thomas Weichmann
77eccc7797 fix min window width problem caused by fixed width sliders in aerolab 2010-02-20 16:18:32 -08:00
Dag Gruneau
e3ac6c799c quarqd - cadence, wheel rotation, error checking
Fixed a number of issues with data from quarqd inf and nan values where
inserted as valid data points and thus destoying all plotting in the
realtime window and in later analysis.

The unit was used to distinguish between the entities, thus rpm was
erroneously used as a cadence, rpm is used as the unit for wheel
rotation and for cadence.  This made the cadence useless together with a
PowerTap hub which reports both cadence and wheel rotation.

No error checking was performed on the received data, bad data is
ignored now.
2010-02-12 06:07:30 -08:00
Andy Froncioni
906900fb19 iBike test rides for use with Aerolab 2010-02-12 05:36:44 -08:00
Sean Rhea
4145282415 remove unused settings ptr 2010-02-12 05:27:40 -08:00
Sean Rhea
3eb5243a28 remove eol spaces -- no functional change 2010-02-12 05:23:55 -08:00
Andy Froncioni
885629a2f5 Adds Aerolab tab
This patch adds Aerolab, a virtual elevation module.  A
new tab is added in which the user can perform virtual
elevation analysis.  This version is a manual Aerolab,
where user can use the following sliders to elevation-match
to a known elevation profile:
Crr  -coefficient of rolling resistance
CdA  -aero coefficient of drag * frontal area
Eta  -drivetrain efficiency (to be used when using a crank-
      or bottom-brack-based power meter)
Mass -total mass of bike + rider
Rho  -density of air
E_offset -an elevation offset to align elevations
2010-02-12 05:19:59 -08:00
Andy Froncioni
07a393fb64 Adds DFPM functionality to iAero
Uses the iAero native "guesstimate" power value until a
non-zero dfpm value is seen.  From then on, uses dfpm as "watts".
2010-02-08 06:49:01 -08:00
Sean Rhea
da28b43d40 remember chosen histogram bin width across restarts 2010-02-07 09:41:52 -08:00
Sean Rhea
4f9850bd9d shorten tab titles
Making room for the long-term metrics tab.
2010-02-07 09:26:44 -08:00
Sean Rhea
f930c6f272 remember chosen PM metric across restarts 2010-02-07 09:13:04 -08:00
Sean Rhea
fae1ea3f92 fix linux file names for 1.3.0 2010-02-07 09:13:03 -08:00
Sean Rhea
4b615a6cda update contrib and download pages for 1.3 2010-02-06 11:38:57 -08:00
Sean Rhea
b491867386 release notes for GC 1.3 2010-02-06 11:38:57 -08:00
Sean Rhea
f323780848 fix FTDI required for SRM download bug
GC supports two download port types: serial ports and D2XX.  Before, if
either of these failed to load, the download dialog wouldn't show either
port type.  With this patch, if both fail, GC displays a warning, but if
either one succeeds, GC will proceed with only that port type.  This
change should fix the problem that users were having to download and
install both the FTDI drivers and the PL2303 ones in order to download
from the SRM PCV.
2010-02-06 11:38:57 -08:00