Skip to content

Commit

Permalink
Activating auction flight plan
Browse files Browse the repository at this point in the history
  • Loading branch information
frankyn committed Dec 2, 2014
1 parent cc50f72 commit 2ffa899
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/java/guru/clevercoder/dronefleet/MapScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,12 @@ private void initSim ( ) {
*/
public ArrayList<ArrayList<LatLng> > generateFlightPlan ( ArrayList<ArdroneAPI> drones, ArrayList<LatLng> drawnPath ) {
// Auction
//Auction coordAuction = new Auction ( );
//ArrayList< ArrayList<LatLng> > flightPlans = coordAuction.auctionPoints ( drones , drawnPath );
Auction coordAuction = new Auction ( );
ArrayList< ArrayList<LatLng> > flightPlans = coordAuction.auctionPoints ( drones , drawnPath );

// SimpleFlightCoordination
SimpleFlightCoordination flightPlanner = new SimpleFlightCoordination();
ArrayList< ArrayList<LatLng> > flightPlans = flightPlanner.generateFlightPlan ( drones , drawnPath );
//SimpleFlightCoordination flightPlanner = new SimpleFlightCoordination();
//ArrayList< ArrayList<LatLng> > flightPlans = flightPlanner.generateFlightPlan ( drones , drawnPath );

return flightPlans;
}
Expand Down

0 comments on commit 2ffa899

Please sign in to comment.