Comments (8)
Update: Don't use the patch files, but just use the new branch feature/updated_gtsam
(see below).
Thanks for the information on the problem, could you try out the following and let me now if it works?
There is a workaround to make DM-VIO work with the GTSAM version v4.0.3 (which is not the newest one but not as old as the current default).
You need to apply the following patch files to DM-VIO and GTSAM respectively: https://gist.github.com/lukasvst/d2da820f324bac99b4ba0c9dc0bc2a71
In the GTSAM directory run
git checkout 4.0.3 git apply patch_gtsam_v4_0_3.patch
and recompile GTSAM with the following cmake command!
cmake -DGTSAM_POSE3_EXPMAP=ON -DGTSAM_ROT3_EXPMAP=ON -DGTSAM_USE_SYSTEM_EIGEN=ON -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF ..
make -j4
sudo make install
In the DM-VIO directory run
git apply PathDM-VIOForGTSAMv4_0_3.patch
and recompile.
When running DM-VIO, you might get the error:
dmvio_dataset: error while loading shared libraries: libmetis-gtsam.so: cannot open shared object file: No such file or directory
In this case you need to run (and probably recompile)
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
as explained in this issue borglab/gtsam#380
If this helps I will make upgrading GTSAM in the master branch a priority. Otherwise please let me know, then I'll investigate further.
from dm-vio.
Thanks for the update, I'm glad it works now.
I have now merged it into master.
from dm-vio.
It looks like an issue with TBB and GTSAM.
Which operating system are you using and have you installed TBB with sudo apt install libtbb-dev
?
It might make sense to delete the build folder of DM-VIO and GTSAM and rebuild afterwards.
Also, do the tests and examples from GTSAM work?
from dm-vio.
Thank you for your fast reply!
I am building on Ubuntu 20 and yes; I tried installing TBB as you suggested.
Thanks for the suggestion. I will try that.
from dm-vio.
@lukasvst
Hi, even I face exactly the same issue.
I am building it on Ubuntu 20.04 and I did install tbb before building it.
There isn't any build folder in dm-vio and gtsam (we create it during building). Could you elaborate on that?
In addition to this, I was curious whether this repo has been tested with more recent gtsam versions? I am guessing they might have resolved this issue in the latest versions.
Thanks!
from dm-vio.
@shreyk25 Hello, i tried building on different computer, it was successfully built without any problems...
I tried so many things on my notebook... But so far couldn't solve it... So reinstalling Ubuntu is an option.
About building with newer gtsam... I tried that... You will have some issues of using old and different functions from the specified commit...
from dm-vio.
I created a new branch feature/updated_gtsam
which supports the newest GTSAM version.
To try it out just git checkout feature/updated_gtsam
and follow the installation instructions for GTSAM again.
If it works I will merge it into master later.
from dm-vio.
Hello!
The branch feature/updated_gtsam
worked with latest gtsam with no problems...
Thanks for your great work.
from dm-vio.
Related Issues (20)
- How does dm-vio pick points to track? HOT 1
- make error HOT 1
- How to saveout the result as pointcloud? HOT 1
- undefined reference to `boost::system::generic_category()' HOT 1
- run dm-vio with own data HOT 3
- Any plan for Stereo camera Support? plz
- Cmake Error HOT 3
- integration sigma HOT 1
- Nothing happened on the GUI HOT 3
- The compilation succeeds, but the visualization window crashes when the dataset is run HOT 5
- The visualization window crashes after receiving the dataset HOT 1
- Porting to Windows, crash on init HOT 8
- Large CoarseIMUInitializer error! HOT 3
- How do I compare the data in the ground truth and the data in the result? HOT 2
- Initial velocity for initialization HOT 1
- What does integration_sigma mean? HOT 1
- gtsam symbol error HOT 2
- Can I load a map and localize the camera and pose within the map HOT 1
- The TUM-VI Euroc is not available
- why would this happened? I set the right PATH, but it still didn't work. 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 dm-vio.