From f8ce6d0c831f90d9c4bb3630c9cc9bdf901b771f Mon Sep 17 00:00:00 2001 From: Brady Bodily Date: Wed, 16 Dec 2020 04:02:37 -0700 Subject: [PATCH 1/2] Getting close --- .../.idea/contentModel.xml | 7 + .../.idea.RobotIntelFinal/.idea/workspace.xml | 131 ++++++++------- ConsoleApp/ConsoleApp.csproj | 7 + ConsoleApp/Maps/HexMap.cs | 28 ++-- ConsoleApp/Maps/IHexMap.cs | 2 + ConsoleApp/Maps/IMapFactory.cs | 1 - ConsoleApp/Maps/IMineMap.cs | 3 + ConsoleApp/Maps/MapExtensions.cs | 1 - ConsoleApp/Maps/MapFactory.cs | 18 ++- ConsoleApp/Maps/MineMap.cs | 32 +++- ConsoleApp/Maps/SquareMap.cs | 17 +- ConsoleApp/Output/DetectedMines.txt | 7 + ConsoleApp/Output/Mines.txt | 8 + ConsoleApp/Output/SavedList.txt | 150 ++++++++++++++++++ ConsoleApp/Output/test.png | Bin 0 -> 31871 bytes .../PathPlanners/IReactivePathPlanner.cs | 2 + ConsoleApp/PathPlanners/PathPlanner.cs | 53 +++---- .../PathPlanners/ReactivePathPlanner.cs | 32 +++- ConsoleApp/Program.cs | 28 ++++ ConsoleApp/Sim/DetectionHead.cs | 11 +- ConsoleApp/Sim/IVehicle.cs | 7 +- ConsoleApp/Sim/Vehicle.cs | 24 +-- ConsoleApp/Sim/VehicleConfiguration.cs | 1 - ConsoleApp/Sim/VehicleConfiguration.json | 9 +- ConsoleApp/SimRunner.cs | 128 ++++++++++++++- ConsoleApp/UserConsole.cs | 4 +- ConsoleApp/plot.py | 39 +++++ 27 files changed, 587 insertions(+), 163 deletions(-) create mode 100644 ConsoleApp/Output/DetectedMines.txt create mode 100644 ConsoleApp/Output/Mines.txt create mode 100644 ConsoleApp/Output/SavedList.txt create mode 100644 ConsoleApp/Output/test.png create mode 100644 ConsoleApp/plot.py diff --git a/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml b/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml index 83db942..94ec944 100644 --- a/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml +++ b/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml @@ -34,12 +34,19 @@ + + + + + + + diff --git a/.idea/.idea.RobotIntelFinal/.idea/workspace.xml b/.idea/.idea.RobotIntelFinal/.idea/workspace.xml index 0d747c3..8de59d7 100644 --- a/.idea/.idea.RobotIntelFinal/.idea/workspace.xml +++ b/.idea/.idea.RobotIntelFinal/.idea/workspace.xml @@ -18,29 +18,29 @@ - - - - - + - - - + + + + - + + + + + + + + + - - - - - - + - - + - - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + @@ -95,34 +120,37 @@ @@ -140,7 +168,7 @@ - + @@ -200,7 +228,7 @@ - + @@ -240,33 +268,18 @@