rpng / ov_secondary

Secondary posegraph adapted for interfacing with OpenVINS, based on VINS-Mono / VINS-Fusion.
https://docs.openvins.com/
GNU General Public License v3.0
58 stars 21 forks source link

Topic mismatch #2

Closed qiaozhijian closed 4 years ago

qiaozhijian commented 4 years ago

I run posegraph.launch, but it stopps at "[POSEGRAPH]: waiting for camera info topic...". I check the code and find open-vins doesn't publish these topic

goldbattle commented 4 years ago

OpenVINS publishes a series of topics under the /ov_msckf/keyframe_*. You can checkout this launch file for an example on how to run it. Note that we typically had to increase the number of extracted features to allow for good loop closure detection.

The main entry you will likely need to change is the image topic, which is specific to the dataset you are playing it on. The other topics should publish by default with the latest master branch from the OpenVINS repo.

<remap from="/cam0/image_raw"                  to="/cam0/image_raw"/>
<remap from="/vins_estimator/extrinsic"        to="/ov_msckf/keyframe_extrinsic"/>
<remap from="/vins_estimator/keyframe_point"   to="/ov_msckf/keyframe_feats"/>
<remap from="/vins_estimator/keyframe_pose"    to="/ov_msckf/keyframe_pose"/>
<remap from="/vins_estimator/intrinsics"       to="/ov_msckf/keyframe_intrinsics"/>
qiaozhijian commented 4 years ago

I updated the master branch, and it works. Thank you for maintaining open-vins!