[ros-users] 3rd party libs
Radu Bogdan Rusu
rusu at willowgarage.com
Tue Mar 16 15:38:38 UTC 2010
Andreas,
You are now missing the latest sensor_msgs. :) You can checkout the stack common_msgs somewhere in front of your
ROS_PACKAGE_PATH shell variable:
svn co https://code.ros.org/svn/ros-pkg/stacks/common_msgs/tags/latest common_msgs
After that, you should rosmake point_cloud_converter. Checking out the above stack is also useful if you want to work
with the new Point Cloud Library (PCL) which is in the same package as point_cloud_converter.
Cheers,
Radu.
Andreas Hermann wrote:
> Hi Radu, hi Romain,
>
> thanks for your quick and helpful responses. The main problem was that I
> used the precompiled Ubuntu release and so I had no idea of the
> svn-structures. It is still a bit confusing, where to search for the
> different packages, but I found the deprecated_msgs I need for the
> Swissranger (:
> Still got some compiler errors in point_cloud_converter but I think
> thats a minor problem with incompatible checkouts (see below).
>
> And thanks for the nabbble hint.
>
> Cheers,
> Andreas
>
>
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:49:37:
> error: sensor_msgs/PointCloud2.h: No such file or directory
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:86:
> error: expected unqualified-id before ‘&’ token
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:86:
> error: expected ‘)’ before ‘&’ token
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:86:
> error: expected ‘;’ before ‘&’ token
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:97:
> error: expected ‘;’ before ‘void’
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:98:
> error: expected unqualified-id before ‘&’ token
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:98:
> error: expected ‘)’ before ‘&’ token
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:98:
> error: expected ‘;’ before ‘&’ token
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:267:
> error: expected ‘;’ at end of input
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:267:
> error: expected ‘}’ at end of input
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:
> In constructor ‘PointCloudConverter::PointCloudConverter()’:
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:72:
> error: ‘cloud_cb_pcd’ is not a member of ‘PointCloudConverter’
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:73:
> error: ‘cloud_cb_ros’ is not a member of ‘PointCloudConverter’
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:
> At global scope:
> /home/hermann-local/ros/stacks/point_cloud_perception/point_cloud_converter/src/converter.cpp:78:
> error: expected unqualified-id at end of input
> make[3]: *** [CMakeFiles/point_cloud_converter.dir/src/converter.o]
> Fehler 1
>
>
>
> Radu Bogdan Rusu wrote:
>> Hi Andreas,
>>
>> The easiest thing to do is to update your ros-pkg and wg-ros-pkg
>> trees. I am trying to slowly deprecate point_cloud_mapping, though it
>> might take at least half a year before we succeed in doing that, given
>> that it's used by a lot of packages at the moment.
>>
>> The replacement for point_cloud_mapping is PCL (Point Cloud Library),
>> which is part of the point_cloud_perception stack. The problems that
>> you are seeing is because:
>> - the stack got moved from wg-ros-pkg into ros-pkg
>> - the name of the packages ANN and FLANN changed to ann and flann, to
>> be more consistent with the rest of ROS
>>
>> The solution is to either update ros-pkg or checkout
>> https://code.ros.org/svn/ros-pkg/stacks/point_cloud_perception/tags/latest
>> somewhere in your package path.
>>
>> There was a recent discussion regarding the swissranger driver, and I
>> believe a few people that are actively using SwissRanger cameras have
>> improved the driver a bit, and will release those versions soon. When
>> that happens, we will deprecate the old driver to avoid confusion.
>>
>> Let us know if you have any other problems, and we'll be glad to help.
>>
>> PS. You can always try the nabble search functionality when our mail
>> archive doesn't work. :)
>>
>> Cheers,
>> Radu.
>>
>> Andreas Hermann wrote:
>>
>>> Hi ROS-Users,
>>>
>>> I am new to ROS. I got our labs Hokuyo-scanner to work with ROS
>>> within minutes but got stuck with problems while trying to use a
>>> Swissranger 4k.
>>> The problem is that I don't find a way to include external libs,
>>> namely ANN, FLANN and cminpack which are required by
>>> point_cloud_mapping.
>>> Could someone give me a hint about the basics... Do I have to create
>>> a package manually and fill in the sources from the downloaded
>>> ANN/FLANN archives? Where is rosmake searching for the built libs? Or
>>> did I miss something and rosdep is able to install this stuff
>>> automatically?
>>>
>>> Has perhaps someone used the swissranger-driver-wrapper from Radu
>>> Bogdan Rusu? It uses messages from deprecated-msgs that I replaced by
>>> sensor_msgs. But it needs the mentioned external packages. I would of
>>> course contribute the updated driver, if I get it to work.
>>>
>>> Perhaps this toppic was already discussed here, but the search
>>> functionality of the archive at
>>> https://code.ros.org/discuss/ros-users/ seems to be broken (?). Also
>>> the link on the
>>>
>>>
>>> Thanks,
>>>
>>> Andreas
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>
>>
>
--
| Radu Bogdan Rusu | http://rbrusu.com/
More information about the ros-users
mailing list