Comments (8)
Got the same issue, as I installed the g2opy by myself with the wrong branch.
Issued solved by running rsync and make a python3 setup.py install
G2OPY_REVISION=5587024
git checkout $G2OPY_REVISION
rsync ./g2opy_changes/types_six_dof_expmap.h ./g2opy/python/types/sba/types_six_dof_expmap.h
rsync ./g2opy_changes/sparse_optimizer.h ./g2opy/python/core/sparse_optimizer.h
rsync ./g2opy_changes/python_CMakeLists.txt ./g2opy/python/CMakeLists.txt
cd build
cmake .. $EXTERNAL_OPTION
make -j8
cd ..
python3 setup.py install
from pyslam.
Hi,
some questions:
- which is your OS?
- which install script did you use?
That message means pyslam is not using the custom g2o that needs to be compiled via the install scripts.
from pyslam.
Thanks for your reply Luigi,
I am using Ubuntu 18.04 and I used install_thirdparty.sh to install g2o.
from pyslam.
I cleaned with
$ ./clean.sh
and launched again a new install with
$ ./install_all.sh
and everything runs correctly.
Can you please check that you have a file like thirdparty/g2opy/lib/g2o.cpython-36m-x86_64-linux-gnu.so
?
If not then we have a problem with the compilation of g2o.
Do you have another installation of g2o for python?
If yes, could you please try to modify its base folder path temporarily and launch main_slam.py again just to check if there is an interference with the lib paths?
I've fixed some small script errors. They should not be critical for your problem.
In any case, you may want to pull and try again.
from pyslam.
Thanks for the kind explanation, Luigi.
I pulled the new changes and remove my previous g2opy and g2o(cpp) installation and reinstalled third_party by running ./install_thirdparty.sh
and ./install_cpp.sh
. But the problem remains.
The reason that I did not use the script install_all.sh directly is that I need different versions of some python dependencies (e,g. pytorch). But I don't think that is a issue, right?
from pyslam.
Do you have rsync installed?
Did you run the script install_basic.sh
?
Please, make sure that the actual commands are executed
from pyslam.
Yes, I run install_all.sh and the problem remains.
from pyslam.
Could you please answer the following questions?
-
Do you have another installation of g2o for python?
If yes, could you please try to modify its base folder path temporarily and launch main_slam.py again just to check if there is an interference with the lib paths? -
Could you please make sure that the following commands are executed and tell me what is happening there when you try to manually run them?
https://user-images.githubusercontent.com/10080262/112065377-d61ac080-8b64-11eb-920b-b1b9ab3c65e4.png
from pyslam.
Related Issues (20)
- main_slam.py 3D map view missing HOT 2
- pangoling error HOT 1
- Timeseries of camera pose HOT 2
- Program not ending when the video is completed and no more images.
- Aborted (core dumped) HOT 2
- Solving ImportError: ../pyslam/thirdparty/g2opy/lib/g2o.so: undefined symbol: _Py_ZeroStruct | Again... HOT 5
- Scale problem HOT 1
- change the optimization cost HOT 1
- RGBD extension - guidance
- Loop closure and pose graph optimization HOT 1
- How to add custom feature detection algorithms and feature descriptor sub algorithms? HOT 2
- Best brutal force SLAM configuration HOT 1
- Error with tensorflow-gpu HOT 2
- ORB_SLAM3 HOT 3
- feature_detector file HOT 2
- webcam error HOT 3
- MatplotLib Not responding HOT 5
- How to reach estimated X,Y,Z,Yaw,Roll and Pitch HOT 14
- Getting error when running the slam HOT 1
- Failed Building wheel for opencv-contrib-python 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 pyslam.