No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro kilted. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
|
orbslam3 package from easy-orb-slam3 repoorbslam3 |
Package Summary
| Tags | No category tags. |
| Version | 1.0.0 |
| License | MIT |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/doeswork/easy-orb-slam3.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2023-11-29 |
| Dev Status | UNMAINTAINED |
| CI status | No Continuous Integration |
| Released | UNRELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
ROS2 wrapper for ORB_SLAM3 library
Additional Links
No additional links.
Maintainers
- Haebeom Jung
Authors
- Haebeom Jung
ORB_SLAM3_ROS2
This repository is ROS2 wrapping to use ORB_SLAM3
Demo Video
Prerequisites
- I have tested on below version.
- Ubuntu 20.04
- ROS2 foxy
- OpenCV 4.2.0
- Build ORB_SLAM3
- Go to this repo and follow build instruction.
- Install related ROS2 package
$ sudo apt install ros-$ROS_DISTRO-vision-opencv && sudo apt install ros-$ROS_DISTRO-message-filters
How to build
- Clone repository to your ROS workspace
$ mkdir -p colcon_ws/src
$ cd ~/colcon_ws/src
$ git clone https://github.com/zang09/ORB_SLAM3_ROS2.git orbslam3_ros2
Now, you are ready to build!
$ cd ~/colcon_ws
$ colcon build --symlink-install --packages-select orbslam3
Troubleshootings
- If you cannot find
sophus/se3.hpp:
Go to yourORB_SLAM3_ROOT_DIRand install sophus library.
$ cd ~/{ORB_SLAM3_ROOT_DIR}/Thirdparty/Sophus/build
$ sudo make install
- Please compile with
OpenCV 4.2.0version. Refer this #issue
How to use
- Source the workspace
$ source ~/colcon_ws/install/local_setup.bash
- Run orbslam mode, which you want.
This repository only supportMONO, STEREO, RGBD, STEREO-INERTIALmode now.
You can find vocabulary file and config file in here. (e.g.orbslam3_ros2/vocabulary/ORBvoc.txt,orbslam3_ros2/config/monocular/TUM1.yamlfor monocular SLAM).-
MONOmode
-
$ ros2 run orbslam3 mono PATH_TO_VOCABULARY PATH_TO_YAML_CONFIG_FILE
-
STEREOmode
$ ros2 run orbslam3 stereo PATH_TO_VOCABULARY PATH_TO_YAML_CONFIG_FILE BOOL_RECTIFY
-
RGBDmode
$ ros2 run orbslam3 rgbd PATH_TO_VOCABULARY PATH_TO_YAML_CONFIG_FILE
-
STEREO-INERTIALmode
$ ros2 run orbslam3 stereo-inertial PATH_TO_VOCABULARY PATH_TO_YAML_CONFIG_FILE BOOL_RECTIFY [BOOL_EQUALIZE]
Run with rosbag
To play ros1 bag file, you should install ros1 noetic & ros1 bridge.
Here is a link to demonstrate example of ros1-ros2 bridge procedure.
If you have ros1 noetic and ros1 bridge already, open your terminal and follow this:
(Shell A, B, C, D is all different terminal, e.g. stereo-inertial mode)
- Download EuRoC Dataset (
V1_02_medium.bag)
$ wget -P ~/Downloads http://robotics.ethz.ch/~asl-datasets/ijrr_euroc_mav_dataset/vicon_room1/V1_02_medium/V1_02_medium.bag
- Launch Terminal
(e.g.ROS1_INSTALL_PATH=/opt/ros/noetic,ROS2_INSTALL_PATH=/opt/ros/foxy)
#Shell A:
source ${ROS1_INSTALL_PATH}/setup.bash
roscore
#Shell B:
source ${ROS1_INSTALL_PATH}/setup.bash
source ${ROS2_INSTALL_PATH}/setup.bash
export ROS_MASTER_URI=http://localhost:11311
ros2 run ros1_bridge dynamic_bridge
#Shell C:
source ${ROS1_INSTALL_PATH}/setup.bash
rosbag play ~/Downloads/V1_02_medium.bag --pause /cam0/image_raw:=/camera/left /cam1/image_raw:=/camera/right /imu0:=/imu
#Shell D:
source ${ROS2_INSTALL_PATH}/setup.bash
ros2 run orbslam3 stereo-inertial PATH_TO_VOCABULARY PATH_TO_YAML_CONFIG_FILE BOOL_RECTIFY [BOOL_EQUALIZE]
- Press
spacebarinShell Cto resume bag file.
Acknowledgments
This repository is modified from this repository.
To add stereo-inertial mode and improve build difficulites.
CHANGELOG
No CHANGELOG found.
Wiki Tutorials
This package does not provide any links to tutorials in it's rosindex metadata.
You can check on the ROS Wiki Tutorials page for the package.
Package Dependencies
| Deps | Name |
|---|---|
| ament_cmake | |
| rclcpp | |
| sensor_msgs | |
| cv_bridge | |
| message_filters | |
| Pangolin | |
| rclpy |
System Dependencies
| Name |
|---|
| python3-requests |
Dependant Packages
No known dependants.
Launch files
No launch files found
Messages
No message files found.
Services
No service files found
Plugins
No plugins found.
Recent questions tagged orbslam3 at Robotics Stack Exchange
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.