ORB_SLAM2
ORB_SLAM2 copied to clipboard
./build_ros.sh error
I have the error when running ./build_ros.sh. [rosbuild] rospack found package "ORB_SLAM2" at "", but the current directory is "/media/ytl/2TB/catkin_orb/src/ORB_SLAM2_modified/Examples/ROS/ORB_SLAM2". You should double-check your ROS_PACKAGE_PATH to ensure that packages are found in the correct precedence order.
However, my $ROS_PACKAGE_PATH is this. ytl@ytl-System-Product-Name:~$ echo $ROS_PACKAGE_PATH
/opt/ros/melodic/share:/media/ytl/2TB/catkin_orb/src/ORB_SLAM3/Examples/ROS:PATH/ORB_SLAM2_modified/Examples/ROS
ytl@ytl-System-Product-Name:~$ echo $ROS_ROOT /opt/ros/melodic/share/ros
My .bashrc file: source /opt/ros/melodic/setup.bash #export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:PATH/ORB_SLAM3/Examples/ROS export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:PATH/ORB_SLAM2_modified/Examples/ROS
Ubuntu 18.04
I have the exact problem. Did you solve it?
Maybe "source ~/.bashrc" can be useful