resetPosition abstract method

Future<void> resetPosition({
  1. Map<String, dynamic>? extra,
})

Set the current position to be the new zero (home) position.

// Set the current position as the new home position.
await myEncoder.resetPosition();

For more information, see Encoder component.

Implementation

Future<void> resetPosition({Map<String, dynamic>? extra});