forked from raulmur/ORB_SLAM2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
several fixes as recommended by raulmur#337 (comment) and zhenzhenxia…
…ng/orb_slam_2_ros-1@1e6a52a, and additionally added yaml for basic SLAM test on miniworld images
- Loading branch information
1 parent
f2e6f51
commit e828af8
Showing
5 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
%YAML:1.0 | ||
|
||
#-------------------------------------------------------------------------------------------- | ||
# Camera Parameters. Adjust them! | ||
#-------------------------------------------------------------------------------------------- | ||
|
||
# Camera calibration and distortion parameters (OpenCV) | ||
Camera.fx: 520.908620 | ||
Camera.fy: 521.007327 | ||
Camera.cx: 325.141442 | ||
Camera.cy: 249.701764 | ||
|
||
Camera.k1: 0.231222 | ||
Camera.k2: -0.784899 | ||
Camera.p1: -0.003257 | ||
Camera.p2: -0.000105 | ||
Camera.k3: 0.917205 | ||
|
||
# Camera frames per second | ||
Camera.fps: .5 | ||
|
||
# Color order of the images (0: BGR, 1: RGB. It is ignored if images are grayscale) | ||
Camera.RGB: 1 | ||
|
||
#-------------------------------------------------------------------------------------------- | ||
# ORB Parameters | ||
#-------------------------------------------------------------------------------------------- | ||
|
||
# ORB Extractor: Number of features per image | ||
ORBextractor.nFeatures: 1000 | ||
|
||
# ORB Extractor: Scale factor between levels in the scale pyramid | ||
ORBextractor.scaleFactor: 1.2 | ||
|
||
# ORB Extractor: Number of levels in the scale pyramid | ||
ORBextractor.nLevels: 8 | ||
|
||
# ORB Extractor: Fast threshold | ||
# Image is divided in a grid. At each cell FAST are extracted imposing a minimum response. | ||
# Firstly we impose iniThFAST. If no corners are detected we impose a lower value minThFAST | ||
# You can lower these values if your images have low contrast | ||
ORBextractor.iniThFAST: 20 | ||
ORBextractor.minThFAST: 7 | ||
|
||
#-------------------------------------------------------------------------------------------- | ||
# Viewer Parameters | ||
#-------------------------------------------------------------------------------------------- | ||
Viewer.KeyFrameSize: 0.05 | ||
Viewer.KeyFrameLineWidth: 1 | ||
Viewer.GraphLineWidth: 0.9 | ||
Viewer.PointSize:2 | ||
Viewer.CameraSize: 0.08 | ||
Viewer.CameraLineWidth: 3 | ||
Viewer.ViewpointX: 0 | ||
Viewer.ViewpointY: -0.7 | ||
Viewer.ViewpointZ: -1.8 | ||
Viewer.ViewpointF: 500 | ||
#Viewer.ViewpointX: 0 | ||
#Viewer.ViewpointY: -0.7 | ||
#Viewer.ViewpointZ: -1.8 | ||
#Viewer.ViewpointF: 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters