Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WFBikeTrainerSpindownCalibrator Class Reference

#import <WFBikeTrainerSpindownCalibrator.h>

+ Inheritance diagram for WFBikeTrainerSpindownCalibrator:
+ Collaboration diagram for WFBikeTrainerSpindownCalibrator:

Instance Methods

(void) - abortSpindown
 Abort the spindown process. More...
 
(instancetype) - initWithBikePowerConnection:
 The designated initialiser. More...
 
(BOOL- resetBrakeStrengthSpindownToDefault
 Resets the brake strength value to the default value. More...
 
(BOOL- startBrakeStrengthSpindown
 Initiates the trainer for a brake strength spindown test. More...
 
(BOOL- startSystemDragSpindown
 Initiates the trainer for a system drag spindown test. More...
 

Properties

WFBikePowerConnectionbikePowerConnection
 The Bike Power Connection which is being used to perform the calibration. More...
 
WFBikeTrainerSpindownCalibratorResultcalibrationResult
 The result of the calibration. More...
 
id
< WFBikeTrainerSpindownCalibratorDelegate
delegate
 The delegate which will receive event/progress update callbacks. More...
 
double spindownThresholdSpeed
 The speed required to trigger a spindown, in meters per second. More...
 
WFBikeTrainerSpindownCalibratorState_t state
 The current state of this calibrator instance. More...
 
WFBikeTrainerSpindownCalibratorWorkingStatus_t workingStatus
 The current working status of this calibrator instance. More...
 

Method Documentation

- (void) abortSpindown

Abort the spindown process.

Returns
false if an error occurred
- (instancetype) initWithBikePowerConnection: (WFBikePowerConnection *)  bikePowerConnection

The designated initialiser.

- (BOOL) resetBrakeStrengthSpindownToDefault

Resets the brake strength value to the default value.

- (BOOL) startBrakeStrengthSpindown

Initiates the trainer for a brake strength spindown test.

A brake strength spindown test is used to calibrate the brake strength. A brake strength spindown consists of three phases: a warmup, followed by two spindown tests During the warmup the rider is required to pedal at a comfortable speed. Each spindown test requires the rider to pedal to speeds above 22 mph and let the bike coast down to less than 13 mph.

Returns
TRUE if the command was sent successfully, otherwise FALSE.
- (BOOL) startSystemDragSpindown

Initiates the trainer for a system drag spindown test.

A system drag spindown test is used to calibrate the trainer and determine power loss due to friction. When this function is called successfully, the trainer is set to Resistance Mode at 0.0% brake. A spindown requires the rider to pedal to speeds above 22 mph and let the bike coast down to less than 13 mph.

Returns
TRUE if the command was sent successfully, otherwise FALSE.

Property Documentation

- (WFBikePowerConnection*) bikePowerConnection
readnonatomicassign

The Bike Power Connection which is being used to perform the calibration.

- (WFBikeTrainerSpindownCalibratorResult*) calibrationResult
readnonatomicassign

The result of the calibration.

This is only valid when the current state is WF_BIKE_TRAINER_SPINDOWN_CALIBRATOR_STATE_COMPLETED.

- (id<WFBikeTrainerSpindownCalibratorDelegate>) delegate
readwritenonatomicassign

The delegate which will receive event/progress update callbacks.

- (double) spindownThresholdSpeed
readnonatomicassign

The speed required to trigger a spindown, in meters per second.

Instruct the user to slowly increase their speed untill they reach this threshold.*

- (WFBikeTrainerSpindownCalibratorState_t) state
readnonatomicassign

The current state of this calibrator instance.

- (WFBikeTrainerSpindownCalibratorWorkingStatus_t) workingStatus
readnonatomicassign

The current working status of this calibrator instance.

This is only valid when the current state is WF_WAHOO_MOTION_ANALYSIS_CALIBRATOR_STATE_WORKING.