Quantcast

Rosmake perception_pcl_addons fails

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Rosmake perception_pcl_addons fails

lucaghera
Hi all,

I'm trying to compile the stacks perception-pcl-addons on Ubuntu with Ros Diamondback.

svn co https://code.ros.org/svn/ros-pkg/stacks/perception_pcl_addons/trunk/ perception_pcl_addons
rosmake perception_pcl_addons

It returns me the following error:

> [ 15%] Building CXX object CMakeFiles/pcl_visualization.dir/src/libpcl_visualization/interactor_style.o
>   In file included from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/src/libpcl_visualization/point_cloud_handlers.hpp:38,
>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/point_cloud_handlers.h:731,
>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/common/actor_map.h:40,
>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/common/io.h:40,
>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/src/libpcl_visualization/interactor_style.cpp:39:
>   /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/terminal_tools/include/terminal_tools/time.h:41: fatal error: pcl/console/print.h: No such file or directory

I looked for a solution and the only one I found is checking out the version 36904 (http://ros-users.122217.n3.nabble.com/perception-pcl-addons-stack-compile-problem-td3027851.html).
Is it the only possible fix?
 Thanks,
Luca

P.S: I don't know whether it is the right mailing list or the Ros one would be better. In case it isn't sorry!
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Rosmake perception_pcl_addons fails

Michael Dixon
Hi Luca,

There have been a couple changes to the PCL API after diamondback was
released, and that required us to make some changes to the
perception_pcl_addons stack.  So that's why the trunk of
perception_pcl_addons will no longer work with the version of
perception_pcl in the diamondback release.  Using the version of
perception_pcl_addons that was included in diamondback should work for
you.  Try this instead:

svn co https://code.ros.org/svn/ros-pkg/stacks/perception_pcl_addons/tags/diamondback/
perception_pcl_addons

If that doesn't work for you, or if I misunderstood your problem,
please let me know.

-Michael

On Mon, Aug 22, 2011 at 9:35 AM, Luca Gherardi <[hidden email]> wrote:

> Hi all,
>
> I'm trying to compile the stacks perception-pcl-addons on Ubuntu with Ros Diamondback.
>
> svn co https://code.ros.org/svn/ros-pkg/stacks/perception_pcl_addons/trunk/ perception_pcl_addons
> rosmake perception_pcl_addons
>
> It returns me the following error:
>
>> [ 15%] Building CXX object CMakeFiles/pcl_visualization.dir/src/libpcl_visualization/interactor_style.o
>>   In file included from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/src/libpcl_visualization/point_cloud_handlers.hpp:38,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/point_cloud_handlers.h:731,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/common/actor_map.h:40,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/common/io.h:40,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/src/libpcl_visualization/interactor_style.cpp:39:
>>   /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/terminal_tools/include/terminal_tools/time.h:41: fatal error: pcl/console/print.h: No such file or directory
>
> I looked for a solution and the only one I found is checking out the version 36904 (http://ros-users.122217.n3.nabble.com/perception-pcl-addons-stack-compile-problem-td3027851.html).
> Is it the only possible fix?
>  Thanks,
> Luca
>
> P.S: I don't know whether it is the right mailing list or the Ros one would be better. In case it isn't sorry!
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
>
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Rosmake perception_pcl_addons fails

lucaghera
Hi Michael,

first of all thanks!

I don't know why but I was sure that I had tried to compile the same repository and it didn't worked...
anyway now it works.

However I have a problem:
it seems that the class PCLVisualizer doesn't have the method addPolygonMesh. Is it true?
In the svn version in mentioned in the previous post I was able to use that method.
I need it in order to represent the result of a triangulation.
Alternatively is there a viewer for visualizing ".pcd" and ".vtk"? I'm used to Meshlab but it doesn't read those files.

Thanks,
Luca

Michael Dixon wrote
Hi Luca,

There have been a couple changes to the PCL API after diamondback was
released, and that required us to make some changes to the
perception_pcl_addons stack.  So that's why the trunk of
perception_pcl_addons will no longer work with the version of
perception_pcl in the diamondback release.  Using the version of
perception_pcl_addons that was included in diamondback should work for
you.  Try this instead:

svn co https://code.ros.org/svn/ros-pkg/stacks/perception_pcl_addons/tags/diamondback/
perception_pcl_addons

If that doesn't work for you, or if I misunderstood your problem,
please let me know.

-Michael

On Mon, Aug 22, 2011 at 9:35 AM, Luca Gherardi <[hidden email]> wrote:
> Hi all,
>
> I'm trying to compile the stacks perception-pcl-addons on Ubuntu with Ros Diamondback.
>
> svn co https://code.ros.org/svn/ros-pkg/stacks/perception_pcl_addons/trunk/ perception_pcl_addons
> rosmake perception_pcl_addons
>
> It returns me the following error:
>
>> [ 15%] Building CXX object CMakeFiles/pcl_visualization.dir/src/libpcl_visualization/interactor_style.o
>>   In file included from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/src/libpcl_visualization/point_cloud_handlers.hpp:38,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/point_cloud_handlers.h:731,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/common/actor_map.h:40,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/include/pcl_visualization/common/io.h:40,
>>                    from /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/pcl_visualization/src/libpcl_visualization/interactor_style.cpp:39:
>>   /home/luca/ros-stacks/pcl-staks/perception_pcl_addons/terminal_tools/include/terminal_tools/time.h:41: fatal error: pcl/console/print.h: No such file or directory
>
> I looked for a solution and the only one I found is checking out the version 36904 (http://ros-users.122217.n3.nabble.com/perception-pcl-addons-stack-compile-problem-td3027851.html).
> Is it the only possible fix?
>  Thanks,
> Luca
>
> P.S: I don't know whether it is the right mailing list or the Ros one would be better. In case it isn't sorry!
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
>
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Rosmake perception_pcl_addons fails

Radu B. Rusu
Administrator
Luca,


On 08/23/2011 12:29 AM, lucaghera wrote:

> Alternatively is there a viewer for visualizing ".pcd" and ".vtk"? I'm used
> to Meshlab but it doesn't read those files.

pcd_viewer.

Cheers,
Radu.
--
Point Cloud Library (PCL) - http://pointclouds.org
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Rosmake perception_pcl_addons fails

lucaghera
Hi Radu,

On 23 Aug 2011, at 5:05 PM, Radu B. Rusu wrote:

> Luca,
>
>
> On 08/23/2011 12:29 AM, lucaghera wrote:
>
>> Alternatively is there a viewer for visualizing ".pcd" and ".vtk"? I'm used
>> to Meshlab but it doesn't read those files.
>
> pcd_viewer.

Does it work also with .vtk (PolygonMeshes in my case)?

Thanks,
Luca

>
> Cheers,
> Radu.
> --
> Point Cloud Library (PCL) - http://pointclouds.org


------------------------------------------------------------------------------

Luca Gherardi
PhD Student at University of Bergamo
Dept. of Information Technology and Mathematics
V.le Marconi, 5 - 24044 Dalmine, Italy
Tel +39 333 8396279
Home: http://www.lucagherardi.it




_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Rosmake perception_pcl_addons fails

Radu B. Rusu
Administrator
Luca,

On 08/23/2011 08:09 AM, Luca Gherardi wrote:
>>> Alternatively is there a viewer for visualizing ".pcd" and ".vtk"? I'm used
>>> to Meshlab but it doesn't read those files.
>>
>> pcd_viewer.
>
> Does it work also with .vtk (PolygonMeshes in my case)?

Yes. Just try it and report back any issues. :)

Cheers,
Radu.
--
Point Cloud Library (PCL) - http://pointclouds.org
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Rosmake perception_pcl_addons fails

lucaghera
On 23 Aug 2011, at 5:19 PM, Radu B. Rusu wrote:

> Luca,
>
> On 08/23/2011 08:09 AM, Luca Gherardi wrote:
>>>> Alternatively is there a viewer for visualizing ".pcd" and ".vtk"? I'm used
>>>> to Meshlab but it doesn't read those files.
>>>
>>> pcd_viewer.
>>
>> Does it work also with .vtk (PolygonMeshes in my case)?
>
> Yes. Just try it and report back any issues. :)

Thanks,
I will do it!! As soon as the compilation of the latest version on my virtual machine will be finished ;-) (I cannot find pcd_viewer in osx precompiled library)

Luca

>
> Cheers,
> Radu.
> --
> Point Cloud Library (PCL) - http://pointclouds.org


------------------------------------------------------------------------------

Luca Gherardi
PhD Student at University of Bergamo
Dept. of Information Technology and Mathematics
V.le Marconi, 5 - 24044 Dalmine, Italy
Tel +39 333 8396279
Home: http://www.lucagherardi.it




_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Loading...