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)

18313
18314
18315
# File 'Monkeybrains.rb', line 18313

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)

18323
18324
18325
# File 'Monkeybrains.rb', line 18323

def gearMax
  @gearMax
end

gearSizeInteger

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

Returns:

  • (Integer)

18317
18318
18319
# File 'Monkeybrains.rb', line 18317

def gearSize
  @gearSize
end

invalidInboardShiftCountInteger

Number of invalid inboard shifts (0 - 255)

Returns:

  • (Integer)

18327
18328
18329
# File 'Monkeybrains.rb', line 18327

def invalidInboardShiftCount
  @invalidInboardShiftCount
end

invalidOutboardShiftCountInteger

Number of invalid outboard shifts (0 - 255)

Returns:

  • (Integer)

18331
18332
18333
# File 'Monkeybrains.rb', line 18331

def invalidOutboardShiftCount
  @invalidOutboardShiftCount
end

shiftFailureCountInteger

Number of shift failures (0 - 255)

Returns:

  • (Integer)

18335
18336
18337
# File 'Monkeybrains.rb', line 18335

def shiftFailureCount
  @shiftFailureCount
end