ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Voronoi map segmentation package

asked 2020-01-13 05:06:37 -0500

davidem gravatar image

updated 2020-01-13 05:13:49 -0500

I am looking for a package that, given a map of the environment acquired via gmapping, would provide me with the Voronoi segmentation of that map. The only one I was able to find is this but, upon installing it and its dependencies via rosdep, I cannot catkin_make it because there are some coding errors. I don't know C++ so I cannot try to solve them.

I can't find any other solutions, I'm sure this problem has already been faced in ROS.

EDIT: these are two type of recurring errors

error: narrowing conversion of ‘9223372039002259456’ from ‘long long unsigned int’ to ‘long long int’ inside { } [-Wnarrowing]

error: no matching function for call to ‘cv::ml::Boost::load(const char*)’
   room_boost_->load(filename_room.c_str());
edit retag flag offensive close merge delete

Comments

what are the errors?

Procópio gravatar image Procópio  ( 2020-01-13 05:10:35 -0500 )edit

I have edited my question

davidem gravatar image davidem  ( 2020-01-13 06:58:40 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2020-12-23 00:53:07 -0500

kamal_nathan gravatar image
edit flag offensive delete link more
0

answered 2020-07-27 07:31:48 -0500

houjiawei11 gravatar image

IN ipa_room_segmentation/CMakeLists.txt, add:

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -msse2 -Wno-narrowing -std=gnu++11") # this line solves the problem
add_definitions(-std=gnu++11)
add_definitions(-std=c++11)

refer to: https://github.com/mstorsjo/fdk-aac/issues/41

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-01-13 05:06:37 -0500

Seen: 310 times

Last updated: Dec 23 '20