Skip to content
Snippets Groups Projects
Commit 23bfa375 authored by Paul-Winpenny's avatar Paul-Winpenny
Browse files

Graph back to being one that can be parsed.

parent 31ce11ec
No related branches found
No related tags found
No related merge requests found
...@@ -239,6 +239,7 @@ namespace RobobinApp.ViewModels ...@@ -239,6 +239,7 @@ namespace RobobinApp.ViewModels
} }
else if (e.PropertyName.Equals(nameof(App.WifiManager.Location))) else if (e.PropertyName.Equals(nameof(App.WifiManager.Location)))
{ {
//if (App.WifiManager.Location == (0,0)) return;
Debug.WriteLine("NEW LOCATION FOUND!!!!"); Debug.WriteLine("NEW LOCATION FOUND!!!!");
Location = ((float, float))App.WifiManager.Location; Location = ((float, float))App.WifiManager.Location;
......
...@@ -144,7 +144,7 @@ class MessageHandler: ...@@ -144,7 +144,7 @@ class MessageHandler:
"""Handles the REQMAP command.""" """Handles the REQMAP command."""
# Relative path to the JSON file # Relative path to the JSON file
working_dir = os.getcwd() 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: try:
# Load the graph JSON file # Load the graph JSON file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment