Beispiel #1
0
 Boolean IDevice.Init()
 {
     LoadLogger();
     Log.Info("Starting Kinect automation environment...");
     _kinect   = new KinectData(0);
     _kHandler = new KinectHandler(_kinect, this);
     _kHandler.Init();
     if (_kinect.GetSensor() == null)
     {
         Log.Error("Kinect could not be instantiated. Terminating.");
         return(false);
     }
     return(true);
 }
Beispiel #2
0
 Boolean IDevice.Init()
 {
     LoadLogger();
     Log.Info("Starting Kinect automation environment...");
     _kinect = new KinectData(0);
     _kHandler = new KinectHandler(_kinect, this);
     _kHandler.Init();
     if(_kinect.GetSensor() == null)
     {
         Log.Error("Kinect could not be instantiated. Terminating.");
         return false;
     }
     return true;
 }