AutonomyAStarState.start constructor
- {required AutonomyInterface collection,
- required GpsCoordinates goal}
Implementation
factory AutonomyAStarState.start({
required AutonomyInterface collection,
required GpsCoordinates goal,
}) => AutonomyAStarState(
position: collection.gps.coordinates,
goal: goal,
collection: collection,
direction: DriveDirection.stop,
orientation: collection.imu.orientation!,
depth: 0,
);