ORB_SLAM2 | Time SLAM for Monocular Stereo and RGB-D Cameras | Robotics library
kandi X-RAY | ORB_SLAM2 Summary
kandi X-RAY | ORB_SLAM2 Summary
Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ORB_SLAM2
ORB_SLAM2 Key Features
ORB_SLAM2 Examples and Code Snippets
Community Discussions
Trending Discussions on ORB_SLAM2
QUESTION
I'm trying to run a gitlab ci on my own server. I registered gitlab-runner in a separated machine using privileges
...ANSWER
Answered 2022-Jan-04 at 17:44I entered the container from the runner machine while the ci was running and I noticed that the repository was cloned as root but the build directories were created under a user. The cofigure_file command is trying to modify a file from the repository, so it's like user is trying to modify a file created as root (when cloned). I didn't manage to make the gitlab-runner software clone the repository as user. Instead, my workaround was to change the permissions of the folder before building. My .gitlab-ci.yml looks like this now
QUESTION
I'm trying to build ORB_SLAM2 on macOS 11.4 with clang 12 and OpenCV4 and have run into this error:
make[2]: *** No rule to make target `/usr/lib/libz.dylib', needed by `../lib/libORB_SLAM2.dylib'. Stop.
This file does not exist on my Mac and I cannot add this symlink due to macOS's SIP. The correct path should be /usr/local/opt/zlib/lib/libz.dylib
How can I fix this /usr/lib/libz.dylib
reference?
Here is my branch with my macOS build changes.
I've tried to fix the problem by:
- Inspecting each of the project's direct dependencies with
otool -L
and rebuilt from source where necessary (such as OpenCV) to make sure/usr/lib/libz.dylib
is not referenced (fix suggested here) - Using CMake's
FindZLIB.cmake
module in the ORB_SLAM2CMakeLists.txt
to ensure the correct ZLIB is found
Below is the output showing ZLIB is found but still no luck:
...ANSWER
Answered 2021-Jun-07 at 01:45Solved: I checked the CMakeFiles/Makefile.cmake and it showed me that the Pangolin library I was using was actually one from another project of mine. Building Pangolin in this project solved the issue.
QUESTION
I am trying to compile this version of ORB SLAM2 and after fixing some library import errors, I got this:
...ANSWER
Answered 2021-Apr-22 at 14:53This is an annoying compatibility error. The ORB SLAM you are trying to use only works with Ubuntu 18.04. But, on the ROS ORB SLAM page, they have a new one called orb_slam_ros
(click here) that does the same thing.
NOTE: The new one doesn't say that it outputs ROS maps but using Octomap, you can convert a PointCloud to a Map. NOTE: This is tested in Ubuntu 20.04 ROS Noetic. As of now, 20.10 doesn't work.
QUESTION
I want to get mapping to work using a Picamera. I have a Raspberry Pi running a cv_camera_node and an Ubuntu 20.04.1 running roscore
, as well as, slam and rviz. I have OpenCV 4.2.0 and installed the following version of orb-slam2: https://github.com/appliedAI-Initiative/orb_slam_2_ros. I am running ROS Noetic. I have wrote the following launch file for slam:
ANSWER
Answered 2021-Feb-10 at 19:02Maybe your camera isn't getting picked up. You are using cv_camera_node meaning that the default topic will be cv_camera but orb_slam2 requires just camera. To solve this, go into the cv_camera_node.cpp which will look like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ORB_SLAM2
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page