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