USB events thread - failed to set priority
ubuntu + openni + nite,出现 Warning:USB events thread - failed to set priority
xn::ImageGenerator imageGen;
nRetVal = imageGen.Create(context);
nRetVal = imageGen.SetMapOutputMode(mapMode);
xn::DepthGenerator depthGen;
nRetVal = depthGen.Create(context);
nRetVal = depthGen.SetMapOutputMode(mapMode);
把后面三行代码放到前面,可去掉warning,不知道什么原因/
xn::DepthGenerator depthGen;
nRetVal = depthGen.Create(context);
nRetVal = depthGen.SetMapOutputMode(mapMode);
xn::ImageGenerator imageGen;
nRetVal = imageGen.Create(context);
nRetVal = imageGen.SetMapOutputMode(mapMode);