示例#1
0
        private void InitializeMotionTracking(string uuid)
        {
            var config = ConfigInitialize.SetupTangoConfigForNavigating(tango, uuid);

            try
            {
                tango.Connect(config);
                TangoAddListeners();
            }
            catch (TangoOutOfDateException e)
            {
                Log.Error(Tag, "TangoOutOfDateException", e);
            }
            catch (TangoErrorException e)
            {
                Log.Error(Tag, "TangoErrorException", e);
            }
            catch (TangoInvalidException e)
            {
                Log.Error(Tag, "TangoInvalidException", e);
            }
        }
示例#2
0
        private TangoConfig GetTangoConfig(Tango tango)
        {
            var config = ConfigInitialize.SetupTangoConfigForRecording(tango);

            return(config);
        }