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

Error Installing vector_map_converter

asked 2019-11-22 17:10:10 -0600

Deepak63 gravatar image

updated 2019-12-03 18:57:28 -0600

jayess gravatar image

I did following steps to install vector_map_converter

git remote add mitsudome-r https://gitlab.com/mitsudome-r/utilities.git

git fetch mitsudome-r

git checkout mitsudome-r/feature/vector_map_converter

sudo apt-get install libboost-dev libeigen3-dev libgeographic-dev libpugixml-dev libpython-dev libboost-python-dev python-catkin-tools

git submodule update --init --recursive

rosdep update

rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO

AUTOWARE_COMPILE_WITH_CUDA=1 colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release

I get the below error when I try to source build after:

--- stderr: vector_map_converter                                                                                                        
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "lanelet2_core"
  with any of the following names:

    lanelet2_coreConfig.cmake
    lanelet2_core-config.cmake

  Add the installation prefix of "lanelet2_core" to CMAKE_PREFIX_PATH or set
  "lanelet2_core_DIR" to a directory containing one of the above files.  If
  "lanelet2_core" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:10 (find_package)


---
Failed   <<< vector_map_converter   [ Exited with code 1 ]
Aborted  <<< decision_maker
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-12-03 13:19:04 -0600

Josh Whitley gravatar image

@Deepak63 - It looks like you're using an old version of the "Vector Map Converter" tool from @mitsudome-r's private repository. In the current version of Autoware.ai, the lanelet_aisan_converterpackage is now available (https://gitlab.com/autowarefoundation...). See the instructions in the README file of that folder. Additional information can be found in the merge request that added the feature (https://gitlab.com/autowarefoundation...).

edit flag offensive delete link more

Comments

@Maximus5684 - Thanks for the reply.

I see that the above package can only convert Lanelet2 OSM file into Aisan Vector Map csv files. I need a conversion from opendrive files to Aisan vector map files.

Deepak63 gravatar image Deepak63  ( 2019-12-04 13:52:48 -0600 )edit
0

answered 2019-11-26 16:30:10 -0600

Deepak63 gravatar image

updated 2019-11-26 16:39:19 -0600

I could install by first keeping the Autoware folder contents with autoware.ai.repos file from the master branch. This downloaded the required source lanelet packages. Then replaced the utilities folder with the above procedure and steps.

I could install the converter. I could create the corresponding vector map files with some vector map files missing. But I'm having trouble to work it as shown in the following example links

For autowaremap2vectormap : https://gitlab.com/autowarefoundation... I get output in RVIZ where it is similar to the image in the link above, but without yellow and white lines

For opendrive2vectormap, https://gitlab.com/autowarefoundation... I don't see anything on RVIZ. I get 4 vectormap files from conversion though.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-11-22 17:10:10 -0600

Seen: 830 times

Last updated: Dec 03 '19