Robotics StackExchange | Archived questions

Error Installing vector_map_converter

I did following steps to install vectormapconverter

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

Asked by Deepak63 on 2019-11-22 18:10:10 UTC

Comments

Answers

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/autoware.ai/utilities/merge_requests/2#converting-from-autowaremap 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/autoware.ai/utilities/merge_requests/2#converting-from-opendrive I don't see anything on RVIZ. I get 4 vectormap files from conversion though.

Asked by Deepak63 on 2019-11-26 17:30:10 UTC

Comments

@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_converter package is now available (https://gitlab.com/autowarefoundation/autoware.ai/utilities/tree/master/lanelet_aisan_converter). 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/autoware.ai/utilities/merge_requests/36).

Asked by Josh Whitley on 2019-12-03 14:19:04 UTC

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.

Asked by Deepak63 on 2019-12-04 14:52:48 UTC