Comments (12)
Check issue #12. You can find the same problem and the associated solution. However I summarised it here:
Uninstall completely gtest:
cd /usr/src/gtest/
sudo mkdir build
cd build
sudo cmake .. -DBUILD_SHARED_LIBS=ON
Remove devel and build directory inside catkin workspace in order to recompile from the scratch S-PTAM.
from sptam.
Thank you soooooo much for your help.
The project is fully compiled now. However, when I was running the KITTI and EuRoC datasets, I encountered another issue:
I suppose this has nothing to do with the commands I used(since I was following your tutorial). For KITTI, I was using sequence 01 and it had been depressed, and for EuRoC, I chose V1_01_easy and had added sensor information as you suggested in README.
Thanks in advance.
from sptam.
The sequence 01 is one of the hardest in KITTI. So you must have a very strong computer to process all the frames. You also can tune some parameters to make it work better. Another posibility, if you don have a strong computer, you can play the dataset with a lower rate (rosbag play --clock --rate 0.5 dataset.bag). However, I suggest to try the system in other kitti sequence like 00. S-PTAM Vision only does not work properly in all the EuRoc sequences (and IMU is required to improve the performance, we have been doing some work to integrate the IMU but we do not have enough time to add all the documentation and support in the sort-term). Again, I suggest to test S-PTAM in the EuRoc MH01.sequence, that should works fine.
from sptam.
Thanks a ton for help.
I tried to slow the replay of bagfile but didn't see any changes(possibly due to the poor computability of Jetson TX1 I was using). Then I transplanted the whole project to a much more powerful workstation. The compilation passed, very easily, but by the time I ran the KITTI sequence 00, I got this error:
And
I thought maybe the package 'hector_pose_estimation' somehow corrupted, and I reinstalled it with
sudo apt-get install ros-kinetic-hector-pose-estimation
and got
Do you have any idea what caused this?
Thanks in advance.
from sptam.
I think you have some problem linking with g2o library. Check http://gdwarner.blogspot.com.ar/2009/03/c-runtime-symbol-lookup-error.html to understand the error. Tried to remove g2o and installed it again with all the dependencies. Install g2o with checkinstall
command (it is musch better than make install) the Similar error was reported in #19.
from sptam.
Hi,
I reinstalled the g2o library following your instruction but unfortunately didn't see any difference.
Thanks for help anyway.
from sptam.
Oh, just to be sure. Are you using the right g2o commit? remember that you need the to use the commit: 4b9c2f5b68d14ad479457b18c5a2a0bce1541a90
git clone [email protected]:RainerKuemmerle/g2o.git
git checkout 4b9c2f5b68d14ad479457b18c5a2a0bce1541a90
from sptam.
I am installing sptam package on my OS: ubuntu 18.04, ROS Melodic. But I encounter the following error during compiling.
I tried to Uninstall completely gtest, but the error still exits.
cd /usr/src/gtest/ sudo mkdir build cd build sudo cmake .. -DBUILD_SHARED_LIBS=ON
I also did it
sudo apt install libgtest-dev build-essential cmake cd /usr/src/googletest sudo cmake . sudo cmake --build . --target install
I tried also to install opencv-4.0.1 and CUDA nvidia.
I will appreciate If you can help me.
Thank you in advance
from sptam.
You have to remove the /usr/local/lib/libgtest.a static libraries. Also, remove the build and devel directories inside your catkin workspace. S-PTAM was not tested on 18.04 yet.
from sptam.
Thank you Taihup for your respond.
from sptam.
Did you make it work?
from sptam.
No, my supervisor decided to leave it for now. We will come back to it later.
from sptam.
Related Issues (20)
- Not enough points for tracking with MIT dataset HOT 1
- ERROR: There is not any covisibility keyframes observing the tracked points HOT 7
- Building standalone HOT 2
- Running KITTI sequences on standalone HOT 3
- Error Running kitti.launch with kitti_01.bag HOT 20
- symbol lookup error: /home/ros/vslam/devel/lib/libsptam.so: undefined symbol HOT 2
- Improvement for pure localization after running a SLAM session HOT 3
- error: ‘DBoW2::FBrief::TDescriptor {aka class std::bitset<256ul>}’ has no member named ‘resize’ HOT 6
- [ERROR] [1563717737.344465687]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying... HOT 17
- File:'file:///home/lzb/catkin_ws2/src/sptam/src/sptam/loopclosing/detectors/DLDLoopDetector.cpp' Severity:'Error' Message:''DBoW2:: FBrief:: TDescriptor {aka class std:: BitSet < 256ul >}'has no member named'resize'' HOT 4
- Gtest error while doing catkin_make --pkg sptam -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSINGLE_THREAD=OFF -DSHOW_TRACKED_FRAMES=ON -DSHOW_PROFILING=ON -DPARALLELIZE=ON HOT 3
- Error while running the roslaunch sptam kitti.launch HOT 23
- KITTI Bag Files HOT 4
- Disable GTest? HOT 1
- CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_workspace.cmake:95 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:67 (catkin_workspace) HOT 4
- rosplay kitti_04 error,need help HOT 3
- Please HELP me::::::when-->“catkin_make --pkg sptam -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSINGLE_THREAD=OFF -DSHOW_TRACKED_FRAMES=ON -DSHOW_PROFILING=ON -DPARALLELIZE=ON” HOT 7
- Please help me, it's too difficult to solve HOT 18
- Can we use this slam with only lidar? HOT 1
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 sptam.