[JdeRobot] rgbdViwer won't run after throwing an exception

Francisco Pérez f.perez475 at gmail.com
Sat May 30 12:00:19 CEST 2015


Hi Lihang,

if you are trying to run the newest version of kinect plugin it won't work
with rgbdViewer unless you add 2 lines in the plugin (kinectPlugin.cc).
These 2 lines are the following:

In the constructor of the cameraI class and cameraII class you have to add 


The constructor should be like:


This is because rgbdViewer calls the cameraClient constructor, which needs a
name of the camera for the logger. This line (cameraClient.cpp):

	jderobot::Logger::getInstance()->info("Negotiated format " +
this->mImageFormat + " for camera " +
*this->prx->getCameraDescription()->name)*;

if you add a name for the camera as shown above it should work without
nullhandledexception.

Cheers



--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-rgbdViwer-won-t-run-after-throwing-an-exception-tp4642690p4642691.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list