followPath method

Future<void> followPath(
  1. List<AutonomyAStarState> path
)

Implementation

Future<void> followPath(List<AutonomyAStarState> path) async {
  for (final state in path) {
    await goDirection(state.direction);
  }
}