Class: Toybox::AntPlus::DerailleurStatus

Inherits:
Lang::Object show all

Fitness Equipment Training Setting Type collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

gearIndexInteger

Current gear index (for front derailleur 0 - 6, FRONT_GEAR_INVALID = Unknown gear index / Error) (for rear derailleur 0 - 30, REAR_GEAR_INVALID = Unknown gear index / Error)

Returns:

  • (Integer)

18286
18287
18288
# File 'Monkeybrains.rb', line 18286

def gearIndex
  @gearIndex
end

gearMaxInteger

Number of gears installed (1 - 7, {Toybox::AntPlus::MAX_GEARS_INVALID } = Unknown gear count / Error) (1 - 31, {Toybox::AntPlus::MAX_GEARS_INVALID } = Unknown gear count / Error)

Returns:

  • (Integer)

18296
18297
18298
# File 'Monkeybrains.rb', line 18296

def gearMax
  @gearMax
end

gearSizeInteger

Current gear size (number of teeth, 0 - 255)

Returns:

  • (Integer)

18290
18291
18292
# File 'Monkeybrains.rb', line 18290

def gearSize
  @gearSize
end

invalidInboardShiftCountInteger

Number of invalid inboard shifts (0 - 255)

Returns:

  • (Integer)

18300
18301
18302
# File 'Monkeybrains.rb', line 18300

def invalidInboardShiftCount
  @invalidInboardShiftCount
end

invalidOutboardShiftCountInteger

Number of invalid outboard shifts (0 - 255)

Returns:

  • (Integer)

18304
18305
18306
# File 'Monkeybrains.rb', line 18304

def invalidOutboardShiftCount
  @invalidOutboardShiftCount
end

shiftFailureCountInteger

Number of shift failures (0 - 255)

Returns:

  • (Integer)

18308
18309
18310
# File 'Monkeybrains.rb', line 18308

def shiftFailureCount
  @shiftFailureCount
end