<div dir="ltr">Hi Francisco,<div><br></div><div>Thank you so much for your quick response.</div><div><br></div><div>Is this a bug?</div><div><br></div><div>Sorry, I can&#39;t see the source code lines in your Email, would you please send them again?</div><div><br></div><div>Really appreciate your help.</div><div><br></div><div>Regards,</div><div>Lihang</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 30, 2015 at 6:00 PM, Francisco Pérez <span dir="ltr">&lt;<a href="mailto:f.perez475@gmail.com" target="_blank">f.perez475@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Lihang,<br>
<br>
if you are trying to run the newest version of kinect plugin it won&#39;t work<br>
with rgbdViewer unless you add 2 lines in the plugin (kinectPlugin.cc).<br>
These 2 lines are the following:<br>
<br>
In the constructor of the cameraI class and cameraII class you have to add<br>
<br>
<br>
The constructor should be like:<br>
<br>
<br>
This is because rgbdViewer calls the cameraClient constructor, which needs a<br>
name of the camera for the logger. This line (cameraClient.cpp):<br>
<br>
        jderobot::Logger::getInstance()-&gt;info(&quot;Negotiated format &quot; +<br>
this-&gt;mImageFormat + &quot; for camera &quot; +<br>
*this-&gt;prx-&gt;getCameraDescription()-&gt;name)*;<br>
<br>
if you add a name for the camera as shown above it should work without<br>
nullhandledexception.<br>
<br>
Cheers<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-rgbdViwer-won-t-run-after-throwing-an-exception-tp4642690p4642691.html" target="_blank">http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-rgbdViwer-won-t-run-after-throwing-an-exception-tp4642690p4642691.html</a><br>
Sent from the Jderobot Developer List mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Jde-developers mailing list<br>
<a href="mailto:Jde-developers@gsyc.es">Jde-developers@gsyc.es</a><br>
<a href="http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers" target="_blank">http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-family:宋体;font-size:14px;line-height:21px"><span style="font-size:10.5pt">Lihang Li<br>National Laboratory of Pattern Recognition (NLPR)<br>Institute of Automation, Chinese Academy of Sciences (IACAS)<br>95 Zhongguancun East Road<br>Beijing 100190, CHINA<br>Tel: <a value="+8613811582143" style="color:rgb(17,85,204)">+86-13811582143</a></span></div><div style="font-family:宋体;font-size:14px;line-height:21px"><span style="font-size:10.5pt">Website: <a href="http://hustcalm.me/" style="color:rgb(17,85,204);margin-bottom:0px;margin-top:0px" target="_blank">http://hustcalm.me</a></span></div><div style="font-family:宋体;font-size:14px;line-height:21px">GoogleGroups:<a href="https://groups.google.com/forum/?hl=zh-CN#!forum/open-cas" target="_blank">https://groups.google.com/forum/?hl=zh-CN#!forum/open-cas</a></div></div></div>
</div>