MIT-SPARK / Kimera-VIO-ROS

ROS wrapper for Kimera-VIO
BSD 2-Clause "Simplified" License
369 stars 153 forks source link

Check failed: vio_params_.backend_params_->autoInitialize_ == 1 (0 vs. 1) Requested ground-truth initialization, but no gt_odom_topic was given. #142

Open zheng-xiao opened 3 years ago

zheng-xiao commented 3 years ago

... logging to /home/zxn/.ros/log/5b69b4ae-b873-11eb-8d51-08beac02483f/roslaunch-zxn-pc-19376.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://zxn-pc:46067/

SUMMARY

PARAMETERS

NODES /kimera_vio_ros/ kimera_vio_ros_node (kimera_vio_ros/kimera_vio_ros_node) posegraph_viewer (pose_graph_tools/visualizer_node) /stereo_gray/ dense_stereo (image_undistort/dense_stereo_node)

ROS_MASTER_URI=http://localhost:11311

process[stereo_gray/dense_stereo-1]: started with pid [19392] process[kimera_vio_ros/kimera_vio_ros_node-2]: started with pid [19393] process[kimera_vio_ros/posegraph_viewer-3]: started with pid [19394] [ INFO] [1621415894.674323606]: Initializing pose graph visualizer I0519 17:18:14.882470 19393 Logger.cpp:59] Opening output file: traj_gt.csv I0519 17:18:14.883320 19393 RosBagDataProvider.cpp:52] Constructing RosbagDataProvider from path:

Fatcat3Z commented 3 years ago

I change the parameter 'autoInitialize' to 1, then the problem is sloved. However, nothing shows. The results are: W0603 12:40:11.042245 19969 StereoMatcher.cpp:130] sparseStereoMatching: StereoFrame is already rectified! W0603 12:40:11.042261 19969 StereoCamera.cpp:263] Rectifying already rectified stereo frame ... E0603 12:40:11.062125 19971 Mesher.cpp:1729] Delaunay Triangle out of image (size: x: 0, y: 0, height: 480, width 752 Triangle: x, y: 327.379, 449.905 0, 2256 191.904, 425.463

BBlumhofer commented 2 years ago

I am facing the same issue. Did anyone solve it ?

wwj-53 commented 1 year ago

I am very sad that I have also encountered this problem. Has anyone solved it? Thank you.

LimHyungTae commented 3 weeks ago

As mentioned in https://github.com/MIT-SPARK/Kimera-VIO-ROS/issues/136,

change autoInitialize: 0 to autoInitialize: 1 in the Kimera-VIO/params/Euroc/BackendParams.yaml file.

Plus, did you guys do source ${kimer-VIO_ws}/devel/setup.bash?