Skip to content

couldn't read PipelineParams.yaml file with segmentation fault #216

@PengZai

Description

@PengZai

Description:
I have successfully built the whole ros project without any error come out.

but when I run roscore, and then run

rviz -d $(rospack find kimera_vio_ros)/rviz/kimera_vio_euroc.rviz
roslaunch kimera_vio_ros kimera_vio_ros_euroc.launch

it will occurs a segmentation fault with reading .yaml.

I suspect it is a problem with opencv, so I write a small exmaple mimic with the implement of YamlParser.h, it works, I could read the .yaml file with CHECK_NOTNULL(fs)->open(filename, cv::FileStorage::READ);

however, In Kimera-VIO-ROS, we just couldn't read this catkin_ws/src/Kimera-VIO/params/Euroc/PipelineParams.yaml
there is only one Opencv in my PC, that is 3.4.0, I have check the version of opencv when I build them, both are 3.4.0

Command:

roslaunch kimera_vio_ros kimera_vio_ros_euroc.launch

process[kimera_vio_ros/kimera_vio_ros_node-1]: started with pid [1078237]
process[kimera_vio_ros/posegraph_viewer-2]: started with pid [1078238]
[ INFO] [1733959322.787804313]: Initializing pose graph visualizer
================================================================================REQUIRED process [kimera_vio_ros/kimera_vio_ros_node-1] has died!

image

image

Additional files:
Please attach all the files needed to reproduce the error.

Please give also the following information:

  • KimeraVIO branch, tag or commit used
  • GTSAM version used: 4.2.0
  • OpenGV version used:
  • OpenCV version used: type opencv_version 3.4.0
  • Operating system and version (e.g. Ubuntu 16.04 or Windows 10): Ubuntu 20.04
  • Did you change the source code? (yes / no): no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions