Comments (10)
It is not explicitly explained in the instructions, but rtabmap library should be built outside the catkin workspace because it is not a common catkin package (it is a plain cmake package). Cloning rtabmap in src folder of catkin will result in errors.
Merging all directives in one walkthrough:
$ source /opt/ros/indigo/setup.bash
$ cd ~
$ git clone https://github.com/introlab/rtabmap.git rtabmap
$ cd rtabmap/build
$ cmake -DCMAKE_INSTALL_PREFIX=~/catkin_ws/devel ..
$ make -j4
$ make install
$ source ~/catkin_ws/devel/setup.bash
$ cd ~/catkin_ws
$ git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
$ catkin_make
If you still have problems, a copy-paste of the catkin_make errors would be useful.
cheers
from rtabmap.
If you are building rtabmap_ros
from source, you should build rtabmap
from source too (to match the version). Uninstall ros-indigo-rtabmap
:
sudo apt-get remove ros-indigo-rtabmap
Then follow instructions from here.
cheers
from rtabmap.
I tried the above the instructions,but still i'm getting the same error.Now i un-installed everything and i would like install by follwing below steps,
1.Install the RTAB standalone libraries in the catkin/devel folder.
2.Install the RTAB-ROS pkg in the catkin/src folder.
3.then catkin_make.
As per the above the comment,i installed the both the RTAB and RTAB-ROS pkg in the src folder,but it didn't work!
correct me,if i'm wrong!
Thanks in advance.
from rtabmap.
I tried to implement above mentioned method with ROS-Melodic. Following error occurred :
Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Could NOT find move_base_msgs (missing: move_base_msgs_DIR)
-- Could not find the required component 'move_base_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "move_base_msgs"
with any of the following names:
move_base_msgsConfig.cmake
move_base_msgs-config.cmake
Add the installation prefix of "move_base_msgs" to CMAKE_PREFIX_PATH or set
"move_base_msgs_DIR" to a directory containing one of the above files. If
"move_base_msgs" provides a separate development package or SDK, be sure it
has been installed.
from rtabmap.
@matlabbe I tried to implement above mentioned method with ROS-Melodic. Following error occurred :
Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Could NOT find move_base_msgs (missing: move_base_msgs_DIR)
-- Could not find the required component 'move_base_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "move_base_msgs"
with any of the following names:
move_base_msgsConfig.cmake
move_base_msgs-config.cmake
Add the installation prefix of "move_base_msgs" to CMAKE_PREFIX_PATH or set
"move_base_msgs_DIR" to a directory containing one of the above files. If
"move_base_msgs" provides a separate development package or SDK, be sure it
has been installed.
from rtabmap.
sudo apt install ros-melodic-move-base-msgs
from rtabmap.
thanks to the answer of matlabbe, my question is
cmake -DCMAKE_INSTALL_PREFIX=~/catkin_ws/devel ..
here my workspace is test, replace catkin_ws with test is ok
from rtabmap.
This command:
cmake -DCMAKE_INSTALL_PREFIX=~/catkin_ws/devel ..
will install in your catkin workspace's devel directory. It is more for preference, if you want to install rtabmap library like any linux libraries, just do:
cmake ..
and it will be installed in /usr/local
prefix.
from rtabmap.
@matlabbe Thanks for the walkthrough. After following the instructions and executing catkin_make
I got the following errors:
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at rtabmap_ros/CMakeLists.txt:28 (find_package):
By not providing "Findapriltag_ros.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"apriltag_ros", but CMake did not find one.
Could not find a package configuration file provided by "apriltag_ros" with
any of the following names:
apriltag_rosConfig.cmake
apriltag_ros-config.cmake
Add the installation prefix of "apriltag_ros" to CMAKE_PREFIX_PATH or set
"apriltag_ros_DIR" to a directory containing one of the above files. If
"apriltag_ros" provides a separate development package or SDK, be sure it
has been installed.
CMake Error at rtabmap_ros/CMakeLists.txt:34 (find_package):
By not providing "FindRTABMap.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "RTABMap", but
CMake did not find one.
Could not find a package configuration file provided by "RTABMap"
(requested version 0.20.13) with any of the following names:
RTABMapConfig.cmake
rtabmap-config.cmake
Add the installation prefix of "RTABMap" to CMAKE_PREFIX_PATH or set
"RTABMap_DIR" to a directory containing one of the above files. If
"RTABMap" provides a separate development package or SDK, be sure it has
been installed.
Following the same logic as your answer to @walekarsayali, I tried:
sudo apt install ros-noetic-rtabmap
But then I got the same error message as in the original post on this issue:
CMake Error at rtabmap_ros/CMakeLists.txt:34 (find_package):
Could not find a configuration file for package "RTABMap" that is
compatible with requested version "0.20.13".
The following configuration files were considered but not accepted:
/opt/ros/noetic/lib/x86_64-linux-gnu/rtabmap-0.20/RTABMapConfig.cmake, version: 0.20.10
which makes sense because that just installs rtabmap_ros
(not from source).
What should I do to solve the first error I quoted here?
Thanks for your help!
from rtabmap.
Sorry the above (#31 (comment)) is a duplicate.
The answer to this question can be found here: introlab/rtabmap_ros#118 (comment)
from rtabmap.
Related Issues (20)
- Adding another contraints HOT 1
- help me !!!! how to use superglue superpoints Test on 2022-IlluminationInvariant. HOT 5
- rtabmap.db database file HOT 4
- Error launching v0.21.4 on M1 Mac Ventura HOT 1
- PyDetector not compatible with Vis/MaxFeatures or Kp/MaxFeatures parameters
- Dataset Download Shows 404 Error HOT 1
- Landmarks ignores will cause crashing in optimizer HOT 3
- IMU + RGBD image drift HOT 5
- use image filter replace original color image but not work! anyone can help me !!!!! thanks! HOT 11
- rtabmap with image filter topic problem HOT 1
- expected type-specifier before ‘OdometryORBSLAM’ : ORBSLAM2 RTAB-MAP. HOT 9
- how to SLAM on ceiling, anyone can help me ?? thank you so much QAQ ~ HOT 2
- Error while running HOT 1
- G2o Fatal error for optimizeBA() HOT 5
- rtabmap parameter problem in 0.21.4 HOT 2
- how to change 2d map when i navigate from 1f to 2f HOT 4
- Empty Gridmap and Octomap with recent integration of Gridmap HOT 2
- Received IMU doesn't have orientation set! It is ignored HOT 2
- many nodes are not optimized (negative weight) after mapping HOT 1
- Python3 Option with RTABMAP Issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtabmap.