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

Lihang Li licalmer at gmail.com
Tue Jun 2 03:53:48 CEST 2015


​Hi Francisco,

Thank you so much, it works!!!

The lines I added to the CameraI and CameraII constructors are:

 cameraDescription = (new jderobot::CameraDescription ());
 cameraDescription->name = propertyPrefix;

I'm gonna open an issue and pull request if there isn't already one.

See the running demo:




​
Cheers,
Lihang
​



On Mon, Jun 1, 2015 at 4:00 PM, Francisco Perez <f.perez475 at gmail.com>
wrote:

> Hi Lihang,
>
> Yes of course! You have to modify CameraI and CameraII nested classes from
> kinectPlugin.cc
> You have to add the following two lines in each constructor:
>
>     cameraDescription = (new jderobot::CameraDescription ());
>     cameraDescription-> name = "name for the camera";
>
> Sorry about the indentation and format of the mail, I am writing it from
> my mobile phone :S
> This solution works if the problem pops out while creating the cameras. If
> this does not work maybe there is another one.
>
> Hope it works,
>
> Cheers.
>



-- 
Lihang Li
National Laboratory of Pattern Recognition (NLPR)
Institute of Automation, Chinese Academy of Sciences (IACAS)
95 Zhongguancun East Road
Beijing 100190, CHINA
Tel: +86-13811582143
Website: http://hustcalm.me
GoogleGroups:https://groups.google.com/forum/?hl=zh-CN#!forum/open-cas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150602/663c4874/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gazebo-rgbdViewer-running.png
Type: image/png
Size: 211884 bytes
Desc: not available
Url : http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150602/663c4874/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gazebo-kinect-running.png
Type: image/png
Size: 125142 bytes
Desc: not available
Url : http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150602/663c4874/attachment-0003.png 


More information about the Jde-developers mailing list