Commit Graph

632 Commits

Author SHA1 Message Date
matlabbe
cbb0185adf Odometry and stereo: added parameter OdomStereo/MaxSlope to filter bad stereo pair matches from cvOpticalFlow
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1967 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-04 18:58:40 +00:00
matlabbe
54084fc5e1 OdometryFlow: ignore maxDepth when set to 0
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1966 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-04 00:06:40 +00:00
matlabbe
bb22d6b065 updated grid map margin to +-cellSize instead of 1 meter
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1965 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-03 22:15:07 +00:00
matlabbe
500ba389b7 fixed create2DMapFromOccupancyLocalMaps() initial map size
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1964 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-03 22:04:03 +00:00
matlabbe
c98db0396b create2DMap() added minMapSize parameter
dbViewer: fixed refine Visual

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1962 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-03 21:40:54 +00:00
matlabbe
91a6799a40 DatabaseViewer: added action refine links visually
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1961 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-03 19:14:02 +00:00
matlabbe
61ce7c4274 databaseViewer: enabled refineICP for stereo images
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1960 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-03 18:44:21 +00:00
matlabbe
4140e883b5 typo...
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1958 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-03 13:53:54 +00:00
matlabbe
b476022bbb updated default LccBow/MaxDepth to 4 meters
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1957 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-03 13:43:52 +00:00
matlabbe
080f31c8be fixed incremental memory when reextracting features
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1956 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-02 17:14:05 +00:00
matlabbe
a3b29eaf4f updated default source input rate to 30Hz
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1955 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-02 15:21:48 +00:00
matlabbe
15303d0b61 Fixed not loaded data from DBReader
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1944 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-11-01 22:00:53 +00:00
matlabbe
f12fc93639 Added option to show graphs in the 3D map view. (See "General Settings->3D rendering->Show Graphs" default true)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1943 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-30 19:38:58 +00:00
matlabbe
9358234e44 removed virtual signature -1 in rtabmap::getMap() (to avoid error "[ERROR] DBDriverSqlite3.cpp:1103::loadSignaturesQuery() Signature -1 not found in database!")
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1942 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-30 15:15:20 +00:00
matlabbe
1597cfc293 GUI: Added "Edit->Post processing..." action to detect more loop closures and/or refine all links in the graph with ICP 3D.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1940 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-30 14:43:43 +00:00
matlabbe
4fbefc9ec5 updated RTABMapConfig.cmake to find debug libraries
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1939 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 21:31:16 +00:00
matlabbe
0f7cc38688 Memory efficiency: changed std::vector<unsigned char> bytes arrays to cv::Mat to avoid multiple copies when Signature objects are copied.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1937 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 19:57:21 +00:00
matlabbe
eace13b7a8 GUI: Don't backup empty database...
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1936 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 14:13:53 +00:00
matlabbe
9ffd103e69 Removed trailing separator from working directory. Replaced all slashes by QDir::separator().
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1935 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 05:00:10 +00:00
matlabbe
850c277dac updated default Source database directory to working directory when empty.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1934 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 04:25:15 +00:00
matlabbe
4340748fec fixed compilation error on Windows (on util3d::removeNaNFromPointCloud() method)
increased stability of new actions added (New/Open/Close database).

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1933 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 04:16:36 +00:00
matlabbe
d950c88373 Fixed odometryBOW to correctly set initial pose
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1932 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 01:58:39 +00:00
matlabbe
b56e03b463 -Updated File menu with new actions "New database...", "Open database", "Close database" and "Edit database". Each new session will be automatically saved when closing the database. The "play" action cannot be activated until a new database is created or a previous session database is opened.
-  Memory usage reviewed for the GUI: we don't uncompress data for downloaded nodes from "Download all clouds" action.
- Odometry: added optional argument "initialPose" to reset() method

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1930 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-28 01:20:57 +00:00
matlabbe
457c068e0f Refactored how visualization data are transfered between core and gui: using only Signature object instead of separated image,deph,fx,fy...
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1928 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-26 21:47:29 +00:00
matlabbe
60b0fd2e98 Added util3d::segmentObstaclesFromGround() method, templated some PCL methods (new rtabmap/core/impl/util3d.hpp)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1921 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-24 16:58:32 +00:00
matlabbe
2bd32e5a95 eclipse fixed nmake target (not JOM)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1920 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-24 11:37:06 +00:00
matlabbe
8e55d7847f added util3d::cloudFromDisparity()
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1915 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-22 20:33:26 +00:00
matlabbe
d220301f50 fixed typos...
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1913 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-22 17:19:53 +00:00
matlabbe
c5d1770d84 fixed not all graph nodes visible of the current map in GraphView
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1906 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-20 21:56:37 +00:00
matlabbe
a75136fb9b increased default source rate to 30Hz
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1900 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-20 20:13:02 +00:00
matlabbe
d0325f3171 Added util3d::occupancy2DFromCloud3D() and util3d::create2DMapFromOccupancyLocalMaps() methods to create 2D occupancy maps from 3D clouds
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1899 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-20 02:14:31 +00:00
matlabbe
b97426c83d fixed warning of logStatisticsHeader parameter not set in Preferences
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1898 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-18 13:12:45 +00:00
matlabbe
e03831e7db rtabmap: desactivate graph optimization when RGBD/ToroIterations=0
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1896 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-17 23:59:15 +00:00
matlabbe
85526ec106 added Rtabmap/StatisticLoggedHeaders to avoid headers in log files
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1869 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-16 18:35:00 +00:00
matlabbe
fcd3301665 Stereo! The memory can now handle directly stereo images. Disparity can be computed on the fly by keeping left and right images, so for features extraction (and for re-extraction on loop closure), we can compute 3D points precisely. New parameters can be found under "RGB-D Mapping->Stereo". Full image disparity is reconstructed in the GUI (not the core).
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1861 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-16 00:14:23 +00:00
matlabbe
8f451029e2 Added setDepthColorSyncEnabled(true) for OpenNI2 devices to synchronize RGB and depth images
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1860 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-16 00:07:25 +00:00
matlabbe
22ce2525fc Added parameter Kp/NewWordsComparedTogether for dictionary, always true but when comparing loop closures with Reextracting features, it is set to false to save time.
fixed crash when calling getMap without rtabmap yet initialized.
Parameter "LccReextract/LoopClosureFeatures" is now named "LccReextract/Activated"


git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1855 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-14 21:48:50 +00:00
matlabbe
39a9c4ebd8 missing changes for last commit...
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1854 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-14 21:44:37 +00:00
matlabbe
07f4edff3b databaseViewer: updated default ICP parameters, and optimized view of the constraints while refining
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1853 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-14 21:06:30 +00:00
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
a3f7415821 Refactored OdometryBOW class
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1846 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-08 00:32:43 +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
37395a485c Extended KpDetectorStrategy/OdomType/ReextractFeatureType comments for BRISK
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1844 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-07 10:27:21 +00:00
matlabbe
ec50569c66 fixed bow mapping example with RGBD/Enable =false
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1842 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-07 00:15:54 +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
61603cdf0f Fixed missing visual words when parameter Mem/InitWMWithAllNodes is set
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1828 f169173b-cf89-36c8-b27e-44dbe73f0c83
2014-10-02 20:35:45 +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