Commit Graph

198 Commits

Author SHA1 Message Date
matlabbe
8b67633b34 Refactored Odometry class:
-new odometry parameters
-new Optical flow strategy
-Stereo data support 
Refactored SensorData class to support stereo images
Updated default parameters (mostly odometry ones)
util3d: new methods to handle/reconstruct 3D clouds from disparity image / stereo images
PreferencesDialog: added Odometry/BOW and Odometry/OpticalFLow panels.
DatabaseViewer: fixed a crash when database is empty. Added cloud reconstruction of stereo images if saved in database
Camera: added 1 second delay to avoid dark images at the starting


git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1849 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-13 19:10:22 +00:00
matlabbe
ae57ea6ae5 fixed LccReextract/FeatureType not set in Preferences when loading config.ini.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1845 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-07 23:07:23 +00:00
matlabbe
4d4c5af6e5 Fixed crash when using binary descriptors and maxWords/maxDepth are set
Added BRISK detector

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1839 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-06 19:41:45 +00:00
matlabbe
d30c2baf51 Changed WIN32 to _WIN32 to handle some 64bits systems where WIN32 is not defined (_WIN32 should be defined both for 32bits and 64bits systems: http://msdn.microsoft.com/en-us/library/b0084kay.aspx).
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1830 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-03 01:40:17 +00:00
matlabbe
0a807e8cde Found a workaround for Issue 5 to avoid segmentation faults. The data included in the created window are cleared, but the window itself is not destroyed, only when its parent is deleted -> here the MainWindow. It seems that child CloudViewer windows don't crash when deleted on application exit.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1826 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-02 19:33:51 +00:00
matlabbe
2badfb5faf Upgraded trunk version to 0.7.1
Added version in ini config file
Fixed rtabmap-console for loop closure detection-only

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1823 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-02 15:12:56 +00:00
matlabbe
c441cc1d0f Added Map color overlay on 3D cloud (press key '2' on keyboard)
Fixed loading all node ids from database, ignoring children

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1813 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-01 21:44:46 +00:00
matlabbe
317d382a24 New parameter: Rtabmap/StartNewMapOnLoopClosure, when activated and creating a new map, the nodes of the new map will be ignored until a loop closure is found.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1812 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-01 19:52:46 +00:00
matlabbe
9559eee614 Export dialog keeps last config. Updated "clear the cache" to remove all visible images/trajectory/background color.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1811 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-01 17:52:27 +00:00
matlabbe
1367143171 Added "Test" button in the Source panel in Preferences to test alone the RGB-D camera.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1810 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-01 17:30:44 +00:00
matlabbe
9c59a6cf5e fixed saving/loading odomQualityThr to ini file
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1722 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-09-25 17:37:11 +00:00
matlabbe
ebeb116c0d added new statistics (features extracted current image, local map size) shown in GUI for Odometry
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1719 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-09-25 15:04:35 +00:00
matlabbe
c4408920f6 DatabaseViewer: ask saving changes to database on Exit
New parameter: Mem/InitWMWithAllNodes

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1680 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-09-21 21:14:17 +00:00
matlabbe
a98f819821 Binary descriptors (ORB, BRIEF, FREAK) can now be used for the visual dictionnary: maybe not as discriminative as SIFT/SURF on large environments, the advantage is that RTAB-Map will work without Patent/noncommercial licenses of SIFT and SURF.
A new option is added to re-extract features when a loop closure hypothesis is found. 
Another new option is to force 2D (3DoF) transform on visual odometry and loop closures.

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1679 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-09-21 16:51:51 +00:00
matlabbe
c8593df7eb Enabled binary visual words for dictionary (for loop closure detection).
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1677 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-09-09 21:54:32 +00:00
matlabbe
f251b64310 Added GFTT detector which can be used for Odometry
Modified how depth is computed: Now the mean of neighbors is used as the value instead of interpolation... averaging the Kinect noise.

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1662 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-08-20 23:05:06 +00:00
matlabbe
e460cb592f Refactoring: Renamed rtabmap::Image to rtabmap::SensorData
removed keypoints and descriptors stuff from CameraEvent and Image/SensorData
removed keypoints3 from Image/SensorData

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1653 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-08-18 23:14:04 +00:00
matlabbe
29097c023e Changed license to BSD
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1633 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-08-11 17:00:55 +00:00
matlabbe
df76e3cd29 Added constraints editing to DatabaseViewer to add/reject loop closures, refine loop closures with ICP, detect more loop closures using the optimized map
Added Feature2D::parseParameters()
 

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1632 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-08-11 15:23:06 +00:00
matlabbe
8e65812324 Added interpolate parameter to util3d::getDepth()
Added Reset calibration button
Added Sense 3D scanner input source

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1625 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-30 17:42:58 +00:00
matlabbe
d3599f7937 fixed build on system with PCL < 1.7.2
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1624 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-29 21:55:32 +00:00
matlabbe
69ad085f88 -Added the grid map in the 3D map view (pcl::TextureMesh, available only when pcl>=1.7.2). Refactored how 2d maps are created.
-Fixed export grid map on Mac OS X.


git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1623 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-29 21:48:37 +00:00
matlabbe
a81f5785a2 Added Export scans and View scans menu actions, fixed occupancy grid voxel size export
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1622 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-29 14:11:08 +00:00
matlabbe
51b5a91c6a Refactoring of Export/View actions:
Added ExportCloudsDialog class for convenience when Viewing or Exporting clouds/meshes
Added Export grid map action
Clouds shown in the 3D Map view can be directly saved without cloud regeneration.

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1621 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-29 00:52:35 +00:00
matlabbe
cd15107e12 rtabmapviz: re-activated download map/graph "not optimized" options
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1618 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-28 14:43:25 +00:00
matlabbe
8fe1b1d589 only search for QVTK if VTK5 is found (not for VTK6)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1616 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-26 05:23:24 +00:00
matlabbe
28787d583b added FindQVTK.cmake
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1615 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-26 05:06:05 +00:00
matlabbe
f090c81aaf Added CalibrationDialog in Preferences->source for convenience. The database is also changed to handle new FX, FY, CX and CY intrinsic parameters instead of only depthConstant parameter. Added version of the database in a new table Admin. Updated to version 0.7.0.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1613 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-26 04:36:00 +00:00
matlabbe
1557b3d44d ubuntu 14.04 printf error (missing #include <stdio.h>)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1612 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-25 18:41:50 +00:00
matlabbe
18f84febc1 OdometryEvent: set quality to -1 when not set.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1611 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-24 17:27:43 +00:00
matlabbe
ab1d4eb232 databaseviewer set default CameraLockZ=false on constraints view
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1593 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-23 21:30:27 +00:00
matlabbe
c1497d9e92 added CalibrationDialog class and Calibration tool app
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1587 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-22 22:22:59 +00:00
matlabbe
6e7dde2aea DbViewer: added mapId
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1561 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-14 19:16:26 +00:00
matlabbe
2479272161 GUI: Changed "Save" for "Export", moved Export to File menu
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1558 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-14 01:40:50 +00:00
matlabbe
7cfb985478 GUI: ask for MLS when saving or viewing high res clouds (added parameter values in progress dialog)
Source: added focalLength parameter for RGBD camera (if not null, it will override the value from the camera)

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1557 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-14 01:25:28 +00:00
matlabbe
bcc9469c91 corrected typos
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1553 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-13 18:09:54 +00:00
matlabbe
16058dcbbe radiusPosesFiltering default keepLatest=true
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1550 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-13 17:59:38 +00:00
matlabbe
6e3303654e updated OptimizeFromGraphEnd description
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1549 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-13 17:49:11 +00:00
matlabbe
87d1e4b52a updated util3d::create2dMap() with filling unknown space option (default true)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1453 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-03 20:16:39 +00:00
matlabbe
99fbca5ffe StatsToolBox changed error to warning when setting not existing working directory
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1446 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-07-02 18:28:06 +00:00
matlabbe
f34907f92f Added optimizeFromGraphEnd (default true) parameter. It can be used to keep the map referential from the oldest node in the current graph
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1441 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-25 23:00:35 +00:00
matlabbe
bb3c8afd45 cloud filtering: keep first in the area instead of the last
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1438 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-23 21:52:15 +00:00
matlabbe
7b0a34b150 Save/view high-res point clouds depending on the visible clouds in Map view (only those checked in MapVisibility view)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1437 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-23 20:43:08 +00:00
matlabbe
e9ae29f909 fixed some warnings in Windows
fixed Transform::getNorm()

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1436 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-23 15:19:17 +00:00
matlabbe
c6a525c112 Added question about using odometry in database when selecting source from database
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1434 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-23 00:34:52 +00:00
matlabbe
ad04fed7e6 Added Database recorder menu option
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1433 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-23 00:26:14 +00:00
matlabbe
65b79cd7a2 Refactored OdometryBOW class to handle binary descriptors too (removed OdometryBin).
Odometry: added "local map history" option to increase precision
Added new Nearest neighbor options (LSH, brute Force, GPU brute Force)
Added FREAK/ORB features
Increased version to 0.6.5

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1431 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-22 03:33:56 +00:00
matlabbe
586f4e3d86 MAC OS X binaries fixed bundle. Freenect underscore vs dashed includes
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1394 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-17 01:45:52 +00:00
matlabbe
f6ce17012a Fixed camera openni-PCL stopping after only one grab
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1390 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-16 18:07:51 +00:00
matlabbe
9c20c20300 Fixed OpenNI2 selection not saved to ini
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1389 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-06-16 17:14:16 +00:00