Trying to use ROS and rtmb and getting build error when installing rtmb
Required Info | |
---|---|
Camera Model | T265 |
Firmware Version | RealSense ROS |
Operating System & Version | Ubuntu 18.04 LTS |
Kernel Version (Linux Only) | Linux 4.9.140-tegra aarch64 |
Platform | NVIDIA Jetson |
SDK Version | JetPack 3.3.1 |
I am trying to build rtabmap https://github.com/introlab/rtabmap_ros on Step 9. >>>>
When I try building rtabmap.... I get the following RealSense errors....
error:
++++++++++++++++++++++++++++++++++++++++++++++++
tom@tx2:~/rtabmap/build$ make
[ 6%] Built target rtabmap_utilite
[ 6%] Built target res_tool
[ 6%] Building CXX object corelib/src/CMakeFiles/rtabmap_core.dir/camera/CameraRealSense2.cpp.o
/home/lcs/rtabmap/corelib/src/camera/CameraRealSense2.cpp: In member function ‘virtual bool rtabmap::CameraRealSense2::init(const string&, const string&)’:
/home/lcs/rtabmap/corelib/src/camera/CameraRealSense2.cpp:547:42: error: ‘RS2_OPTION_ENABLE_POSE_JUMPING’ is not a member of ‘rs2_option’
sensors.back().set_option(rs2_option::RS2_OPTION_ENABLE_POSE_JUMPING, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lcs/rtabmap/corelib/src/camera/CameraRealSense2.cpp:548:42: error: ‘RS2_OPTION_ENABLE_RELOCALIZATION’ is not a member of ‘rs2_option’
sensors.back().set_option(rs2_option::RS2_OPTION_ENABLE_RELOCALIZATION, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
corelib/src/CMakeFiles/rtabmap_core.dir/build.make:547: recipe for target 'corelib/src/CMakeFiles/rtabmap_core.dir/camera/CameraRealSense2.cpp.o' failed
make[2]: *** [corelib/src/CMakeFiles/rtabmap_core.dir/camera/CameraRealSense2.cpp.o] Error 1
CMakeFiles/Makefile2:267: recipe for target 'corelib/src/CMakeFiles/rtabmap_core.dir/all' failed
make[1]: *** [corelib/src/CMakeFiles/rtabmap_core.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Any ideas where I need to make changes? I know that these https://github.com/IntelRealSense/librealsense/wiki/API-Changes where made for the T265 but they seem to create a problem with the rtabmap build.
-
The discussion in the link below from another user who had a conflict between T265 and rtabmap may provide useful guidance.
Please sign in to leave a comment.
Comments
1 comment