Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

busy

busy: boolean = false
observable

disposed

disposed: boolean = false
observable

Optional latestError

latestError: Error
observable

Protected Optional modeType

modeType: undefined | number
observable

Protected port

port: Port

Protected Optional rawValue

rawValue: Buffer
observable

Protected service

service: EncodedMotorService = new EncodedMotorService(this.port.portType, 100)

Protected valueReportThresholdDelta

valueReportThresholdDelta: 1 = 1

Accessors

mode

mode:
computed

position

position:
computed

power

power:
computed

speed

speed:
computed

Methods

brake

  • brake(): void

dispose

  • dispose(): void

drift

  • drift(): void

hold

  • hold(): void

runWithPower

  • runWithPower(power: number): void

runWithSpeed

  • runWithSpeed(speed: number): void

runWithSpeedForDistance

runWithSpeedForDuration

runWithSpeedToPosition

Protected send

  • send(output: Output): void

setMode

setPosition

  • setPosition(position: number): void

Protected toMode

Protected toModeType

Static is

  • is(device?: Device): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc