[Jderobot-admin] jderobot-r1238 - trunk/src/stable/components/openni1Server
frivas en jderobot.org
frivas en jderobot.org
Vie Jul 18 10:04:27 CEST 2014
Author: frivas
Date: 2014-07-18 10:04:26 +0200 (Fri, 18 Jul 2014)
New Revision: 1238
Modified:
trunk/src/stable/components/openni1Server/openni1Server.cfg
trunk/src/stable/components/openni1Server/openni1Server.cpp
Log:
[#278] Fixed double free and configuration issues in openni1Server
Modified: trunk/src/stable/components/openni1Server/openni1Server.cfg
===================================================================
--- trunk/src/stable/components/openni1Server/openni1Server.cfg 2014-06-24 18:13:14 UTC (rev 1237)
+++ trunk/src/stable/components/openni1Server/openni1Server.cfg 2014-07-18 08:04:26 UTC (rev 1238)
@@ -4,8 +4,8 @@
#cameras configuration
openni1Server.NCameras=1
openni1Server.PlayerDetection=1
-openni1Server.Width=320
-openni1Server.Height=240
+openni1Server.Width=640
+openni1Server.Height=480
openni1Server.Fps=25
#camera 1
Modified: trunk/src/stable/components/openni1Server/openni1Server.cpp
===================================================================
--- trunk/src/stable/components/openni1Server/openni1Server.cpp 2014-06-24 18:13:14 UTC (rev 1237)
+++ trunk/src/stable/components/openni1Server/openni1Server.cpp 2014-07-18 08:04:26 UTC (rev 1238)
@@ -1467,7 +1467,7 @@
{
std::cout << aModeR[j].nXRes << " * " << aModeR[j].nYRes << " @" << aModeR[j].nFPS << "FPS" << std::endl;
}
- delete[] aModeD;
+ delete[] aModeR;
sensors[i].depth.SetMapOutputMode(aModeR[2]);
More information about the Jderobot-admin
mailing list