From 4edcef4664b02ab61a8b01cb784ec462176a6306 Mon Sep 17 00:00:00 2001 From: Brady Bodily Date: Tue, 15 Dec 2020 18:19:07 -0700 Subject: [PATCH] Created Mine Map and ReactivePlanner --- .../.idea/contentModel.xml | 11 +- .../.idea.RobotIntelFinal/.idea/workspace.xml | 100 ++++++++++++------ ConsoleApp/ConsoleApp.csproj | 2 +- ConsoleApp/CoreModule.cs | 4 +- ConsoleApp/Maps/Cell.cs | 10 +- ConsoleApp/Maps/ICell.cs | 1 + ConsoleApp/Maps/IMapFactory.cs | 3 +- ConsoleApp/Maps/IMineMap.cs | 7 ++ ConsoleApp/Maps/MapExtensions.cs | 20 ++++ ConsoleApp/Maps/MapFactory.cs | 8 +- ConsoleApp/Maps/MineMap.cs | 33 ++++++ ConsoleApp/PathPlanners/IPathPlanner.cs | 5 +- .../PathPlanners/IReactivePathPlanner.cs | 10 ++ ConsoleApp/PathPlanners/PathPlanner.cs | 77 ++++++++++++-- .../PathPlanners/ReactivePathPlanner.cs | 20 ++++ ConsoleApp/Program.cs | 11 +- ConsoleApp/{Vehicle => Sim}/DetectionHead.cs | 8 +- ConsoleApp/{Vehicle => Sim}/IVehicle.cs | 2 +- ConsoleApp/{Vehicle => Sim}/Vehicle.cs | 7 +- .../{Vehicle => Sim}/VehicleConfiguration.cs | 2 +- ConsoleApp/Sim/VehicleConfiguration.json | 6 ++ ConsoleApp/SimRunner.cs | 10 +- ConsoleApp/UserConsole.cs | 30 ++++-- ConsoleApp/Vehicle/VehicleConfiguration.json | 6 -- 24 files changed, 309 insertions(+), 84 deletions(-) create mode 100644 ConsoleApp/Maps/IMineMap.cs create mode 100644 ConsoleApp/Maps/MapExtensions.cs create mode 100644 ConsoleApp/Maps/MineMap.cs create mode 100644 ConsoleApp/PathPlanners/IReactivePathPlanner.cs create mode 100644 ConsoleApp/PathPlanners/ReactivePathPlanner.cs rename ConsoleApp/{Vehicle => Sim}/DetectionHead.cs (71%) rename ConsoleApp/{Vehicle => Sim}/IVehicle.cs (92%) rename ConsoleApp/{Vehicle => Sim}/Vehicle.cs (80%) rename ConsoleApp/{Vehicle => Sim}/VehicleConfiguration.cs (88%) create mode 100644 ConsoleApp/Sim/VehicleConfiguration.json delete mode 100644 ConsoleApp/Vehicle/VehicleConfiguration.json diff --git a/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml b/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml index 2c926b7..83db942 100644 --- a/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml +++ b/.idea/.idea.RobotIntelFinal/.idea/contentModel.xml @@ -20,8 +20,11 @@ + + + @@ -33,18 +36,20 @@ + + - - - + + + diff --git a/.idea/.idea.RobotIntelFinal/.idea/workspace.xml b/.idea/.idea.RobotIntelFinal/.idea/workspace.xml index 0a6ccca..0d747c3 100644 --- a/.idea/.idea.RobotIntelFinal/.idea/workspace.xml +++ b/.idea/.idea.RobotIntelFinal/.idea/workspace.xml @@ -18,23 +18,29 @@ - + + + + + - - - - + + + - + - - - + + + + + + @@ -173,7 +200,7 @@ - + @@ -205,26 +232,39 @@ 34 - -