Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superglue ROS #534

Closed
42Max42 opened this issue Jan 28, 2021 · 5 comments
Closed

Superglue ROS #534

42Max42 opened this issue Jan 28, 2021 · 5 comments

Comments

@42Max42
Copy link

42Max42 commented Jan 28, 2021

Hi,
I tryed Superglue with superpoint torch with rtabmap 0.20.7 and the results are great.
Then I tryed to run the same thing in ROS noetic (from tag 0.20.7-noetic), but when it loads Superpoint to match the first pair, it hangs for ever. I am using libtorch 1.7.1 cuda 11 (downloaded from pytorch.org, and uncompressed in /data/libtorch) and pytorch 1.7.1+cu110 installed with pip. It works fine using Superpoint in ROS with an other Vis/CorNNType.
Here is my launch file:

<launch>
  <group ns="rtabmap">
    <!-- Visual SLAM -->
    <node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" args="--delete_db_on_start">

      <param name="subscribe_depth"  type="bool"   value="false"/>
      <param name="subscribe_rgb"    type="bool"   value="false"/>
      <param name="subscribe_rgbd"   type="bool"   value="true"/>
      <param name="subscribe_laserScan" type="bool" value="false"/>

      <remap from="rgbd_image"       to="/rgbd_image/compressed_relay"/>

      <param name="Vis/EstimationType" type="string" value="1"/>
      <param name="Vis/MinInliers" type="string" value="20"/>

      <param name="Kp/DetectorStrategy"    type="string" value="11"/>
      <param name="Vis/FeatureType" type="string" value="11"/>
      <param name="SuperPoint/Cuda"        type="string" value="true"/>
      <param name="SuperPoint/ModelPath" type="string" value="$(find rtabmap_ros)/cfg/superpoint.pt"/>

      <param name="Vis/CorNNType"      type="string" value="6"/>
      <param name="PyMatcher/Model" type="string" value="indoor"/>
      <param name="PyMatcher/Path" type="string" value="/data/rtabmap/corelib/src/pymatcher/rtabmap_superglue.py"/>
      <param name="PyMatcher/Threshold" type="string" value="0.2"/>
      <param name="PyMatcher/Iterations" type="string" value="20"/>
      <param name="PyMatcher/Cuda" type="string" value="true"/>


      <remap from="odom" to="/odom"/>


      <param name="frame_id"    type="string" value="/base_link"/>
      <param name="queue_size"  type="int"    value="30"/>
      <param name="approx_sync" type="bool"   value="true"/>

      <param name="Mem/IncrementalMemory" type="string" value="true"/>
    </node>

    <!-- Visualisation RTAB-Map -->
    <node pkg="rtabmap_ros" type="rtabmapviz" name="rtabmapviz" args="-d $(find rtabmap_ros)/launch/config/rgbd_gui.ini" output="screen">

      <param name="subscribe_rgb"    type="bool"   value="false"/>
      <param name="subscribe_depth"  type="bool"   value="false"/>
      <param name="subscribe_stereo"    type="bool"   value="false"/>
      <param name="subscribe_laserScan" type="bool" value="false"/>

      <param name="subscribe_rgbd"   type="bool"   value="true"/>

      <param name="subscribe_odom_info" type="bool" value="false"/>

      <param name="queue_size"          type="int"    value="10"/>
      <param name="frame_id"            type="string" value="base_link"/>

      <remap from="rgbd_image"       to="/rgbd_image/compressed_relay"/>
      <remap from="odom"              to="/odom"/>
      <param name="approx_sync" type="bool"   value="true"/>
    </node>


  </group>

</launch>

I also had to

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/libtorch/lib/

to get rtabmap running with superpoint.
What is wrong?

Thanks in advance.

@matlabbe
Copy link
Member

Hi, you may add --udebug to args="--delete_db_on_start" to see more info. You can also add some print like this in the python code to see if the program is hanging somewhere in the python.

Note also that latest rtabmap version has some refactoring to python interface, which may help for the problem.

@42Max42
Copy link
Author

42Max42 commented Jan 29, 2021

Hi,
Thank you for your answer.
I found that it is stuck here: https://github.com/magicleap/SuperGluePretrainedNetwork/blob/c0626d58c843ee0464b0fa1dd4de4059bfae0ab4/models/superglue.py#L224
I have checked the path is correct. It hangs when the device is gpu or cpu.
If I comment this line (which loads the weights) it passes https://github.com/introlab/rtabmap/blob/839045a538396eb56e21ae472d9a4a20f8404437/corelib/src/pymatcher/rtabmap_superglue.py#L39 but hangs later during matching and with gpu it remains stuck at this line.

With the new version (rtabmap and rtabmap_ros to the latest master), with just rtabmap (same config but with the correct path for rtabmap_superglue.py)

Program started...
SuperGlue python init()
[ WARN] (2021-01-29 14:03:25.544) RtabmapThread.cpp:632::addData() Data buffer is full, the oldest data is removed to add the new one.
[ WARN] (2021-01-29 14:03:26.752) RtabmapThread.cpp:632::addData() Data buffer is full, the oldest data is removed to add the new one.
[ WARN] (2021-01-29 14:03:27.761) RtabmapThread.cpp:632::addData() Data buffer is full, the oldest data is removed to add the new one.
[ WARN] (2021-01-29 14:03:28.768) RtabmapThread.cpp:632::addData() Data buffer is full, the oldest data is removed to add the new one.
[ WARN] (2021-01-29 14:03:29.807) RtabmapThread.cpp:632::addData() Data buffer is full, the oldest data is removed to add the new one.

with both cpu and gpu, and it doesn't match anything.

But with rtabmap-matcher it works fine for matching.

In ros (pymatcher path adapted) it crashes at start without any error in logs or display.

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.9
 * /rtabmap/rtabmap/Kp/DetectorStrategy: 11
 * /rtabmap/rtabmap/Mem/IncrementalMemory: true
 * /rtabmap/rtabmap/PyMatcher/Cuda: false
 * /rtabmap/rtabmap/PyMatcher/Iterations: 20
 * /rtabmap/rtabmap/PyMatcher/Model: indoor
 * /rtabmap/rtabmap/PyMatcher/Path: /data/rtabmap/cor...
 * /rtabmap/rtabmap/PyMatcher/Threshold: 0.2
 * /rtabmap/rtabmap/SuperPoint/Cuda: false
 * /rtabmap/rtabmap/SuperPoint/ModelPath: /data/ws/src/rtab...
 * /rtabmap/rtabmap/Vis/CorNNType: 6
 * /rtabmap/rtabmap/Vis/EstimationType: 1
 * /rtabmap/rtabmap/Vis/FeatureType: 11
 * /rtabmap/rtabmap/Vis/MinInliers: 20
 * /rtabmap/rtabmap/approx_sync: True
 * /rtabmap/rtabmap/frame_id: /base_link
 * /rtabmap/rtabmap/queue_size: 30
 * /rtabmap/rtabmap/rgbd_cameras: 1
 * /rtabmap/rtabmap/subscribe_depth: False
 * /rtabmap/rtabmap/subscribe_laserScan: False
 * /rtabmap/rtabmap/subscribe_rgb: False
 * /rtabmap/rtabmap/subscribe_rgbd: True
 * /rtabmap/rtabmapviz/approx_sync: True
 * /rtabmap/rtabmapviz/frame_id: base_link
 * /rtabmap/rtabmapviz/queue_size: 10
 * /rtabmap/rtabmapviz/rgbd_cameras: 1
 * /rtabmap/rtabmapviz/subscribe_depth: False
 * /rtabmap/rtabmapviz/subscribe_laserScan: False
 * /rtabmap/rtabmapviz/subscribe_odom_info: False
 * /rtabmap/rtabmapviz/subscribe_rgb: False
 * /rtabmap/rtabmapviz/subscribe_rgbd: True
 * /rtabmap/rtabmapviz/subscribe_stereo: False

NODES
  /rtabmap/
    rtabmap (rtabmap_ros/rtabmap)
    rtabmapviz (rtabmap_ros/rtabmapviz)

ROS_MASTER_URI=http://localhost:11311

process[rtabmap/rtabmap-1]: started with pid [6097]
process[rtabmap/rtabmapviz-2]: started with pid [6098]
[ INFO] [1611930266.482019774]: Starting node...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[ INFO] [1611930266.517588281]: rtabmapviz: Using configuration from "/data/ws/src/rtabmap_ros/launch/config/rgbd_gui.ini"
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[ INFO] [1611930267.431087700]: Reading parameters from the ROS server...
[ WARN] [1611930267.431638901]: Parameter BRIEF/Bytes not found
[ WARN] [1611930267.431877573]: Parameter BRISK/Octaves not found
[ WARN] [1611930267.432126251]: Parameter BRISK/PatternScale not found
[ WARN] [1611930267.432347861]: Parameter BRISK/Thresh not found
[ WARN] [1611930267.432685142]: Parameter Bayes/FullPredictionUpdate not found
[ WARN] [1611930267.432894713]: Parameter Bayes/PredictionLC not found
[ WARN] [1611930267.433186039]: Parameter Bayes/VirtualPlacePriorThr not found
[ WARN] [1611930267.433436420]: Parameter Db/TargetVersion not found
[ WARN] [1611930267.433691854]: Parameter DbSqlite3/CacheSize not found
[ WARN] [1611930267.433908849]: Parameter DbSqlite3/InMemory not found
[ WARN] [1611930267.434111242]: Parameter DbSqlite3/JournalMode not found
[ WARN] [1611930267.434305971]: Parameter DbSqlite3/Synchronous not found
[ WARN] [1611930267.434500868]: Parameter DbSqlite3/TempStore not found
[ WARN] [1611930267.434692850]: Parameter FAST/CV not found
[ WARN] [1611930267.434883229]: Parameter FAST/Gpu not found
[ WARN] [1611930267.435075544]: Parameter FAST/GpuKeypointsRatio not found
[ WARN] [1611930267.435268949]: Parameter FAST/GridCols not found
[ WARN] [1611930267.435460095]: Parameter FAST/GridRows not found
[ WARN] [1611930267.435647915]: Parameter FAST/MaxThreshold not found
[ WARN] [1611930267.435828778]: Parameter FAST/MinThreshold not found
[ WARN] [1611930267.436012342]: Parameter FAST/NonmaxSuppression not found
[ WARN] [1611930267.436195538]: Parameter FAST/Threshold not found
[ WARN] [1611930267.436376913]: Parameter FREAK/NOctaves not found
[ WARN] [1611930267.436559304]: Parameter FREAK/OrientationNormalized not found
[ WARN] [1611930267.436741675]: Parameter FREAK/PatternScale not found
[ WARN] [1611930267.436924367]: Parameter FREAK/ScaleNormalized not found
[ WARN] [1611930267.437106179]: Parameter GFTT/BlockSize not found
[ WARN] [1611930267.437289426]: Parameter GFTT/K not found
[ WARN] [1611930267.437471643]: Parameter GFTT/MinDistance not found
[ WARN] [1611930267.437660958]: Parameter GFTT/QualityLevel not found
[ WARN] [1611930267.437842656]: Parameter GFTT/UseHarrisDetector not found
[ WARN] [1611930267.438021529]: Parameter GMS/ThresholdFactor not found
[ WARN] [1611930267.438199473]: Parameter GMS/WithRotation not found
[ WARN] [1611930267.438378202]: Parameter GMS/WithScale not found
[ WARN] [1611930267.438557660]: Parameter GTSAM/Optimizer not found
[ WARN] [1611930267.438735431]: Parameter Grid/3D not found
[ WARN] [1611930267.438912440]: Parameter Grid/CellSize not found
[ WARN] [1611930267.439087545]: Parameter Grid/ClusterRadius not found
[ WARN] [1611930267.439264513]: Parameter Grid/DepthDecimation not found
[ WARN] [1611930267.439444377]: Parameter Grid/DepthRoiRatios not found
[ WARN] [1611930267.439622372]: Parameter Grid/FlatObstacleDetected not found
[ WARN] [1611930267.439796684]: Parameter Grid/FootprintHeight not found
[ WARN] [1611930267.439972075]: Parameter Grid/FootprintLength not found
[ WARN] [1611930267.440145809]: Parameter Grid/FootprintWidth not found
[ WARN] [1611930267.440319568]: Parameter Grid/FromDepth not found
[ WARN] [1611930267.440496396]: Parameter Grid/GroundIsObstacle not found
[ WARN] [1611930267.440671865]: Parameter Grid/MapFrameProjection not found
[ WARN] [1611930267.440847887]: Parameter Grid/MaxGroundAngle not found
[ WARN] [1611930267.441026649]: Parameter Grid/MaxGroundHeight not found
[ WARN] [1611930267.441203746]: Parameter Grid/MaxObstacleHeight not found
[ WARN] [1611930267.441381786]: Parameter Grid/MinClusterSize not found
[ WARN] [1611930267.441556100]: Parameter Grid/MinGroundHeight not found
[ WARN] [1611930267.441742095]: Parameter Grid/NoiseFilteringMinNeighbors not found
[ WARN] [1611930267.441921360]: Parameter Grid/NoiseFilteringRadius not found
[ WARN] [1611930267.442100570]: Parameter Grid/NormalK not found
[ WARN] [1611930267.442277778]: Parameter Grid/NormalsSegmentation not found
[ WARN] [1611930267.442456970]: Parameter Grid/PreVoxelFiltering not found
[ WARN] [1611930267.442635616]: Parameter Grid/RangeMax not found
[ WARN] [1611930267.442813354]: Parameter Grid/RangeMin not found
[ WARN] [1611930267.442990518]: Parameter Grid/RayTracing not found
[ WARN] [1611930267.443167794]: Parameter Grid/Scan2dUnknownSpaceFilled not found
[ WARN] [1611930267.443345234]: Parameter Grid/ScanDecimation not found
[ WARN] [1611930267.443539073]: Parameter GridGlobal/Eroded not found
[ WARN] [1611930267.443723088]: Parameter GridGlobal/FootprintRadius not found
[ WARN] [1611930267.443900858]: Parameter GridGlobal/FullUpdate not found
[ WARN] [1611930267.444079839]: Parameter GridGlobal/MaxNodes not found
[ WARN] [1611930267.444340800]: Parameter GridGlobal/MinSize not found
[ WARN] [1611930267.444519598]: Parameter GridGlobal/OccupancyThr not found
[ WARN] [1611930267.444698275]: Parameter GridGlobal/ProbClampingMax not found
[ WARN] [1611930267.444879564]: Parameter GridGlobal/ProbClampingMin not found
[ WARN] [1611930267.445060424]: Parameter GridGlobal/ProbHit not found
[ WARN] [1611930267.445238380]: Parameter GridGlobal/ProbMiss not found
[ WARN] [1611930267.445416990]: Parameter GridGlobal/UpdateError not found
[ WARN] [1611930267.445605227]: Parameter Icp/CorrespondenceRatio not found
[ WARN] [1611930267.445794470]: Parameter Icp/DownsamplingStep not found
[ WARN] [1611930267.445979034]: Parameter Icp/Epsilon not found
[ WARN] [1611930267.446160903]: Parameter Icp/Iterations not found
[ WARN] [1611930267.446340779]: Parameter Icp/MaxCorrespondenceDistance not found
[ WARN] [1611930267.446565598]: Parameter Icp/MaxRotation not found
[ WARN] [1611930267.446778252]: Parameter Icp/MaxTranslation not found
[ WARN] [1611930267.446984298]: Parameter Icp/PM not found
[ WARN] [1611930267.447187786]: Parameter Icp/PMConfig not found
[ WARN] [1611930267.447390732]: Parameter Icp/PMMatcherEpsilon not found
[ WARN] [1611930267.447587662]: Parameter Icp/PMMatcherIntensity not found
[ WARN] [1611930267.447779298]: Parameter Icp/PMMatcherKnn not found
[ WARN] [1611930267.447973144]: Parameter Icp/PMOutlierRatio not found
[ WARN] [1611930267.448169710]: Parameter Icp/PointToPlane not found
[ WARN] [1611930267.448364838]: Parameter Icp/PointToPlaneGroundNormalsUp not found
[ WARN] [1611930267.448558084]: Parameter Icp/PointToPlaneK not found
[ WARN] [1611930267.448752359]: Parameter Icp/PointToPlaneLowComplexityStrategy not found
[ WARN] [1611930267.448941213]: Parameter Icp/PointToPlaneMinComplexity not found
[ WARN] [1611930267.449126901]: Parameter Icp/PointToPlaneRadius not found
[ WARN] [1611930267.449311901]: Parameter Icp/RangeMax not found
[ WARN] [1611930267.449496585]: Parameter Icp/RangeMin not found
[ WARN] [1611930267.449736941]: Parameter Icp/VoxelSize not found
[ WARN] [1611930267.449947767]: Parameter ImuFilter/ComplementaryBiasAlpha not found
[ WARN] [1611930267.450163724]: Parameter ImuFilter/ComplementaryDoAdpativeGain not found
[ WARN] [1611930267.450360046]: Parameter ImuFilter/ComplementaryDoBiasEstimation not found
[ WARN] [1611930267.450557055]: Parameter ImuFilter/ComplementaryGainAcc not found
[ WARN] [1611930267.450752572]: Parameter ImuFilter/MadgwickGain not found
[ WARN] [1611930267.450943585]: Parameter ImuFilter/MadgwickZeta not found
[ WARN] [1611930267.451132119]: Parameter KAZE/Diffusivity not found
[ WARN] [1611930267.451320714]: Parameter KAZE/Extended not found
[ WARN] [1611930267.451507942]: Parameter KAZE/NOctaveLayers not found
[ WARN] [1611930267.451696328]: Parameter KAZE/NOctaves not found
[ WARN] [1611930267.451885259]: Parameter KAZE/Threshold not found
[ WARN] [1611930267.452073031]: Parameter KAZE/Upright not found
[ WARN] [1611930267.452258317]: Parameter Kp/BadSignRatio not found
[ WARN] [1611930267.452443994]: Parameter Kp/ByteToFloat not found
[ WARN] [1611930267.452632571]: Parameter Kp/DetectorStrategy not found
[ WARN] [1611930267.452819550]: Parameter Kp/DictionaryPath not found
[ WARN] [1611930267.453007312]: Parameter Kp/FlannRebalancingFactor not found
[ WARN] [1611930267.453193641]: Parameter Kp/GridCols not found
[ WARN] [1611930267.453381080]: Parameter Kp/GridRows not found
[ WARN] [1611930267.453569143]: Parameter Kp/IncrementalDictionary not found
[ WARN] [1611930267.453768778]: Parameter Kp/IncrementalFlann not found
[ WARN] [1611930267.453961548]: Parameter Kp/MaxDepth not found
[ WARN] [1611930267.454151468]: Parameter Kp/MaxFeatures not found
[ WARN] [1611930267.454338358]: Parameter Kp/MinDepth not found
[ WARN] [1611930267.454524443]: Parameter Kp/NNStrategy not found
[ WARN] [1611930267.454755994]: Parameter Kp/NewWordsComparedTogether not found
[ WARN] [1611930267.454949225]: Parameter Kp/NndrRatio not found
[ WARN] [1611930267.455142428]: Parameter Kp/Parallelized not found
[ WARN] [1611930267.455332278]: Parameter Kp/RoiRatios not found
[ WARN] [1611930267.455522453]: Parameter Kp/SubPixEps not found
[ WARN] [1611930267.455711963]: Parameter Kp/SubPixIterations not found
[ WARN] [1611930267.455903817]: Parameter Kp/SubPixWinSize not found
[ WARN] [1611930267.456096629]: Parameter Kp/TfIdfLikelihoodUsed not found
[ WARN] [1611930267.456287417]: Parameter Marker/CornerRefinementMethod not found
[ WARN] [1611930267.456474167]: Parameter Marker/Dictionary not found
[ WARN] [1611930267.456663780]: Parameter Marker/Length not found
[ WARN] [1611930267.456917674]: Parameter Marker/MaxDepthError not found
[ WARN] [1611930267.457143419]: Parameter Marker/MaxRange not found
[ WARN] [1611930267.457347839]: Parameter Marker/MinRange not found
[ WARN] [1611930267.457548025]: Parameter Marker/VarianceAngular not found
[ WARN] [1611930267.457757307]: Parameter Marker/VarianceLinear not found
[ WARN] [1611930267.457959136]: Parameter Mem/BadSignaturesIgnored not found
[ WARN] [1611930267.458163218]: Parameter Mem/BinDataKept not found
[ WARN] [1611930267.458371671]: Parameter Mem/CompressionParallelized not found
[ WARN] [1611930267.458572178]: Parameter Mem/CovOffDiagIgnored not found
[ WARN] [1611930267.458764854]: Parameter Mem/DepthAsMask not found
[ WARN] [1611930267.458953170]: Parameter Mem/GenerateIds not found
[ WARN] [1611930267.459144851]: Parameter Mem/ImageCompressionFormat not found
[ WARN] [1611930267.459418400]: Parameter Mem/ImageKept not found
[ WARN] [1611930267.459623434]: Parameter Mem/ImagePostDecimation not found
[ WARN] [1611930267.459825163]: Parameter Mem/ImagePreDecimation not found
[ WARN] [1611930267.460026338]: Parameter Mem/IncrementalMemory not found
[ WARN] [1611930267.460220021]: Parameter Mem/InitWMWithAllNodes not found
[ WARN] [1611930267.460412842]: Parameter Mem/IntermediateNodeDataKept not found
[ WARN] [1611930267.460606557]: Parameter Mem/LaserScanDownsampleStepSize not found
[ WARN] [1611930267.460797144]: Parameter Mem/LaserScanNormalK not found
[ WARN] [1611930267.461106212]: Parameter Mem/LaserScanNormalRadius not found
[ WARN] [1611930267.461296726]: Parameter Mem/LaserScanVoxelSize not found
[ WARN] [1611930267.461486806]: Parameter Mem/LocalizationDataSaved not found
[ WARN] [1611930267.461687382]: Parameter Mem/MapLabelsAdded not found
[ WARN] [1611930267.461878434]: Parameter Mem/NotLinkedNodesKept not found
[ WARN] [1611930267.462073359]: Parameter Mem/RawDescriptorsKept not found
[ WARN] [1611930267.462256828]: Parameter Mem/RecentWmRatio not found
[ WARN] [1611930267.462439560]: Parameter Mem/ReduceGraph not found
[ WARN] [1611930267.462620975]: Parameter Mem/RehearsalIdUpdatedToNewOne not found
[ WARN] [1611930267.462800474]: Parameter Mem/RehearsalSimilarity not found
[ WARN] [1611930267.462980159]: Parameter Mem/RehearsalWeightIgnoredWhileMoving not found
[ WARN] [1611930267.463161420]: Parameter Mem/STMSize not found
[ WARN] [1611930267.463341778]: Parameter Mem/SaveDepth16Format not found
[ WARN] [1611930267.463521800]: Parameter Mem/StereoFromMotion not found
[ WARN] [1611930267.463702138]: Parameter Mem/TransferSortingByWeightId not found
[ WARN] [1611930267.463880787]: Parameter Mem/UseOdomFeatures not found
[ WARN] [1611930267.464058051]: Parameter Mem/UseOdomGravity not found
[ WARN] [1611930267.464313024]: Parameter ORB/EdgeThreshold not found
[ WARN] [1611930267.464509270]: Parameter ORB/FirstLevel not found
[ WARN] [1611930267.464698356]: Parameter ORB/Gpu not found
[ WARN] [1611930267.464974902]: Parameter ORB/NLevels not found
[ WARN] [1611930267.465213257]: Parameter ORB/PatchSize not found
[ WARN] [1611930267.465406361]: Parameter ORB/ScaleFactor not found
[ WARN] [1611930267.465594669]: Parameter ORB/ScoreType not found
[ WARN] [1611930267.465785407]: Parameter ORB/WTA_K not found
[ WARN] [1611930267.465975738]: Parameter Optimizer/Epsilon not found
[ WARN] [1611930267.466161085]: Parameter Optimizer/GravitySigma not found
[ WARN] [1611930267.466389856]: Parameter Optimizer/Iterations not found
[ WARN] [1611930267.466595687]: Parameter Optimizer/LandmarksIgnored not found
[ WARN] [1611930267.466796835]: Parameter Optimizer/PriorsIgnored not found
[ WARN] [1611930267.466995121]: Parameter Optimizer/Robust not found
[ WARN] [1611930267.467191541]: Parameter Optimizer/Strategy not found
[ WARN] [1611930267.467386590]: Parameter Optimizer/VarianceIgnored not found
[ WARN] [1611930267.467581304]: Parameter PyDetector/Cuda not found
[ WARN] [1611930267.467774967]: Parameter PyDetector/Path not found
[ WARN] [1611930267.467969493]: Parameter PyMatcher/Cuda not found
[ WARN] [1611930267.468161128]: Parameter PyMatcher/Iterations not found
[ WARN] [1611930267.468351861]: Parameter PyMatcher/Model not found
[ WARN] [1611930267.468544253]: Parameter PyMatcher/Path not found
[ WARN] [1611930267.468728126]: Parameter PyMatcher/Threshold not found
[ WARN] [1611930267.468909523]: Parameter RGBD/AngularSpeedUpdate not found
[ WARN] [1611930267.469089562]: Parameter RGBD/AngularUpdate not found
[ WARN] [1611930267.469269790]: Parameter RGBD/CreateOccupancyGrid not found
[ WARN] [1611930267.469452789]: Parameter RGBD/Enabled not found
[ WARN] [1611930267.469644323]: Parameter RGBD/GoalReachedRadius not found
[ WARN] [1611930267.469833109]: Parameter RGBD/GoalsSavedInUserData not found
[ WARN] [1611930267.470016075]: Parameter RGBD/LinearSpeedUpdate not found
[ WARN] [1611930267.470199325]: Parameter RGBD/LinearUpdate not found
[ WARN] [1611930267.470382882]: Parameter RGBD/LocalBundleOnLoopClosure not found
[ WARN] [1611930267.470568759]: Parameter RGBD/LocalImmunizationRatio not found
[ WARN] [1611930267.470751921]: Parameter RGBD/LocalRadius not found
[ WARN] [1611930267.470937539]: Parameter RGBD/LoopClosureReextractFeatures not found
[ WARN] [1611930267.471120331]: Parameter RGBD/LoopCovLimited not found
[ WARN] [1611930267.471301275]: Parameter RGBD/MarkerDetection not found
[ WARN] [1611930267.471488510]: Parameter RGBD/MaxLocalRetrieved not found
[ WARN] [1611930267.471673544]: Parameter RGBD/MaxLoopClosureDistance not found
[ WARN] [1611930267.471857603]: Parameter RGBD/MaxOdomCacheSize not found
[ WARN] [1611930267.472039434]: Parameter RGBD/NeighborLinkRefining not found
[ WARN] [1611930267.472220097]: Parameter RGBD/NewMapOdomChangeDistance not found
[ WARN] [1611930267.472399215]: Parameter RGBD/OptimizeFromGraphEnd not found
[ WARN] [1611930267.472578769]: Parameter RGBD/OptimizeMaxError not found
[ WARN] [1611930267.472758244]: Parameter RGBD/PlanAngularVelocity not found
[ WARN] [1611930267.472938068]: Parameter RGBD/PlanLinearVelocity not found
[ WARN] [1611930267.473118442]: Parameter RGBD/PlanStuckIterations not found
[ WARN] [1611930267.473299152]: Parameter RGBD/ProximityAngle not found
[ WARN] [1611930267.473480988]: Parameter RGBD/ProximityBySpace not found
[ WARN] [1611930267.473672920]: Parameter RGBD/ProximityByTime not found
[ WARN] [1611930267.473858164]: Parameter RGBD/ProximityMaxGraphDepth not found
[ WARN] [1611930267.474039989]: Parameter RGBD/ProximityMaxPaths not found
[ WARN] [1611930267.474221392]: Parameter RGBD/ProximityOdomGuess not found
[ WARN] [1611930267.474404212]: Parameter RGBD/ProximityPathFilteringRadius not found
[ WARN] [1611930267.474585226]: Parameter RGBD/ProximityPathMaxNeighbors not found
[ WARN] [1611930267.474770505]: Parameter RGBD/ProximityPathRawPosesUsed not found
[ WARN] [1611930267.474954262]: Parameter RGBD/SavedLocalizationIgnored not found
[ WARN] [1611930267.475134884]: Parameter RGBD/ScanMatchingIdsSavedInLinks not found
[ WARN] [1611930267.475316923]: Parameter Reg/Force3DoF not found
[ WARN] [1611930267.475497896]: Parameter Reg/RepeatOnce not found
[ WARN] [1611930267.475678098]: Parameter Reg/Strategy not found
[ WARN] [1611930267.475863764]: Parameter Rtabmap/ComputeRMSE not found
[ WARN] [1611930267.476047300]: Parameter Rtabmap/CreateIntermediateNodes not found
[ WARN] [1611930267.476228715]: Parameter Rtabmap/DetectionRate not found
[ WARN] [1611930267.476409988]: Parameter Rtabmap/ImageBufferSize not found
[ WARN] [1611930267.476595593]: Parameter Rtabmap/ImagesAlreadyRectified not found
[ WARN] [1611930267.476860301]: Parameter Rtabmap/LoopGPS not found
[ WARN] [1611930267.477063079]: Parameter Rtabmap/LoopRatio not found
[ WARN] [1611930267.477258639]: Parameter Rtabmap/LoopThr not found
[ WARN] [1611930267.477446463]: Parameter Rtabmap/MaxRetrieved not found
[ WARN] [1611930267.477638475]: Parameter Rtabmap/MemoryThr not found
[ WARN] [1611930267.477838939]: Parameter Rtabmap/PublishLastSignature not found
[ WARN] [1611930267.478025835]: Parameter Rtabmap/PublishLikelihood not found
[ WARN] [1611930267.478210527]: Parameter Rtabmap/PublishPdf not found
[ WARN] [1611930267.478394542]: Parameter Rtabmap/PublishRAMUsage not found
[ WARN] [1611930267.478607513]: Parameter Rtabmap/PublishStats not found
[ WARN] [1611930267.478792747]: Parameter Rtabmap/RectifyOnlyFeatures not found
[ WARN] [1611930267.478974802]: Parameter Rtabmap/SaveWMState not found
[ WARN] [1611930267.479216584]: Parameter Rtabmap/StartNewMapOnGoodSignature not found
[ WARN] [1611930267.479395822]: Parameter Rtabmap/StartNewMapOnLoopClosure not found
[ WARN] [1611930267.479573404]: Parameter Rtabmap/StatisticLogged not found
[ WARN] [1611930267.479750319]: Parameter Rtabmap/StatisticLoggedHeaders not found
[ WARN] [1611930267.479927387]: Parameter Rtabmap/StatisticLogsBufferedInRAM not found
[ WARN] [1611930267.480103588]: Parameter Rtabmap/TimeThr not found
[ WARN] [1611930267.480982308]: Parameter SIFT/ContrastThreshold not found
[ WARN] [1611930267.481160670]: Parameter SIFT/EdgeThreshold not found
[ WARN] [1611930267.481364126]: Parameter SIFT/NFeatures not found
[ WARN] [1611930267.481539598]: Parameter SIFT/NOctaveLayers not found
[ WARN] [1611930267.481721222]: Parameter SIFT/RootSIFT not found
[ WARN] [1611930267.481893904]: Parameter SIFT/Sigma not found
[ WARN] [1611930267.482068637]: Parameter SURF/Extended not found
[ WARN] [1611930267.482242027]: Parameter SURF/GpuKeypointsRatio not found
[ WARN] [1611930267.482414228]: Parameter SURF/GpuVersion not found
[ WARN] [1611930267.482597956]: Parameter SURF/HessianThreshold not found
[ WARN] [1611930267.482772993]: Parameter SURF/OctaveLayers not found
[ WARN] [1611930267.482948151]: Parameter SURF/Octaves not found
[ WARN] [1611930267.483120264]: Parameter SURF/Upright not found
[ WARN] [1611930267.483353609]: Parameter Stereo/DenseStrategy not found
[ WARN] [1611930267.483526880]: Parameter Stereo/Eps not found
[ WARN] [1611930267.483698371]: Parameter Stereo/Iterations not found
[ WARN] [1611930267.483871775]: Parameter Stereo/MaxDisparity not found
[ WARN] [1611930267.484044164]: Parameter Stereo/MaxLevel not found
[ WARN] [1611930267.484213614]: Parameter Stereo/MinDisparity not found
[ WARN] [1611930267.484384820]: Parameter Stereo/OpticalFlow not found
[ WARN] [1611930267.484556903]: Parameter Stereo/SSD not found
[ WARN] [1611930267.484729295]: Parameter Stereo/WinHeight not found
[ WARN] [1611930267.484900952]: Parameter Stereo/WinWidth not found
[ WARN] [1611930267.485072410]: Parameter StereoBM/BlockSize not found
[ WARN] [1611930267.485246854]: Parameter StereoBM/Disp12MaxDiff not found
[ WARN] [1611930267.485466053]: Parameter StereoBM/MinDisparity not found
[ WARN] [1611930267.485649216]: Parameter StereoBM/NumDisparities not found
[ WARN] [1611930267.485825249]: Parameter StereoBM/PreFilterCap not found
[ WARN] [1611930267.485998651]: Parameter StereoBM/PreFilterSize not found
[ WARN] [1611930267.486174580]: Parameter StereoBM/SpeckleRange not found
[ WARN] [1611930267.486351301]: Parameter StereoBM/SpeckleWindowSize not found
[ WARN] [1611930267.486525623]: Parameter StereoBM/TextureThreshold not found
[ WARN] [1611930267.486708285]: Parameter StereoBM/UniquenessRatio not found
[ WARN] [1611930267.486882768]: Parameter StereoSGBM/BlockSize not found
[ WARN] [1611930267.487056695]: Parameter StereoSGBM/Disp12MaxDiff not found
[ WARN] [1611930267.487227844]: Parameter StereoSGBM/MinDisparity not found
[ WARN] [1611930267.487455911]: Parameter StereoSGBM/Mode not found
[ WARN] [1611930267.487630983]: Parameter StereoSGBM/NumDisparities not found
[ WARN] [1611930267.487805415]: Parameter StereoSGBM/P1 not found
[ WARN] [1611930267.487976066]: Parameter StereoSGBM/P2 not found
[ WARN] [1611930267.488148466]: Parameter StereoSGBM/PreFilterCap not found
[ WARN] [1611930267.488319107]: Parameter StereoSGBM/SpeckleRange not found
[ WARN] [1611930267.488503566]: Parameter StereoSGBM/SpeckleWindowSize not found
[ WARN] [1611930267.488677964]: Parameter StereoSGBM/UniquenessRatio not found
[ WARN] [1611930267.488864880]: Parameter SuperPoint/Cuda not found
[ WARN] [1611930267.489104661]: Parameter SuperPoint/ModelPath not found
[ WARN] [1611930267.489336068]: Parameter SuperPoint/NMS not found
[ WARN] [1611930267.489599418]: Parameter SuperPoint/NMSRadius not found
[ WARN] [1611930267.489788818]: Parameter SuperPoint/Threshold not found
[ WARN] [1611930267.489965397]: Parameter VhEp/Enabled not found
[ WARN] [1611930267.490136923]: Parameter VhEp/MatchCountMin not found
[ WARN] [1611930267.490314615]: Parameter VhEp/RansacParam1 not found
[ WARN] [1611930267.490540887]: Parameter VhEp/RansacParam2 not found
[ WARN] [1611930267.490737076]: Parameter Vis/BundleAdjustment not found
[ WARN] [1611930267.490955699]: Parameter Vis/CorFlowEps not found
[ WARN] [1611930267.491156551]: Parameter Vis/CorFlowIterations not found
[ WARN] [1611930267.491354809]: Parameter Vis/CorFlowMaxLevel not found
[ WARN] [1611930267.491561947]: Parameter Vis/CorFlowWinSize not found
[ WARN] [1611930267.491764188]: Parameter Vis/CorGuessMatchToProjection not found
[ WARN] [1611930267.491961807]: Parameter Vis/CorGuessWinSize not found
[ WARN] [1611930267.492189668]: Parameter Vis/CorNNDR not found
[ WARN] [1611930267.492454022]: Parameter Vis/CorNNType not found
[ WARN] [1611930267.492675004]: Parameter Vis/CorType not found
[ WARN] [1611930267.492881122]: Parameter Vis/DepthAsMask not found
[ WARN] [1611930267.493075212]: Parameter Vis/EpipolarGeometryVar not found
[ WARN] [1611930267.493263834]: Parameter Vis/EstimationType not found
[ WARN] [1611930267.493450042]: Parameter Vis/FeatureType not found
[ WARN] [1611930267.493650186]: Parameter Vis/ForwardEstOnly not found
[ WARN] [1611930267.493841138]: Parameter Vis/GridCols not found
[ WARN] [1611930267.494055666]: Parameter Vis/GridRows not found
[ WARN] [1611930267.494257391]: Parameter Vis/InlierDistance not found
[ WARN] [1611930267.494454088]: Parameter Vis/Iterations not found
[ WARN] [1611930267.494646450]: Parameter Vis/MaxDepth not found
[ WARN] [1611930267.494837748]: Parameter Vis/MaxFeatures not found
[ WARN] [1611930267.495028357]: Parameter Vis/MeanInliersDistance not found
[ WARN] [1611930267.495215366]: Parameter Vis/MinDepth not found
[ WARN] [1611930267.495400940]: Parameter Vis/MinInliers not found
[ WARN] [1611930267.495584774]: Parameter Vis/MinInliersDistribution not found
[ WARN] [1611930267.495770547]: Parameter Vis/PnPFlags not found
[ WARN] [1611930267.495957332]: Parameter Vis/PnPRefineIterations not found
[ WARN] [1611930267.496144843]: Parameter Vis/PnPReprojError not found
[ WARN] [1611930267.496330833]: Parameter Vis/RefineIterations not found
[ WARN] [1611930267.496516787]: Parameter Vis/RoiRatios not found
[ WARN] [1611930267.496726288]: Parameter Vis/SubPixEps not found
[ WARN] [1611930267.496950160]: Parameter Vis/SubPixIterations not found
[ WARN] [1611930267.497139322]: Parameter Vis/SubPixWinSize not found
[ WARN] [1611930267.497316464]: Parameter g2o/Baseline not found
[ WARN] [1611930267.497490546]: Parameter g2o/Optimizer not found
[ WARN] [1611930267.497676534]: Parameter g2o/PixelVariance not found
[ WARN] [1611930267.497847983]: Parameter g2o/RobustKernelDelta not found
[ WARN] [1611930267.498020416]: Parameter g2o/Solver not found
[ INFO] [1611930267.498034849]: Parameters read = 0
[rtabmap/rtabmap-1] process has died [pid 6097, exit code -11, cmd /data/ws/devel/lib/rtabmap_ros/rtabmap --delete_db_on_start --udebug rgbd_image:=/rgbd_image/compressed_relay odom:=/odom __name:=rtabmap __log:=/root/.ros/log/e8acf39a-623c-11eb-8707-0492260e8743/rtabmap-rtabmap-2.log].
log file: /root/.ros/log/e8acf39a-623c-11eb-8707-0492260e8743/rtabmap-rtabmap-2*.log

@matlabbe
Copy link
Member

matlabbe commented Feb 12, 2021

rtabmap node coudl be launched with gdb:
http://wiki.ros.org/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB
then type "bt" when it crashes to get the backtrace.

SuperGlue has been tested only with the standalone version. I should update my computer to Noetic soon, I could take a look afterwards for ROS (I don't even want to try on melodic, to not mess up my config between python 2 and 3...).

@robot-mh
Copy link

robot-mh commented Feb 8, 2022

SuperGlue has been tested only with the standalone version. I should update my computer to Noetic soon, I could take a look afterwards for ROS (I don't even want to try on melodic, to not mess up my config between python 2 and 3...).

How is it now? SuperGlue + which ROS version? @matlabbe

@matlabbe
Copy link
Member

See introlab/rtabmap#896 (comment) for ROS example. The tricky part is to install pytorch with cuda correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants