Comments (5)
Hi @nl22-nmsu,
thank you for your feedback.
Unfortunately, you installed pyslam with a wrong procedure.
With ubuntu 20 or ubuntu 22, you need to follow the instructions reported in this section:
https://github.com/luigifreda/pyslam?tab=readme-ov-file#ubuntu-2004-and-ubuntu-2204
In particular, once you run
$ git clone --recursive https://github.com/luigifreda/pyslam.git
$ cd pyslam
$ git checkout ubuntu20
you have to follow the instructions on this page
https://github.com/luigifreda/pyslam/blob/master/PYTHON-VIRTUAL-ENVS.md
and then you need to run
$ . install_all_venv.sh
and NOT
$ . install_all.sh
as you did. At present time, with ubuntu 20 and 22, python3-venv
installation and usage is required to let pyslam correctly run (the script install_all_venv.sh
takes care of that).
Hope this helps.
from pyslam.
Hi,
which install procedure did you use?
from pyslam.
I followed the ubuntu 20 install.
The exact commands I ran:
git clone --recursive https://github.com/luigifreda/pyslam.git
cd pyslam
git checkout ubuntu20
. install_all.sh
There was a slight modification that I made to utils_goem.py in the poseRT() function, instead of ret[:3,3] = t
I changed it to ret[:3, 3] = np.array(t).reshape(3,1).squeeze()
because there was an odd type error or something like that. Though this wouldn't cause an issue from what I can tell.
from pyslam.
Okay, I figured it out.
There were a few things that were building incorrectly. I made 3 changes:
-
as previously stated, I modified line 133 in
install_thirdparty.sh
-
I also had the same _Py_ZeroStruct error for pangolin. To solve that I added two cmake tags to two lines. I'm not too sure what the difference is for the installs so I just added these tags to both based on this issue I found.
line 74:cmake ../ -DAVFORMAT_INCLUDE_DIR="" -DCPP11_NO_BOOST=ON $EXTERNAL_OPTION -DBUILD_PANGOLIN_FFMPEG=OFF -DPYBIND11_PYTHON_VERSION=3.8
line 101:
cmake .. -DBUILD_PANGOLIN_LIBREALSENSE=OFF $EXTERNAL_OPTION -DBUILD_PANGOLIN_FFMPEG=OFF -DPYBIND11_PYTHON_VERSION=3.8 # disable realsense
-
Once I got past these issues I had an issue building
thirdparty/orbslam2_features
. I had theTypeError: 'NoneType' object is not callable
from feature_manager. To resolve this I changed the cmake command inthirdparty/orbslam2_features/build.sh
tocmake .. -DPYTHON_EXECUTABLE=/usr/bin/python3
. Then did a clean build on that folder.
Now things seem to be working. Hope this helps anyone else who may have these same issues.
from pyslam.
Oh, I see, my impressions was that the virtual environment was optional. I'll redo it with the virtual environment to make sure everything is running correctly. It seemed to be working on my round about way of installing from what I can tell though.
Thanks for your prompt replies!
from pyslam.
Related Issues (20)
- 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
- 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
- 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
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.