moveToPosition abstract method

Future<void> moveToPosition(
  1. List<double> positions,
  2. List<double> speeds, {
  3. Map<String, dynamic>? extra,
})

Move the gantry to a new position in millimeters at the requested speeds in millimeters/second.

await myGantry.moveToPosition([0.0, 20.5], [15, 15]);

For more information, see Gantry component.

Implementation

Future<void> moveToPosition(List<double> positions, List<double> speeds, {Map<String, dynamic>? extra});