Closed mantkiew closed 3 years ago
In addition to normal development build, configure the catkin workspace to perform the install build with the target location /opt/ros/lanelet2.
/opt/ros/lanelet2
$ cd anm_unreal_sim $ rm -rf .catkin_tools $ cd submodules/geoscenarioserver $ rm -rf catkin_ws
$ bash scripts/install_dependencies.bash
catkin_ws/install/opt/ros/lanelet2
setup.bash
$ sudo mv catkin_ws/install/opt/ros/lanelet2/ /opt/ros
$ echo $PYTHONPATH /opt/ros/road-demo/lib/python2.7/dist-packages:/opt/ros/melodic/lib/python2.7/dist-packages $ source /opt/ros/lanelet2/setup.bash $ echo $PYTHONPATH /opt/ros/lanelet2/lib/python3/dist-packages:/opt/ros/melodic/lib/python3/dist-packages:/opt/ros/road-demo/lib/python2.7/dist-packages:/opt/ros/melodic/lib/python2.7/dist-packages
$ python3.8 >>> import lanelet2 >>>
No error should be displayed.
Worked for me
In addition to normal development build, configure the catkin workspace to perform the install build with the target location
/opt/ros/lanelet2
.Testing
catkin_ws/install/opt/ros/lanelet2
workspace containingsetup.bash
.No error should be displayed.