[Jderobot-admin] jderobot-r892 - trunk/src/components/pluginsGazebo/kinect

ahcorde en jderobot.org ahcorde en jderobot.org
Vie Mar 22 12:21:05 CET 2013


Author: ahcorde
Date: 2013-03-22 12:20:05 +0100 (Fri, 22 Mar 2013)
New Revision: 892

Modified:
   trunk/src/components/pluginsGazebo/kinect/kinectPlugin.cc
Log:
[ahcorde] Cambio de nombres en el plugin de kinect por reglas de nombre


Modified: trunk/src/components/pluginsGazebo/kinect/kinectPlugin.cc
===================================================================
--- trunk/src/components/pluginsGazebo/kinect/kinectPlugin.cc	2013-03-22 11:17:11 UTC (rev 891)
+++ trunk/src/components/pluginsGazebo/kinect/kinectPlugin.cc	2013-03-22 11:20:05 UTC (rev 892)
@@ -597,13 +597,13 @@
 
 		jderobotice::Context context;
 
-        Ice::ObjectPtr object = new KinectI(std::string("KinectGazebo"), context, kinect);
-        Ice::ObjectPtr object2 = new CameraI(std::string("KinectGazebo"), context, kinect);
-        Ice::ObjectPtr object3 = new CameraII(std::string("KinectGazebo"), context, kinect);
+        Ice::ObjectPtr object = new KinectI(std::string("pointcloud1"), context, kinect);
+        Ice::ObjectPtr object2 = new CameraI(std::string("cameraRGB"), context, kinect);
+        Ice::ObjectPtr object3 = new CameraII(std::string("cameraDepth"), context, kinect);
 
-        adapter->add(object, ic->stringToIdentity("Kinect"));
-        adapter->add(object2, ic->stringToIdentity("KinectRGB"));
-        adapter->add(object3, ic->stringToIdentity("KinectDepth"));
+        adapter->add(object, ic->stringToIdentity("pointcloud1"));
+        adapter->add(object2, ic->stringToIdentity("cameraRGB"));
+        adapter->add(object3, ic->stringToIdentity("cameraDepth"));
         std::cout << "        adapter->add(object, ic->stringToIdentity(Kinect)); "  << std::endl;
         adapter->activate();
         ic->waitForShutdown();



More information about the Jderobot-admin mailing list