Add zmq port to settings, slam view to slam controller page.

This commit is contained in:
Piv
2020-02-06 21:43:12 +10:30
parent b78f3177a6
commit 449f604c2b
3 changed files with 22 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ public class SlamView extends SurfaceView implements Runnable {
context = new ZContext();
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
host = prefs.getString("host", "10.0.0.53");
port = prefs.getString("port", "50051");
port = prefs.getString("zmqPort", "5050");
}
@Override