Send/Receive arbitrary commands to the resource.
The command to execute.
Return the current position either in relative units (ticks away from a zero position) or absolute units (degrees along a circle).
Optional
positionType: EncoderPositionTypeThe type of position the encoder returns (ticks or degrees)
Optional
extra: StructTypeReturn the encoder's properties.
Optional
extra: StructTypeSet the current position of the encoder as the new zero position.
Optional
extra: StructTypeGenerated using TypeDoc
Represents a physical encoder.