Commit Graph

24 Commits

Author SHA1 Message Date
alexdelli
287baedf6f Added Support for Elite Supercrono PowerMag 2014-02-22 19:50:30 -05:00
Christian Stade-Schuldt
97c8bf1ef9 Added virtual power support for Tacx Blue Motion trainer 2013-12-17 12:16:01 +01:00
Christian Stade-Schuldt
5b5e309f7a Added virtual power support for Tacx Blue Twist trainer 2013-12-17 12:03:31 +01:00
Christian Stade-Schuldt
04fef32f6c Updated Tacx Satori Virtual Power values 2013-12-11 10:08:04 +01:00
gcoco
91a5b2833c Kurt Kinetic Road Machine PowerCurve fix
Fixes #685
2013-09-19 14:11:25 -04:00
Mark Liversedge
8060b4a0d4 Rename TrainTool to TrainSidebar
.. just for a bit of consistency before we develop
   AnalysisSidebar and refactor the views in MainWindow.
2013-07-13 20:15:07 +01:00
Mark Liversedge
e4f426e717 Tacx Flow Virtual Power
Courtesy of Alex Leyland.
2013-02-11 19:25:28 +00:00
Mark Liversedge
d1475b4d93 Code Cleanup: RealtimeController
.. lots of confusion about virtual power based upon speed and
using lack of cadence to show no power -- this is invalid since there
may not be a cadence sensor present!
2013-02-11 14:38:21 +00:00
Mark Liversedge
05b60576af Add Tacx Satori Virtual Power
Courtesy of Stephen Dag we now support virtual power
for the Tacx Satori trainer.
2013-02-10 09:21:14 +00:00
Mark Liversedge
d1583084b9 Missing break. 2012-12-27 21:04:00 +00:00
Mark Liversedge
dfd6741cc4 Saris Powerbeam PRO Virtual Power
.. using constants supplied by Tom (ATucker) on the
golden cheetah google group.
2012-12-27 19:44:53 +00:00
Mark Liversedge
e137aa5773 Virtual Power for Minoura V100
Added virtual power calculations for a Minoura V100
with one selection for whichever gear it is set to.

Thanks to 'frenchman' on the slowtwitch forums for
working out the formulae.
2012-10-19 22:12:42 +01:00
Mark Liversedge
43b1c61d6b Add Device Wizard
Introduce a wizard for adding realtime devices since it
is prone to user error, is relatively complicated and is
something most users will only ever do once or twice.

There are several logical updates within this patch:

First; Fix intermittent ANT+ not working
* LibUsb     - check bufRemaining is > 0 not non-zero
* LibUsb     - Always reset the USB stick on open
* ANT.cpp    - Support > 4 channels on USB2
* ANTChannel -  Do not use pairing, but always
*               unassign, assign and set channel id.

Second; Fix device discovery
* Find and discover support in realtime controllers
* Extend Serial.cpp to cover more Serial devices
* Support for 4 or 8 ANT channels for USB1/USB2

Third; Introduce Add Device Wizard with
* General and Specific wizard pages for each device type
* Device pairing with telemetry display
* fixed compile time warnings

Fourth; Update Device Config Page
* use wizard to add new device
* remove edit fields, replaced by wizard
* remove pair, firmware buttons replaced by wizard

Fifth; Deprecate/Remove Device Types
* Null Device - used by developers only
* Quarqd client - replaced by Native ANT+
* GC Server - not implemented yet

I have also introduced a device specific wheel size
and flags for controlling the default selection and
sources for sensor data when in multi-device mode. These
are not yet supported in the code.

Fixes #611.
Fixes #497.
2012-01-21 20:28:33 +00:00
Mark Liversedge
24be9ec813 Add Virtual Power for 1UP USA bike trainer
Fixes #560.
2011-12-21 10:42:53 +00:00
Mark Liversedge
5195f6376d Remove need for cadence on virtual power
Since you may not have a cadence sensor available it
does not make sense to zero power when cadence is zero.
2011-12-08 21:03:52 +00:00
Mark Liversedge
482b2c32a1 missing break statement in virtual power calculation. 2011-10-26 22:59:12 +01:00
Mark Liversedge
cd2e02fb69 Tweak Virtual Power
If cadence is zero when calculating power then we
should set power to zero. Speed will not be zero
when freewheeling and therefore the calculation
will overstate power output.

Secondly, the NullController (for testing) did
not call the realtimeController post process
function. It does now so we can test the virtual
power calculation.
2011-10-26 22:18:37 +01:00
Mark Liversedge
8e9a93f50d Add virtual power for LeMond Revolution
The LeMond revolution trainer has been analysed in
some depth by Tom Anhalt and as a happy by-product
idenitfied the power/speed curve.

Since Darren Hague had already added the ability to
approximate power from Speed when training on a turbo
this patch extends that to include the LeMond device.

All the analysis Tom performed can be read over on
wattagetraining.com here:
http://wattagetraining.com/forum/viewtopic.php?t=335

Fixes #498.
2011-10-26 21:49:12 +01:00
Mark Liversedge
3ae81329d7 Make Training View Configurable
The training view (aka realtime) is now configurable
allowing users to drag and drop appropriate charts
and dials onto the main view.

The controls for this view are static and comprise the
old controls with start/stop buttons, device selections etc.

I have removed deprecated code too, the following are removed
from the repository;
* ViewSelection
* RealtimeWindow
* TrainWindow
* TrainTabs

Fixes #290.
2011-05-10 18:21:08 +01:00
Darren Hague
010e27e50c Fix CycleOps Fluid 2 virtual power calculation
Fixes #239
There was a missing "break" after the CycleOps calc, so it went ahead
and overwrote the value with the BT-ATS calc. "break" now inserted.
2011-03-27 18:34:08 +01:00
Darren Hague
073079a6e7 Add virtual power support for BT-ATS trainer
Add "BT Advanced Training System" to dropdown.
Implement 3rd-order polynomial to get power from speed.

Fixes #246.
2011-01-30 14:43:11 +00:00
Darren Hague
7e42cdd486 Corrected - to + in CycleOps formula
Fixes #239
2011-01-22 20:24:52 +00:00
Darren Hague
615737658d Virtual Power; Better GSC-10 pairing support.
Virtual Power - included patch from Mark Liversedge & corrected bug
with his help.

GSC-10: Check dual sensor 4th and speed-only sensor (which is rare) as
5th.
This means that an all-Garmin setup (ANT+ stick, GSC-10 sensor) will
always work. A speed-only sensor is almost useless in GC real-time
mode anyway, because speed-only sensors tend to run off the front
wheel which will be stationary on a trainer. Fix pointer problems with
device controller/config.

Fixes #219
2011-01-09 19:15:20 +00:00
Mark Liversedge
82ac0f5e1f add realtime mode
Joint work between Mark L, Justin, and Steve Gribble.
2009-11-23 10:42:48 -05:00