Commit Graph

2835 Commits

Author SHA1 Message Date
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
Mark Liversedge
d8a5a62f71 Fixup Fit File issue
Fixes #646

- not cherry picked from master because there is a small
  update in the patch related to a 3.1 development.
2013-06-23 16:57:33 +01:00
Rainer Clasen
7831d01c1a inlude srmio version + commit in about dialog 2013-06-23 16:56:27 +01:00
Rainer Clasen
51669b4913 SrmDevice: fix writing srmio data
fopen() was missing 'b' flag, so that mingw and other platforms doing
LF/CR translation screwed data.

This is fixing the astronomic values of direct SRM downloads.
2013-06-23 16:56:00 +01:00
Gareth Coco
d8f3f58fd3 Website updates for Version 3.0
(cherry picked from commit fb339a527b)
2013-06-10 09:46:39 +01:00
Mark Liversedge
cd105850e5 Version 3 Release
.. update of build and upgrade processing for
   release 3 final update.
v3.0
2013-06-07 08:53:24 +01:00
Gareth Coco
1eff9a76cc Minor website update. 2013-06-07 01:49:34 -04:00
Mark Liversedge
d0ddeab173 New LTM Chart Setup Mockups
.. to support measures, metrics, bests and user defined
   (formula). For v3.1 development.
2013-06-06 22:07:42 +01:00
Mark Liversedge
c90d9a433e Merge pull request #630 from amtriathlon/master
Last update to spanish translation
2013-06-04 23:03:56 -07:00
Mark Liversedge
dc65c5f5c5 Remove Column Chooser from Chart Settings
Because the chart settings are modal its a really bad
idea to open up a column chooser from there. So, by
default, we don't have a column chooser option on the
search/filter box -- it must be explicitly requested.

We therefore explicity set the column chooser from the
mainwindow and also from the ride navigator window.
2013-06-05 07:01:36 +01:00
Alejandro Martinez
3269ce7148 Update spanish translation with event creation warning 2013-06-04 20:24:55 -03:00
Mark Liversedge
8f5952d1be Fixup reset layout for tile mode
The show() is needed them, for each chart.
2013-06-04 19:42:48 +01:00
Mark Liversedge
3eacee9602 Fix reset layout 'crash'
Fixes #629.
2013-06-04 19:18:29 +01:00
Mark Liversedge
c6d30ef0fd Fix ScatterPlot setTime() SEGV
At first it seemed this was caused by setting the time to
a value greater than the length if the ridefile.

It was actually a constructor error, since the settings
class didn't initialise the ride variable.
2013-06-02 12:21:14 +01:00
Mark Liversedge
a88b0b593d Update for RC7
.. version number / build id.
v3.0-RC7
2013-05-31 20:33:31 +01:00
Mark Liversedge
e471df6e08 Add alpha support for Dynastream OEM USB ant+
.. different pid of 1009 to the garmin usb2 stick
   but probably works the same .. lets see!
2013-05-31 20:05:58 +01:00
Mark Liversedge
130c1d6633 Add Darren Hague copyright message
.. to the ANTLogger code.
2013-05-31 19:02:57 +01:00
Mark Liversedge
80e278a3ba Warning on add event
.. to explain they belong to a season.
2013-05-30 22:17:17 +01:00
Mark Liversedge
47d5614f35 Fix delete ride SEGV
Ridesummarywindow was using rideitem to get zones to use when
summarising for a date range which was bad because a) the ride
might not be for the date range selected and b) it might have
been deleted.

This fixes that and means we get a summary that is more accurate
and no crashing when rides are deleted.
2013-05-30 21:11:24 +01:00
Mark Liversedge
6c94d309f8 Only refresh calendar if visible
Speeds things up and also removes problem of refreshing
when referencing a deleted ride.
2013-05-30 20:26:06 +01:00
Mark Liversedge
6f0b2148dd Diary Sidebar Calendar ignores first ride
Fix to check the first (0th) ride when clicking left
for previous ride rather than >0th.
2013-05-30 19:49:51 +01:00
Mark Liversedge
894cbcc4e7 Fix first file SEGV
If you delete and readd an activity after showing it on
the diary view you get a SEGV.

This is an edge case related to deleting the last activity
and going back to the blank state before importing another.

Actually there are 3 technical issues;

1. GcCalendar doesn't get notified by MainWindow when
   there are no rides -- so it crashes on refresh

2. RideSummaryWindow doesn't get notified by home window
   if its not visible

3. RideSummaryWindow should check rideItem isn't NULL before
   trying to plot zones (but only for date range summaries)

Fixes #622
2013-05-30 19:31:26 +01:00
Mark Liversedge
3c62ac98b4 Deprecate overwrite existing files on import
.. just for release 3.0 until the major bugs are fixed.

Fixes #620
2013-05-30 11:42:52 +01:00
Mark Liversedge
73c3fd7914 Merge branch 'master' of github.com:GoldenCheetah/GoldenCheetah 2013-05-30 10:42:45 +01:00