Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Debian issues after merging ROS 1 stuff #949

Closed
2 tasks done
jlblancoc opened this issue Aug 20, 2019 · 3 comments · Fixed by #983
Closed
2 tasks done

New Debian issues after merging ROS 1 stuff #949

jlblancoc opened this issue Aug 20, 2019 · 3 comments · Fixed by #983

Comments

@jlblancoc
Copy link
Member

jlblancoc commented Aug 20, 2019

  • Build in i386 is broken due to failing unit tests, apparently in the conversion of gridmap values between ROS and MRPT maps: log
[ RUN      ] Map.check_ros2mrpt_and_back
/<<PKGBUILDDIR>>/libs/ros1bridge/src/map_unittest.cpp:92: Failure
The difference between 1.0f - 0.01f * i and desMrpt.getCell(i, 0) is 0.99964302935404703, which exceeds 0.03f, where
1.0f - 0.01f * i evaluates to 1,
desMrpt.getCell(i, 0) evaluates to 0.00035697064595296979, and
0.03f evaluates to 0.029999999329447746.
ros to mprti=0
/<<PKGBUILDDIR>>/libs/ros1bridge/src/map_unittest.cpp:95: Failure
The difference between srcRos.data[i] and desRos.data[i] is 100, which exceeds 1, where
srcRos.data[i] evaluates to 0,
desRos.data[i] evaluates to 100, and
1 evaluates to 1.
ros to mprt to ros
[  FAILED  ] Map.check_ros2mrpt_and_back (3 ms)

After a quick inspection, I didn't see any obvious source of this problem... postponing. (Anyone?)

Our error is: log

/usr/bin/ld: cannot find -lvtkproj4

(vtkproj4 is not a real lib, but something internal to vtk)

@jolting : Didn't you have a VTK PPA for Xenial with a more modern version of vtk? I could add it as a PPA dependency to MRPT2 PPA.

PS: Good news is... mrpt-ros1bridge and the app rosbag2rawlog are already available from the PPA, and will be available from the official Ubuntu repos when mrpt 2 gets released 🎉

@jlblancoc jlblancoc added this to the Release 2.0.0-beta milestone Aug 20, 2019
@jolting
Copy link
Member

jolting commented Aug 20, 2019

VTK and PCL need to be rebuilt
Fetch your PCL and VTK packages from my backport PPA.
sudo add-apt-repository -y ppa:jolting/backport-mrpt

@jlblancoc
Copy link
Member Author

Brilliant, thanks! Added to the PPA and build retried, let's see...

@jlblancoc
Copy link
Member Author

Build in i386 ...

might be fixed after 95ea836 . Let's keep an eye on PPA builds to check whether this one can be closed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants