Closed zoldaten closed 1 year ago
ok. just built nodes! *ORB_SLAM2 built in ~/ORB_SLAM2 from source. ROS2 foxy worspace installed in /ros2_ws.
after that:
cd /ros2_ws/src git clone https://github.com/alsora/ros2-ORB_SLAM2.git cd .. export LD_LIBRARY_PATH=/Pangolin/build/src/:/ORB_SLAM2/Thirdparty/DBoW2/lib:/ORB_SLAM2/Thirdparty/g2o/lib:/ORB_SLAM2/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=~/ORB_SLAM2/ colcon build --symlink-install . install/setup.bash
test: ros2 run ros2_orbslam mono ~/ORB_SLAM2/Vocabulary/ORBvoc.txt ~/ORB_SLAM2/Examples/Monocular/TUM1.yaml
ros2 run ros2_orbslam mono ~/ORB_SLAM2/Vocabulary/ORBvoc.txt ~/ORB_SLAM2/Examples/Monocular/TUM1.yaml
ok. just built nodes! *ORB_SLAM2 built in ~/ORB_SLAM2 from source. ROS2 foxy worspace installed in /ros2_ws.
after that:
test:![Screenshot_2](https://user-images.githubusercontent.com/29411817/209465489-6a920a06-82f5-49ae-9ea7-478c5e0177e3.jpg)
ros2 run ros2_orbslam mono ~/ORB_SLAM2/Vocabulary/ORBvoc.txt ~/ORB_SLAM2/Examples/Monocular/TUM1.yaml