Comments (7)
That means that the cameras are not rectified. At least, in the cameraInfo messages the rectification does not appear. If the cameras are rectified the intrinsic parameters inside the P matrix of cameraInfo messages should be the same.
from sptam.
Hi! first of all, thanks a lot for your help. I fixed the problem and now I'm running S-PTAM with my own dataset, but I'm getting this:
acfr@acfr-protea:~/catkin_ws$ roslaunch sptam acfr.launch
... logging to /home/acfr/.ros/log/d3f4d29a-48e7-11e8-a52a-b8ca3a8203b2/roslaunch-acfr-protea-5190.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://acfr-protea:34699/
SUMMARY
PARAMETERS
- /rosdistro: kinetic
- /rosversion: 1.12.13
- /sptam/BundleAdjustmentActiveKeyframes: 10
- /sptam/DescriptorExtractor/Name: BRIEF
- /sptam/DescriptorExtractor/bytes: 32
- /sptam/DescriptorMatcher/Name: BruteForce-Hamming
- /sptam/DescriptorMatcher/crossCheck: False
- /sptam/EpipolarDistance: 0
- /sptam/FeatureDetector/Name: GFTT
- /sptam/FeatureDetector/minDistance: 15.0
- /sptam/FeatureDetector/nfeatures: 2000
- /sptam/FeatureDetector/qualityLevel: 0.01
- /sptam/FeatureDetector/useHarrisDetector: False
- /sptam/FrustumFarPlaneDist: 10000.0
- /sptam/FrustumNearPlaneDist: 0.1
- /sptam/LoopDetectorVocabulary: /home/acfr/catkin...
- /sptam/MatchingCellSize: 15
- /sptam/MatchingDistance: 25
- /sptam/MatchingNeighborhood: 2
- /sptam/approximate_sync: False
- /sptam/base_frame: left_camera
- /sptam/camera_frame: left_camera
- /sptam/minimumTrackedPointsRatio: 0.9
- /sptam/publish_on_fail: True
- /sptam/publish_transform: True
- /sptam/reference_frame: left_camera
- /sptam/use_prediction: False
- /use_sim_time: True
NODES
/stereo/
stereo_image_proc (stereo_image_proc/stereo_image_proc)
/
sptam (sptam/sptam_node)
sptam_path (ros_utils/pose_to_path)
ROS_MASTER_URI=http://localhost:11311
process[stereo/stereo_image_proc-1]: started with pid [5208]
process[sptam_path-2]: started with pid [5209]
process[sptam-3]: started with pid [5217]
[ INFO] [1524702130.917324400]: Initializing nodelet with 8 worker threads.
crossCheck: 0
OpenCV: threads set to -1
nfeatures: 2000
qualityLevel: 0.01
minDistance: 15
blockSize: 3
useHarrisDetector: 0
k: 0.04
nfeatures: 2000
qualityLevel: 0.01
minDistance: 15
blockSize: 3
useHarrisDetector: 0
k: 0.04
bytes: 32
use_orientation: 0
bytes: 32
use_orientation: 0
[ INFO] [1524702131.078567789]: Loop Detector initializing, loading vocabulary
[ INFO] [1524702139.255362110]: S-PTAM stereo node initialized.
[ INFO] [1524702148.291382720]: init calib
[ INFO] [1524702148.316342967]: baseline: 0.584967
[ INFO] [1524702148.937731023]: Map initialized with 34 points.
[ WARN] [1524702153.929021746]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702169.995521925]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702173.697949973]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702181.509765843]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702183.504044707]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702192.387926727]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702198.697397908]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702199.844781791]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702211.024708136]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702217.886760256]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702219.562904172]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702228.745723087]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702236.601386300]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702239.989759320]: Not enough points for tracking.
ERROR: There is not any covisibility keyframes observing the tracked points
[ WARN] [1524702255.421210900]: Not enough points for tracking.
And at the end I didn't get any path.
What could I do?
Thaks a lot for all your support.
from sptam.
Which camera are you using? What is the camera baseline (distance between left and right camera)? Send me some sample images? Try to leave still the camera observing a high textured area. Check the issue #27, #24 and #16
from sptam.
Hi, tks a lot for your answer.
- The cameras I'm using are SF3322 - Sekonix (100° FOV) (1920x1208)
- Camera baseline is aprox. 58cm.
- These are some sample images:
Left and Right undistorted and rectified (stereo_before_refinement)
Left and Right undistorted and rectified (stereo_after_refinement)
Another scene: Left and Right undistorted and rectified (stereo_before_refinement)
I noticed looking at rviz that sptam publications are not smooth (as looking at raw), therefore each stereo frame is far from the previous one. I don't know if that is only visualization or if that sequence of frames is the one used for mapping.
I'm gonna collect mmore drives and test.
Tanks a lot for your advice!
from sptam.
Maybe S-PTAM is not running well. Depending on the configuration (features detector + descriptor, and other parameters), it will require a high computing power. Also, you can try to run the rosbag with a lower frame rate (rosbag play --clock --rate 0.5 rosbag_file.bag). What computer are you using? Check if the calibration is alright.
from sptam.
Hi, how can I check if the calibration is alright? When I see the horizontal lines on both images they look well rectified (aligned) but I don't know if that is enough.
My computer has a Corei7 Vpro processor and 8GB of RAM.
Tks a lot for your advice!
from sptam.
The calibration looks fine, but could be wrong. Try to calibrate the camera with ROS calibration package.
You can change epipolardistance parameter to 2. It will triangulate more points.
Try to run s-ptam as nodelet instead of node. It is prepare for that. It will run much faster.
Disable Loop Closure module.
from sptam.
Related Issues (20)
- Gtest error while compilation HOT 12
- 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.