Browse Source

Remove obsolete code (Logging)

Nick Steyer 1 year ago
parent
commit
a9e37222fb

+ 0 - 8
Assembly-CSharp.csproj

@@ -63,7 +63,6 @@
     <Compile Include="Assets\ZED\SDK\Helpers\Scripts\ObjectDetection\DetectedObject.cs" />
     <Compile Include="Assets\ZED\Examples\SpatialMapping\Scripts\EnemyBehavior.cs" />
     <Compile Include="Assets\ZED\Examples\OpenCV ArUco Detection\Scripts\Core\MarkerObject_MoveToMarkerSimple.cs" />
-    <Compile Include="Assets\Logging\Poco\ObjectDataSDK.cs" />
     <Compile Include="Assets\ZED\SDK\NativeInterface\ZEDCameraSettings.cs" />
     <Compile Include="Assets\ZED\Examples\Object Detection\Scripts\ZEDCustomObjDetection.cs" />
     <Compile Include="Assets\ZED\Examples\Dark Room\Scripts\RotateOnAxes.cs" />
@@ -84,11 +83,9 @@
     <Compile Include="Assets\ZED\SDK\Helpers\Scripts\ObjectDetection\DetectionFrame.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\AutoCalibrationManager.cs" />
     <Compile Include="Assets\ZED\Examples\MultiCam\Scripts\CopyToSurface.cs" />
-    <Compile Include="Assets\StreetLight\PersonVisualizer.cs" />
     <Compile Include="Assets\ZED\Examples\OpenCV ArUco Detection\Scripts\Core\ZEDToOpenCVRetriever.cs" />
     <Compile Include="Assets\Pong\Bumper.cs" />
     <Compile Include="Assets\ZED\SDK\Helpers\Scripts\Utilities\GUIMessage.cs" />
-    <Compile Include="Assets\Logging\DetectionFrameLogger.cs" />
     <Compile Include="Assets\StreetLight\Serialization\Vector2Converter.cs" />
     <Compile Include="Assets\ZED\Examples\SpatialMapping\Scripts\NavMeshSurface.cs" />
     <Compile Include="Assets\ZED\SDK\Helpers\Scripts\Interactions\ZEDControllerTracker_DemoInputs.cs" />
@@ -114,7 +111,6 @@
     <Compile Include="Assets\ZED\Examples\Drone Shooter\Scripts\Simple\LaserGun.cs" />
     <Compile Include="Assets\Calibration\CalibrationTestMarkerBehavior.cs" />
     <Compile Include="Assets\ZED\Examples\Planetarium\Scripts\LookAtCamera.cs" />
-    <Compile Include="Assets\Logging\Poco\ObjectsFrameSDK.cs" />
     <Compile Include="Assets\ZED\Examples\GreenScreen\Scripts\GreenScreenManager.cs" />
     <Compile Include="Assets\ZED\Examples\Planetarium\Scripts\PlanetMover.cs" />
     <Compile Include="Assets\ZED\SDK\Helpers\Scripts\MR\ZEDMirror.cs" />
@@ -140,7 +136,6 @@
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\Button3D.cs" />
     <Compile Include="Assets\ZED\Examples\Dark Room\Scripts\RandomDirectionMover.cs" />
     <Compile Include="Assets\ZED\Examples\Drone Shooter\Scripts\Simple\Drone.cs" />
-    <Compile Include="Assets\Logging\ILogger.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\MessageDisplay.cs" />
     <Compile Include="Assets\ZED\Examples\Planetarium\Scripts\PlanetariumMover.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\TranslateControl.cs" />
@@ -166,14 +161,12 @@
     <Compile Include="Assets\ZED\Examples\Dark Room\Scripts\StrobeLight.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\ParentToGrandparentOnStart.cs" />
     <Compile Include="Assets\ZED\Examples\OpenCV ArUco Detection\Scripts\Core\MarkerObject.cs" />
-    <Compile Include="Assets\Logging\Poco\DetectionFrame.cs" />
     <Compile Include="Assets\ZED\SDK\Helpers\Scripts\Utilities\ZEDDefineHandler.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\ChooseTrackedObjectButton.cs" />
     <Compile Include="Assets\ZED\Examples\Drone Shooter\Scripts\Utilities\DestroyAfterTime.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\ForceTrackingSpaceType.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\ClickButton.cs" />
     <Compile Include="Assets\ZED\Examples\Object Detection\Scripts\BBox3DHandler.cs" />
-    <Compile Include="Assets\ZED\SDK\Helpers\Scripts\LoggingZEDManager.cs" />
     <Compile Include="Assets\ZED\Examples\Plane Detection\Scripts\Bunny.cs" />
     <Compile Include="Assets\Calibration\CalibrationMarkerBehavior.cs" />
     <Compile Include="Assets\ZED\Examples\Plane Detection\Scripts\Capsule.cs" />
@@ -197,7 +190,6 @@
     <Compile Include="Assets\StreetLight\Poco\Person.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\TempAudioObject.cs" />
     <Compile Include="Assets\ZED\SDK\Helpers\Scripts\Utilities\Utils.cs" />
-    <Compile Include="Assets\Logging\Poco\DetectedObject.cs" />
     <Compile Include="Assets\ZED\Examples\GreenScreen\Scripts\GarbageMatte.cs" />
     <Compile Include="Assets\ZED\Tools\Mixed Reality Calibration\Scripts\SpotlightFollow.cs" />
     <Compile Include="Assets\ZED\SDK\NativeInterface\ZEDLayersManager.cs" />

+ 0 - 8
Assets/Logging.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5badd69bdb9428842a905a2e953bea2d
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 120
Assets/Logging/DetectionFrameLogger.cs

@@ -1,120 +0,0 @@
-using Newtonsoft.Json;
-using System;
-using System.IO;
-using System.Text;
-using UnityEngine;
-using UnityEngine.Networking;
-
-namespace Assets.Logging
-{
-    internal class DetectionFrameLogger : ILogger<DetectionFrame>
-    {
-        public void Log(DetectionFrame frame)
-        {
-            var pocoFrame = new Poco.DetectionFrame()
-            {
-                RawObjectsFrame = new Poco.ObjectsFrameSDK
-                {
-                    DetectionModel = frame.rawObjectsFrame.detectionModel,
-                    IsNew = frame.rawObjectsFrame.isNew,
-                    IsTracked = frame.rawObjectsFrame.isTracked,
-                    NumObject = frame.rawObjectsFrame.numObject,
-                    Timestamp = frame.rawObjectsFrame.timestamp
-                }
-            };
-
-            foreach (var detectedObject in frame.detectedObjects)
-            {
-                pocoFrame.DetectedObjects.Add(new Poco.DetectedObject
-                {
-                    RawObjectData = new Poco.ObjectDataSDK()
-                    {
-                        actionState = detectedObject.actionState,
-                        confidence = detectedObject.confidence,
-                        globalRootOrientation = detectedObject.rawObjectData.globalRootOrientation,
-                        headBoundingBox = detectedObject.rawObjectData.headBoundingBox,
-                        headWorldPosition = detectedObject.rawObjectData.headWorldPosition,
-                        id = detectedObject.rawObjectData.id,
-                        imageBoundingBox = detectedObject.rawObjectData.imageBoundingBox,
-                        keypointConfidence = detectedObject.rawObjectData.keypointConfidence,
-                        localOrientationPerJoint = detectedObject.rawObjectData.localOrientationPerJoint,
-                        localPositionPerJoint = detectedObject.rawObjectData.localPositionPerJoint,
-                        mask = detectedObject.rawObjectData.mask,
-                        objectClass = detectedObject.objectClass,
-                        objectSubClass = detectedObject.objectSubClass,
-                        objectTrackingState = detectedObject.rawObjectData.objectTrackingState,
-                        positionCovariance = detectedObject.rawObjectData.positionCovariance,
-                        rawLabel = detectedObject.rawObjectData.rawLabel,
-                        rootWorldPosition = detectedObject.rawObjectData.rootWorldPosition,
-                        rootWorldVelocity = detectedObject.rawObjectData.rootWorldVelocity,
-                        skeletonJointPosition2D = detectedObject.rawObjectData.skeletonJointPosition2D,
-                        skeletonJointPosition = detectedObject.rawObjectData.skeletonJointPosition,
-                        uniqueObjectId = detectedObject.rawObjectData.uniqueObjectId,
-                        worldBoundingBox = detectedObject.rawObjectData.worldBoundingBox
-                    }
-                });
-            }
-
-            string json = JsonConvert.SerializeObject(pocoFrame, new Vector2Converter(), new Vector3Converter(), new QuaternionConverter());
-
-            File.AppendAllText(@".\log.txt", json);
-        }
-    }
-
-    public class Vector2Converter : JsonConverter
-    {
-        public override bool CanConvert(Type objectType)
-        {
-            return objectType == typeof(Vector2);
-        }
-
-        public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
-        {
-            return new Vector2();
-        }
-
-        public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
-        {
-            var vector = (Vector2)value;
-            writer.WriteValue($"({vector.x}|{vector.y})");
-        }
-    }
-
-    public class Vector3Converter : JsonConverter
-    {
-        public override bool CanConvert(Type objectType)
-        {
-            return objectType == typeof(Vector3);
-        }
-
-        public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
-        {
-            return new Vector3();
-        }
-
-        public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
-        {
-            var vector = (Vector3)value;
-            writer.WriteValue($"({vector.x}|{vector.y}|{vector.z})");
-        }
-    }
-
-    public class QuaternionConverter : JsonConverter
-    {
-        public override bool CanConvert(Type objectType)
-        {
-            return objectType == typeof(Quaternion);
-        }
-
-        public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
-        {
-            return new Quaternion();
-        }
-
-        public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
-        {
-            var vector = (Quaternion)value;
-            writer.WriteValue($"({vector.x}|{vector.y}|{vector.z}|{vector.w})");
-        }
-    }
-}

+ 0 - 11
Assets/Logging/DetectionFrameLogger.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 61d3d8d41102f6c4cb3459abcc647686
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 7
Assets/Logging/ILogger.cs

@@ -1,7 +0,0 @@
-namespace Assets.Logging
-{
-    interface ILogger<in TClass>
-    {
-        void Log(TClass objectToLog);
-    }
-}

+ 0 - 11
Assets/Logging/ILogger.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7f29196108dc0ae40af11a8ff976265d
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/Logging/Poco.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: bd89d4307580341498a6268b2707f5df
-folderAsset: yes
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 7
Assets/Logging/Poco/DetectedObject.cs

@@ -1,7 +0,0 @@
-namespace Assets.Logging.Poco
-{
-    public class DetectedObject
-    {
-        public ObjectDataSDK RawObjectData { get; set; }
-    }
-}

+ 0 - 11
Assets/Logging/Poco/DetectedObject.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 21147163a83f56e418ec227929ded6d6
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 13
Assets/Logging/Poco/DetectionFrame.cs

@@ -1,13 +0,0 @@
-using System.Collections.Generic;
-
-namespace Assets.Logging.Poco
-{
-    public class DetectionFrame
-    {
-        public Poco.ObjectsFrameSDK RawObjectsFrame { get; set; }
-
-        private List<DetectedObject> detObjects = new List<DetectedObject>();
-
-        public List<DetectedObject> DetectedObjects => detObjects;
-    }
-}

+ 0 - 11
Assets/Logging/Poco/DetectionFrame.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 13341be3ec8cdc146bf00f3b0e8d7544
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 38
Assets/Logging/Poco/ObjectDataSDK.cs

@@ -1,38 +0,0 @@
-using UnityEngine;
-
-namespace Assets.Logging.Poco
-{
-    public class ObjectDataSDK
-    {
-        public int id;
-        public string uniqueObjectId;
-        public int rawLabel;
-        public sl.OBJECT_CLASS objectClass;
-        public sl.OBJECT_SUBCLASS objectSubClass;
-        public sl.OBJECT_TRACK_STATE objectTrackingState;
-        public sl.OBJECT_ACTION_STATE actionState;
-        public float confidence;
-
-        public System.IntPtr mask;
-        public Vector2[] imageBoundingBox;
-
-
-        public Vector3 rootWorldPosition; //object root position
-        public Vector3 headWorldPosition; //object head position (only for HUMAN detectionModel)
-        public Vector3 rootWorldVelocity; //object root velocity
-
-
-        public Vector3[] worldBoundingBox; // 3D Bounding Box of object
-        public Vector3[] headBoundingBox;// 3D Bounding Box of head (only for HUMAN detectionModel)
-
-        public Vector2[] skeletonJointPosition2D;// 2D position of the joints of the skeleton
-        public Vector3[] skeletonJointPosition;// 3D position of the joints of the skeleton
-        public float[] positionCovariance;// covariance matrix of the 3d position, represented by its upper triangular matrix value
-
-        public float[] keypointConfidence;
-
-        public Vector3[] localPositionPerJoint;
-        public Quaternion[] localOrientationPerJoint;
-        public Quaternion globalRootOrientation;
-    }
-}

+ 0 - 11
Assets/Logging/Poco/ObjectDataSDK.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 33c29bb21b69f734fac09011e134f72b
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
Assets/Logging/Poco/ObjectsFrameSDK.cs

@@ -1,11 +0,0 @@
-namespace Assets.Logging.Poco
-{
-    public class ObjectsFrameSDK
-    {
-        public int NumObject { get; set; }
-        public ulong Timestamp { get; set; }
-        public int IsNew { get; set; }
-        public int IsTracked { get; set; }
-        public sl.DETECTION_MODEL DetectionModel { get; set; }
-    }
-}

+ 0 - 11
Assets/Logging/Poco/ObjectsFrameSDK.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7f353ead75bcfd3499b7acd7d28a68e4
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 167
Assets/StreetLight/PersonVisualizer.cs

@@ -1,167 +0,0 @@
-using Assets.StreetLight.Poco;
-using Assets.StreetLight.Scripts;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-
-namespace Assets.StreetLight
-{
-    public class PersonVisualizer : MonoBehaviour
-    {
-        PersonManager PersonManager => personManagerLazy.Value;
-        Lazy<PersonManager> personManagerLazy;
-
-        public GameObject boundingBoxPrefab;
-
-        IDictionary<int, GameObject> markers = new Dictionary<int, GameObject>();
-
-        private void Awake()
-        {
-            personManagerLazy = new Lazy<PersonManager>(FindObjectOfType<PersonManager>);
-        }
-
-        GameObject[] spheres;
-
-        void Start()
-        {
-            spheres = new GameObject[] { GameObject.CreatePrimitive(PrimitiveType.Sphere), GameObject.CreatePrimitive(PrimitiveType.Sphere) };
-        }
-
-        void Update()
-        {
-            int count = 0;
-            foreach (var person in PersonManager.Persons.OrderBy(p => p.Id))
-            {
-                GameObject sphere = spheres[count];
-                var unityPosition = person.GetUnityPosition();
-                sphere.transform.position = new Vector3(unityPosition.x, unityPosition.y, unityPosition.z);
-                count++;
-            }
-        }
-
-        float GroundPositionToSceneCoordinate(float minValue, float actualValue)
-        {
-            return 0;
-        }
-
-        private void ReturnBoxToPool(int id, RectTransform bbox)
-        {
-            bbox.gameObject.SetActive(false);
-            bbox.name = "Unused";
-
-            bboxPool.Push(bbox.gameObject);
-
-            if (liveBBoxes.ContainsKey(id))
-            {
-                liveBBoxes.Remove(id);
-            }
-            else
-            {
-                Debug.LogError("Tried to remove object ID " + id + " from active bboxes, but it wasn't in the dictionary.");
-            }
-        }
-
-        private Dictionary<int, RectTransform> liveBBoxes = new Dictionary<int, RectTransform>();
-        private Dictionary<int, Color> idColorDict = new Dictionary<int, Color>();
-
-        private Stack<GameObject> bboxPool = new Stack<GameObject>();
-
-        /// <summary>
-        /// Returs the RectTransform within the GameObject (instantiated from boundingBoxPrefab) that represents the provided DetectedObject.
-        /// If none exists, it retrieves one from the pool (or instantiates a new one if none is available) and
-        /// sets it up with the proper ID and colors.
-        /// </summary>
-        private RectTransform GetBBoxForObject(Person dobj)
-        {
-            if (!liveBBoxes.ContainsKey(dobj.Id))
-            {
-                GameObject newbox = GetAvailableBBox();
-                //newbox.transform.SetParent(canvas.transform, false);
-                newbox.name = "Object #" + dobj.Id;
-
-                Color col;
-                if (idColorDict.ContainsKey(dobj.Id))
-                {
-                    col = idColorDict[dobj.Id];
-                }
-                else
-                {
-                    col = GetNextColor();
-                    idColorDict.Add(dobj.Id, col);
-                }
-
-                BBox2DHandler boxhandler = newbox.GetComponent<BBox2DHandler>();
-                if (boxhandler)
-                {
-                    boxhandler.SetColor(col);
-                    boxhandler.SetID(dobj.Id);
-                }
-
-
-                RectTransform newrecttrans = newbox.GetComponent<RectTransform>();
-                if (!newrecttrans)
-                {
-                    Debug.LogError("BBox prefab needs a RectTransform in the root object.");
-                    return null;
-                }
-
-                liveBBoxes[dobj.Id] = newrecttrans;
-                return newrecttrans;
-            }
-            else return liveBBoxes[dobj.Id];
-
-        }
-
-        public List<Color> boxColors = new List<Color>()
-    {
-        new Color(.231f, .909f, .69f, 1),
-        new Color(.098f, .686f, .816f, 1),
-        new Color(.412f, .4f, .804f, 1),
-        new Color(1, .725f, 0f, 1),
-        new Color(.989f, .388f, .419f, 1)
-    };
-
-        private int nextColorIndex = 0;
-
-        private Color GetNextColor()
-        {
-            if (boxColors.Count == 0)
-            {
-                return new Color(.043f, .808f, .435f, 1);
-            }
-
-            if (nextColorIndex >= boxColors.Count)
-            {
-                nextColorIndex = 0;
-            }
-
-            Color returncol = boxColors[nextColorIndex];
-
-            nextColorIndex++;
-
-
-            return returncol;
-        }
-
-        /// <summary>
-        /// Gets an available GameObject (instantiated from boundingBoxPrefab) from the pool,
-        /// or instantiates a new one if none are available.
-        /// </summary>
-        /// <returns></returns>
-        private GameObject GetAvailableBBox()
-        {
-            if (bboxPool.Count == 0)
-            {
-                GameObject newbbox = Instantiate(boundingBoxPrefab);
-                newbbox.transform.SetParent(transform, false);
-                bboxPool.Push(newbbox);
-            }
-
-            GameObject bbox = bboxPool.Pop();
-            bbox.SetActive(true);
-
-            return bbox;
-        }
-    }
-}

+ 0 - 11
Assets/StreetLight/PersonVisualizer.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a1c81feb799b9d647990a8248fce3cd8
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 1 - 3
Assets/ZED/Examples/Object Detection/Scripts/ZED3DObjectVisualizer.cs

@@ -2,8 +2,6 @@
 using System.Collections;
 using System.Collections.Generic;
 using System.Linq;
-using Assets.Logging;
-using Assets.ZED.SDK.Helpers.Scripts;
 using UnityEngine;
 using UnityEngine.UIElements;
 
@@ -144,7 +142,7 @@ public class ZED3DObjectVisualizer : MonoBehaviour
 
     private void Awake()
     {
-        zedManagerLazy = new(new LoggingZEDManager(FindObjectOfType<ZEDManager>(), new DetectionFrameLogger()));
+        zedManagerLazy = new(() => FindObjectOfType<ZEDManager>());
     }
 
     void Start()

+ 0 - 52
Assets/ZED/SDK/Helpers/Scripts/LoggingZEDManager.cs

@@ -1,52 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Assets.Logging;
-using sl;
-using static ZEDManager;
-
-namespace Assets.ZED.SDK.Helpers.Scripts
-{
-    internal class LoggingZEDManager : IZEDManager
-    {
-        readonly ZEDManager zedManager;
-        readonly ILogger<DetectionFrame> detectionFrameLogger;
-
-        public LoggingZEDManager(ZEDManager zedManager, ILogger<DetectionFrame> detectionFrameLogger)
-        {
-            this.zedManager = zedManager;
-            this.detectionFrameLogger = detectionFrameLogger;
-            zedManager.OnObjectDetection += ZedManager_OnObjectDetection;
-        }
-
-        void ZedManager_OnObjectDetection(DetectionFrame objFrame)
-        {
-            detectionFrameLogger.Log(objFrame);
-        }
-
-        public bool IsObjectDetectionRunning => zedManager.IsObjectDetectionRunning;
-
-        public bool EstimateInitialPosition => zedManager.EstimateInitialPosition;
-
-        public DETECTION_MODEL ObjectDetectionModel => zedManager.ObjectDetectionModel;
-
-        public event ZEDManager.onNewDetectionTriggerDelegate OnObjectDetection
-        {
-            add => zedManager.OnObjectDetection += value;
-            remove => zedManager.OnObjectDetection -= value;
-        }
-
-        public event ZEDManager.OnZEDManagerReady OnZEDReady
-        {
-            add => zedManager.OnZEDReady += value;
-            remove => zedManager.OnZEDReady -= value;
-        }
-
-        public void StartObjectDetection()
-        {
-            zedManager.StartObjectDetection();
-        }
-    }
-}

+ 0 - 11
Assets/ZED/SDK/Helpers/Scripts/LoggingZEDManager.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 481b10ac0c1e99d4c835c1c8a6b886dc
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: