Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

v0.91 - Removed an unnecessary USB set interface command that caused …

…problems on Linux & Mac.
  • Loading branch information...
commit 405022883a1b1929a00fbf684ce8b3b962d3e1d5 1 parent a97e07f
Avin authored
5  README
@@ -9,10 +9,13 @@ You must use this kinect mod version with the unstable OpenNI release which is a
9 9
 http://www.openni.org/Downloads/OpenNIModules.aspx
10 10
 
11 11
 Changes:
  12
+v0.91:
  13
+	1) Removed an unnecessary USB set interface command that caused timeout problems on Linux & Mac.
  14
+
12 15
 v0.9:
13 16
 	1) Updated codebase to the latest OpenNI / Sensor version (1.5.2.7 / 5.1.0.25)
14 17
 	2) Changed the Bayer-to-RGB function to use the ROS (www.ros.org) code as requested by many community members.
15  
-       (Thanks to Suat Gedikli from Willow Garage for writing the code and to Raphael Dumusc for the OpenNI adaptation!)
  18
+	   (Thanks to Suat Gedikli from Willow Garage for writing the code and to Raphael Dumusc for the OpenNI adaptation!)
16 19
 
17 20
 v0.8:
18 21
 	1) Updated codebase to the latest OpenNI / Sensor version (1.4.0.2 / 5.0.5.1)
4  Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp
@@ -145,10 +145,12 @@ XnStatus XnSensorIO::OpenDataEndPoints(XnSensorUsbInterface nInterface, const Xn
145 145
 			XN_ASSERT(FALSE);
146 146
 			XN_LOG_WARNING_RETURN(XN_STATUS_USB_INTERFACE_NOT_SUPPORTED, XN_MASK_DEVICE_IO, "Unknown interface type: %d", nInterface);
147 147
 		}
148  
-
  148
+// --avin mod--
  149
+/*
149 150
 		xnLogVerbose(XN_MASK_DEVICE_IO, "Setting USB alternative interface to %d...", nAlternativeInterface);
150 151
 		nRetVal = xnUSBSetInterface(m_pSensorHandle->USBDevice, 0, nAlternativeInterface);
151 152
 		XN_IS_STATUS_OK(nRetVal);
  153
+*/
152 154
 	}
153 155
 
154 156
 	xnLogVerbose(XN_MASK_DEVICE_IO, "Opening endpoints...");

0 notes on commit 4050228

Please sign in to comment.
Something went wrong with that request. Please try again.