Class: Toybox::AntPlus::TorqueEffectivenessPedalSmoothness

Inherits:
Lang::Object
  • Object
show all

Overview

The TorqueEffectivenessPedalSmoothness object represents the instantaneous torque effectiveness and pedal smoothness.

Fields may return null so you should null check values before using them.

Since:

  • 2.2.0

Bike Power Sensor Type collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

leftOrCombinedPedalSmoothnessToybox::Lang::Float

Left pedal smoothness if separate is supported, else it is the combined smoothness (%).

Examples:

using Toybox.AntPlus;
using Toybox.System;

// Assumes AntPlus.BikePower.getTorqueEffectivenessPedalSmoothness(); already called
var leftOrCombinedPedalSmoothness= TorqueEffectivenessPedalSmoothness.leftOrCombinedPedalSmoothness;

System.println("leftOrCombinedPedalSmoothness is set to: " + leftOrCombinedPedalSmoothness);

Returns:

Since:

  • 2.2.0


17400
17401
17402
# File 'Monkeybrains.rb', line 17400

def leftOrCombinedPedalSmoothness
  @leftOrCombinedPedalSmoothness
end

leftTorqueEffectivenessToybox::Lang::Float

Left torque effectiveness.

0xFF: Invalid or negative values (%).

Examples:

using Toybox.AntPlus;
using Toybox.System;

// Assumes AntPlus.BikePower.getTorqueEffectivenessPedalSmoothness(); already called
var leftTorqueEffectiveness = TorqueEffectivenessPedalSmoothness.leftTorqueEffectiveness;

System.println("leftTorqueEffectiveness is: " + leftTorqueEffectiveness);

Returns:

Since:

  • 2.2.0


17356
17357
17358
# File 'Monkeybrains.rb', line 17356

def leftTorqueEffectiveness
  @leftTorqueEffectiveness
end

rightPedalSmoothnessToybox::Lang::Float

Right pedal smoothness (%).

Examples:

using Toybox.AntPlus;
using Toybox.System;

// Assumes AntPlus.BikePower.getTorqueEffectivenessPedalSmoothness(); already called
var rightPedalSmoothness = TorqueEffectivenessPedalSmoothness.rightPedalSmoothness;

System.println("rightPedalSmoothness is: " + rightPedalSmoothness);

Returns:

Since:

  • 2.2.0


17413
17414
17415
# File 'Monkeybrains.rb', line 17413

def rightPedalSmoothness
  @rightPedalSmoothness
end

rightTorqueEffectivenessToybox::Lang::Float

Right torque effectiveness.

0xFF: Invalid or negative values (%).

Examples:

using Toybox.AntPlus;
using Toybox.System;

// Assumes AntPlus.BikePower.getTorqueEffectivenessPedalSmoothness(); already called
var rightTorqueEffectiveness= TorqueEffectivenessPedalSmoothness.rightTorqueEffectiveness;

System.println("rightTorqueEffectiveness is set to: " + rightTorqueEffectiveness);

Returns:

Since:

  • 2.2.0


17371
17372
17373
# File 'Monkeybrains.rb', line 17371

def rightTorqueEffectiveness
  @rightTorqueEffectiveness
end

separatePedalSmoothnessSupportToybox::Lang::Boolean

Define if pedal smoothness is separate.

Examples:

using Toybox.AntPlus;
using Toybox.System;

// Assumes AntPlus.BikePower.getTorqueEffectivenessPedalSmoothness(); already called
var separatePedalSmoothnessSupport = TorqueEffectivenessPedalSmoothness.separatePedalSmoothnessSupport;

System.println("separatePedalSmoothnessSupport is: " + separatePedalSmoothnessSupport);

Returns:

Since:

  • 2.2.0


17386
17387
17388
# File 'Monkeybrains.rb', line 17386

def separatePedalSmoothnessSupport
  @separatePedalSmoothnessSupport
end