diff --git a/App/RobobinApp/ViewModels/MainPageViewModel.cs b/App/RobobinApp/ViewModels/MainPageViewModel.cs index 536ae8e31f87b1dbcad4ced19da53555b6cbcd31..1eb56a51bc0920d75029071f84cd909967fe75d5 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 533db517abbbe89d081780c72625426c0198438d..a95fcfcfbe70432c8cea5fe214dd2327542575a3 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