Commit Graph

2858 Commits

Author SHA1 Message Date
Jon Escombe
87cef3f412 Don't reset ANT channel settings on search timeout
Wiping out these settings prevents a successful reconnection
of the device if it comes back into range

Fixes #514
2013-12-07 21:19:39 +00:00
Mark Liversedge
a83c3bfeee Fix findBests when no speed/gps
.. flawed logic. Same fix also applied to master.
2013-12-06 22:52:23 +00:00
Mark Liversedge
96e006be90 Fix LC_LOCALE on Xcode 5
by including "locale.h".

Fixes #734
2013-12-05 20:57:45 -05:00
Damien
2318ea0b08 FitRideFile: Correction for last Garmin firmware updates
In last Garmin firmware there is some (unknow) fields with multiples values

Fixes #724
2013-12-02 19:04:01 +01:00
Mark Liversedge
680adb2421 V3.0 SP1 RC1 Update
.. cleans out index and metricDBv3 to get a rebuild as
   there is a conflict between the version of clucene used
   in the v3 sp1 build
2013-12-01 19:41:09 +01:00
gcoco
843ac13a98 Add Garmin Forerunner 910XT 2013-11-21 07:47:15 -05:00
Damien
3b62333880 ShareDialog: Add upload to CyclingAnalytics and SelfLoops 2013-11-02 23:13:48 +01:00
Mark Liversedge
7ef01eacd8 Merge pull request #713 from gcoco/qwt-fix
Get rid of qwt compile error about format string.
2013-11-01 10:07:12 -07:00
gcoco
83a89c2b9f Get rid of qwt compile error about format string.
Author: KURASHIKI Satoru <lurdan@gmail.com>

Taken from Debian patches for GC 3.0.3
2013-11-01 11:44:43 -04:00
Mark Liversedge
e880b6adba Add /dev/cu.usbserial as a serial device
Useful on Mac with Sewell adapter for the CT.
2013-10-29 15:34:15 +00:00
Mark Liversedge
6591d09f58 Interval Summary Off By 1 Error
Intervals are off by 1 sample because when the temporary
ride is created it stops short of the last sample in both
the ride and interval summary window code.

Fixes #623.
2013-10-29 15:34:02 +00:00
Gareth Coco
4fdc533491 Update translation source files 2013-10-29 00:26:54 -04:00
Mark Liversedge
b4d7731f2d Truncate Altitude values
We know the highesst point on Earth, so any activity that
contains an altitude greater than that is definitely incorrect.

This patch truncates the altitude to the maximum possible, this
has the happy by product of curing a major mem alloc crash in QWT
when trying to plot altitudes with very large values.

Fixes #700

[cherry-picked from master cc2a0efe3e]
2013-10-27 20:12:11 +00:00
Damien
9527161f9b ShareDialog: Manage null error message 2013-10-27 00:08:23 +02:00
Damien
33e0702b35 OAuthDialog: Remove qDebug() 2013-10-21 22:23:50 +02:00
Damien
095a8a9290 AllPlot: plot references lines 2013-10-21 00:09:36 +02:00
Damien
2fc23b7041 Correction for release_3.0.0 branch 2013-10-20 23:38:17 +02:00
Damien
40818876e8 FitRideFile: Add Calibration Event parsing 2013-10-20 23:32:44 +02:00
Damien
851ad96801 ShareDialog 2/3 : For version 3.0.1 2013-10-20 17:13:56 +02:00
G Coco
91789a3dca Merge StraveDialog and RideWithGPSDialog
Add OAuth for Strava (Release version only)

Based on the work by D Grauser in commits #f0c2c2b840 and #3a1449231c
2013-10-20 16:44:30 +02:00
Damien
c5b3d56198 GoogleMap: Little fix 2013-10-14 21:32:54 -04:00
Damien
506caf89dc Aerolab: Add a constant altitude option 2013-09-26 07:12:51 -04:00
Damien
847fd004e1 JouleDevice: Remove debug lines 2013-09-25 22:47:42 -04:00
Damien
5b69552f4f JouleDevice: Remove debug lines 2013-09-25 22:47:19 -04:00
Mark Liversedge
7588eb6a28 Merge pull request #694 from gcoco/release_3.0.0
assert cleanup
2013-09-24 12:24:12 -07:00
Gareth Coco
03509108b6 assert cleanup
Based on commit# a2a962120c
2013-09-24 04:37:30 -04:00
Jon Escombe
cc566e92ab Detach kernel driver before claiming USB2 ANT+ interface.
Kernel 3.11 exposes the Suunto ANT+ stick as a USB serial device,
this prevents GC from opening it in training mode unless the
kernel driver is detached first.

Only detach kernel driver if compiling under Linux (not a portable function)..
2013-09-22 22:07:03 -04:00
Eric Johnson
eebc36a618 Use float division when converting wheel size
In training mode, calculations of speed using wheel size and RPM from
a speed sensor used integer division. This truncated all wheel
circumferences to an integral number of meters. 2100mm wheels were
treated as 2 meters and 1960mm wheels were treated as 1 meter,
effectively reducing calculated speeds by roughly 5% and 50%
respectively.

Fixes #585
Fixes #651
Fixes #669
2013-09-22 00:33:20 -04:00
Walter Bürki
7b91f18d86 adding hr,cad,power,temp of Suunto Ambit gpx files 2013-09-19 15:04:04 -04:00
gcoco
dd6eaf0bd0 Kurt Kinetic Road Machine PowerCurve fix
Fixes #685
2013-09-19 14:34:11 -04:00
Damien
a4db59e422 Bin2RideFile: correct bug for some GPS data 2013-09-18 14:44:48 -04:00
G Coco
eea7776260 Reinstate Twitter functionality
Fixes #
2013-09-14 22:51:13 -04:00
Dave Waterworth
5fbda61a90 More Fortius Fixes
Including:
   * Fixed a type with slope mode updating the wrong byte array
   * Transposed bytes in the definition of the erg and slope messages
   * Added power smoothing

Note:
   It appears the Fortius is supplying torque not power, some more
   testing is being performed but expect to see an update shortly
   once this has been fully tested.
2013-09-14 21:30:28 -04:00
Dave Waterworth
7ca196481e Fix Tacx Fortius Device Support
Multiple fixups for Tacx Support -- as a result the support
is now pencilled in for full support in 3.0 SP1.

Fixes #24.
2013-09-14 21:29:39 -04:00
Jaime
b71be203f8 Work around to ensure controller key presses aren't missed. Borrowed from Fortius.cpp 2013-09-12 02:42:50 -04:00
Rainer Clasen
c81f899d18 use pwx for Trainingstagebuch upload
as current tcx writer currently doesn't support laps (and tcx doesn't
allow non-linear/overlapping intervals, at all) this patch makes GC upload
exercises as pwx.
2013-09-12 02:41:37 -04:00
Rainer Clasen
4dbe3960b8 PWX: read/write temperature
added temperature to read/write
2013-08-27 07:12:23 -04:00
Rainer Clasen
a84869ad76 PWX export: keep timestamp + distance precision
Pwx does support for arbitrary sample lengths. No need to chop off
timestamp precision and introduce bad data + jitter.

Instead we should look at fixing data import and consider resampling on
read.

Distance is defined as double, aswell - so, let's keep the precision,
aswell.
2013-08-27 07:12:23 -04:00
Rainer Clasen
527e8e01fd fix PWX export: always write summarydata
xml schema is requiring summarydata to exist. Otherwise upload to
trainingpeaks fails.

Block was omitted when no intervals were defined.
2013-08-27 07:12:23 -04:00
Rainer Clasen
ee4b2221f7 fix PWX export: handle end of gaps gracefully.
As I got it pwx by itself has no concept of recording intervals. "smart
recording" and other strange data require variable recoring intervals.

On the other hand it's not recording the duration of a sample explicitly.
This means the duration needs to be derived from the previous samples
timestamp (assuming the sample timestamps are referring to the end of the
sampled period).

This diff writes an empty timestamp at the end of each gap so that the
next real sample/ridepoint can calculate the correct duration.

Please note that this may unhide some deficiencies in GCs file reading in
exports.
2013-08-27 07:12:23 -04:00
Rainer Clasen
e57ab8a689 Tcx: fix speed in summary information
When exporting files to Tcx, it's writing an ActivityExtension to the end
of the file with calculated AvgSpeed and MaxSpeed. Unfortunatly it's using
the km/h values - while Tcx is using m/sec. Schema is a bit unclear about
this, as the ActivityExtension uses "double" as type for both values, but
original Tcx v2 Schema only uses m/sec, GTC exports as m/sec and some
other software is expecting m/sec, aswell.
2013-08-26 21:14:56 -04:00
Damien
8dfddb4052 Bin2RideFile: Changes in Summary pages for Data version 5 2013-08-26 20:56:42 -04:00
Damien
21449f82b2 CsvRideFile: add temperature and hill slope (%) parsing for ibike csv file 2013-08-26 20:56:13 -04:00
gcoco
758bbe4635 Twitter API change
Just matching the version in master branch.
2013-08-10 23:51:00 -04:00
gcoco
1e70b58672 Support Twitter API 1.1 2013-08-10 23:45:36 -04:00
Mark Liversedge
a9b84ad1bc Recognise Dave Waterworth
.. in the about box contributors list.
2013-07-09 20:09:15 +01:00
Mark Liversedge
868dce94d7 Fix allplot crash on daft power value
Incredibly high power value in ride file causes a memory
error when setting up plot ticks.

Fixes #658
2013-07-07 20:02:49 +01:00
Mark Liversedge
34f7498592 Deprecate Strava Support
No API v3 access.

Fixes #656.
2013-07-06 00:13:55 +01:00
Mark Liversedge
2dc2151103 Fix PWX export SEGV
fixes #654.
2013-07-01 19:15:39 +01:00
Rainer Clasen
4b19b2bb99 make srmio details in version dialog conditionally
... so that GC keeps building with older srmio versions.

[cherry picked from master]
2013-06-25 16:18:41 +01:00