From 23bfa375edb24bcf6a7c4dc1a72f3f257d2785da Mon Sep 17 00:00:00 2001
From: Paul-Winpenny <92634321+Paul-Winpenny@users.noreply.github.com>
Date: Wed, 15 Jan 2025 19:21:15 +0000
Subject: [PATCH] Graph back to being one that can be parsed.

---
 App/RobobinApp/ViewModels/MainPageViewModel.cs      | 1 +
 ros2/src/robobin/robobin/helpers/message_handler.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/App/RobobinApp/ViewModels/MainPageViewModel.cs b/App/RobobinApp/ViewModels/MainPageViewModel.cs
index 536ae8e3..1eb56a51 100644
--- a/App/RobobinApp/ViewModels/MainPageViewModel.cs
+++ b/App/RobobinApp/ViewModels/MainPageViewModel.cs
@@ -239,6 +239,7 @@ namespace RobobinApp.ViewModels
             }
             else if (e.PropertyName.Equals(nameof(App.WifiManager.Location)))
             {
+                //if (App.WifiManager.Location == (0,0)) return;
                 Debug.WriteLine("NEW LOCATION FOUND!!!!");
                 Location = ((float, float))App.WifiManager.Location;
                 
diff --git a/ros2/src/robobin/robobin/helpers/message_handler.py b/ros2/src/robobin/robobin/helpers/message_handler.py
index 533db517..a95fcfcf 100644
--- a/ros2/src/robobin/robobin/helpers/message_handler.py
+++ b/ros2/src/robobin/robobin/helpers/message_handler.py
@@ -144,7 +144,7 @@ class MessageHandler:
             """Handles the REQMAP command."""
             # Relative path to the JSON file
             working_dir = os.getcwd()
-            graph_file_path =  os.path.abspath(os.path.join(working_dir,"src", "robobin", "robobin", "graphs", "anchors.json"))
+            graph_file_path =  os.path.abspath(os.path.join(working_dir,"src", "robobin", "robobin", "graphs", "graph.json"))
 
             try:
                 # Load the graph JSON file
-- 
GitLab