Package Details: ros-melodic-laser-assembler 1.7.6-2

Git Clone URL: https://aur.archlinux.org/ros-melodic-laser-assembler.git (read-only)
Package Base: ros-melodic-laser-assembler
Description: ROS - Provides nodes to assemble point clouds from either LaserScan or PointCloud messages.
Upstream URL: http://ros.org/wiki/laser_assembler
Licenses: BSD
Submitter: GPereira
Maintainer: bionade24
Last Packager: bionade24
Votes: 0
Popularity: 0.000000
First Submitted: 2018-05-13 18:42
Last Updated: 2019-06-12 16:38

Latest Comments

hansbonini commented on 2019-05-31 03:32

boost_signals fix

add this to line 56 of PKGBUILD:

# Fix Boost Signals
    sed -i -e 's/signals//g' laser_assembler-release-release-melodic-laser_assembler-1.7.6-0/CMakeLists.txt

GPereira commented on 2019-01-09 18:24

Done

Eyolon commented on 2018-11-28 10:09

please update the source link with https://github.com/ros-gbp/laser_assembler-release/archive/release/melodic/laser_assembler/1.7.6.tar.gz

cbjamo commented on 2018-11-22 12:25

This package is now out of date, 1.7.6 fixes the boost issue.

cbjamo commented on 2018-11-14 20:50

Unless the patch causes issues for users of older versions of boost, a new release should come along soon. It should be noted that this package is not currently out of date, the latest release is 1.7.5. Until a new release is pushed, this patch (copied from the fix in the upstream git) will fix the build issue for us.

From 1a03f7c288ed03d7e21d764b1267338434db27e4 Mon Sep 17 00:00:00 2001
From: Tobias Fischer <t.fischer@imperial.ac.uk>
Date: Thu, 26 Apr 2018 11:05:41 +0100
Subject: [PATCH] Fix compilation issues with new boost

See https://github.com/ros/actionlib/issues/104
---
 test/test_assembler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_assembler.cpp b/test/test_assembler.cpp
index c08de43..bc760a8 100644
--- a/test/test_assembler.cpp
+++ b/test/test_assembler.cpp
@@ -117,7 +117,7 @@ TEST_F(TestAssembler, non_zero_cloud_test)

   while(n_.ok() && !got_cloud_)
   {
-    cloud_condition_.timed_wait(lock, boost::posix_time::milliseconds(1000.0f));
+    cloud_condition_.timed_wait(lock, boost::posix_time::milliseconds(1000));
   }

   EXPECT_LT((unsigned int) 0, cloud_.points.size());
--
2.19.1

evopen commented on 2018-09-26 14:27

This tarball version can't be built with new boost. see: https://github.com/ros-perception/laser_assembler/commit/1a03f7c288ed03d7e21d764b1267338434db27e4 need to use upstream git version.

GPereira commented on 2018-06-22 19:07

Problem solved

Elephantusparvus commented on 2018-06-22 11:51

Another option might be to just disable testing. Then the test is not compiled. I think this should be done anyways.

https://aur.archlinux.org/packages/ros-melodic-urdf/#comment-651796

Elephantusparvus commented on 2018-06-22 09:42

It seems like the interface for boost::posix_time::miliseconds() changed. (Seems like it should be constructed with a long: https://www.boost.org/doc/libs/1_67_0/doc/html/date_time/posix_time.html)

Here is a patch so it at least compiles: https://pastebin.com/zERZxGsr

Functionality is not checked, but I think it is "fine" because it is just a test and should not effect anything else.

E: Okay there is even a pull request pending for this: https://github.com/ros-perception/laser_assembler/pull/16 https://github.com/ros/actionlib/issues/104

Manifolds commented on 2018-06-22 09:24

/tmp/yaourt-tmp-tong/aur-ros-melodic-laser-assembler/src/laser_assembler-release-release-melodic-laser_assembler-1.7.5-0/test/test_assembler.cpp: 在成员函数‘virtual void TestAssembler_non_zero_cloud_test_Test::TestBody()’中: /tmp/yaourt-tmp-tong/aur-ros-melodic-laser-assembler/src/laser_assembler-release-release-melodic-laser_assembler-1.7.5-0/test/test_assembler.cpp:120:78: 错误:no matching function for call to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">::subsecond_duration(float)’ cloud_condition_.timed_wait(lock, boost::posix_time::milliseconds(1000.0f)); ^ In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/thread_data.hpp:12, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /tmp/yaourt-tmp-tong/aur-ros-melodic-laser-assembler/src/laser_assembler-release-release-melodic-laser_assembler-1.7.5-0/test/test_assembler.cpp:43: /usr/include/boost/date_time/time_duration.hpp:285:14: 附注:candidate: ‘template<class t=""> boost::date_time::subsecond_duration<base_duration, frac_of_second="">::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<functor>, void>::type)’ explicit subsecond_duration(T const& ss, ^~~~~~~~~~~~~~~~~~ /usr/include/boost/date_time/time_duration.hpp:285:14: 附注: template argument deduction/substitution failed: /usr/include/boost/date_time/time_duration.hpp: In substitution of ‘template<class t=""> boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<t> >::type</boost::is_integral<t></boost::posix_time::time_duration,></class>) [with T = float]’: /tmp/yaourt-tmp-tong/aur-ros-melodic-laser-assembler/src/laser_assembler-release-release-melodic-laser_assembler-1.7.5-0/test/test_assembler.cpp:120:78: required from here /usr/include/boost/date_time/time_duration.hpp:285:14: 错误:no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<float>, void>’ In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/thread_data.hpp:12, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /tmp/yaourt-tmp-tong/aur-ros-melodic-laser-assembler/src/laser_assembler-release-release-melodic-laser_assembler-1.7.5-0/test/test_assembler.cpp:43: /usr/include/boost/date_time/time_duration.hpp:270:30: 附注:candidate: ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">::subsecond_duration(const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">&)’ class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration ^~~~~~~~~~~~~~~~~~ /usr/include/boost/date_time/time_duration.hpp:270:30: 附注: no known conversion for argument 1 from ‘float’ to ‘const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">&’ /usr/include/boost/date_time/time_duration.hpp:270:30: 附注:candidate: ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">::subsecond_duration(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">&&)’ /usr/include/boost/date_time/time_duration.hpp:270:30: 附注: no known conversion for argument 1 from ‘float’ to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">&&’ make[2]: [CMakeFiles/test_assembler.dir/build.make:63:CMakeFiles/test_assembler.dir/test/test_assembler.cpp.o] 错误 1 make[1]: [CMakeFiles/Makefile2:2629:CMakeFiles/test_assembler.dir/all] 错误 2 make: *** [Makefile:130:all] 错误 2</boost::posix_time::time_duration,></boost::posix_time::time_duration,></boost::posix_time::time_duration,></boost::posix_time::time_duration,></boost::posix_time::time_duration,></boost::posix_time::time_duration,></boost::is_integral<float></boost::is_integral<functor></base_duration,></class></boost::posix_time::time_duration,>