/// <summary> /// Initializes a new instance of the <see cref="UAV.Simulation.Simulation"/> class. /// </summary> public Simulation() { CurrentEpoch = 0; State = new WorldState(); }
public Vector2D ComputeCommand(WorldState worldState, Vector2D baseCommand) { return((worldState.CurrentTarget - worldState.DroneLocation).GetNormalized()); }