MYNT-EYE-S-SDK icon indicating copy to clipboard operation
MYNT-EYE-S-SDK copied to clipboard

Segmentation Fault when running mynteye_wrapper_node

Open nicotho opened this issue 5 years ago • 7 comments

Hi,

When starting the mynteye ros node under Ros Melodic the node stops with a segmentation fault after advertizing service get_info. I have compiled the SDK v2 and my camera config is

device_name: MYNT-EYE-S1030 serial_number: "0507151500090721" firmware_version: "2.2" hardware_version: "2.0" spec_version: "1.0" lens_type: "0000" imu_type: "0000" nominal_baseline: 120

After some ROSINFO debugging I found out that the node crashes when invoking api_->Start(Source::ALL); in the function void publishTopics() of wrapper_nodelet.cc

Thank you for your support. Nicolas

nicotho avatar Dec 26 '18 12:12 nicotho

When you run samples output bin\ api\ camera_a, do you have similar problems?

KalmanXiong avatar Dec 27 '18 07:12 KalmanXiong

Hi, I have no issue running camera_a. I let it run for over an hour without any issues....

nicotho avatar Dec 27 '18 11:12 nicotho

I'm sorry I didn't notice your reply before. Do you have any problem under ROS now?

KalmanXiong avatar Jan 17 '19 07:01 KalmanXiong

@KalmanXiong @nicotho any news on this? kinda have the same problem!!

tiralonghipol avatar Jan 18 '19 08:01 tiralonghipol

@KalmanXiong Hi,

Unfortunately my problem persists. How do we proceed? Is there anything I prepare in order for you to Debug the situation? Thanks, Nicolas

nicotho avatar Jan 22 '19 07:01 nicotho

i find coredump here: src/mynteye/api/processor/disparity_processor.cc: sgbm_matcher->setPreFilterCap(63);

huanglilong avatar Oct 16 '21 14:10 huanglilong

fixed diff here: huanglilong@3f8aad8

Ubuntu20.04 OpenCV 3.4.8

huanglilong avatar Oct 17 '21 12:10 huanglilong