ros-naoqi / extrinsic_calibration

Extrinsic calibration for the color and depth cameras of Pepper robot
9 stars 7 forks source link

Crashes after several iterations of while(ros::ok()) #4

Open VivBe opened 5 years ago

VivBe commented 5 years ago

I am trying to run the extrinsic calibration, but after some iterations of the main loop the extrinsic_calibration node crashes. Also, neither rgb nor ir image are displayed in image_view. Does anyone have an idea how to solve this issue?

This is my launch file:

<launch>
  <arg name="camera" default="pepper_robot/camera"/>

  <node pkg="extrinsic_calibration" type="extrinsic_calibration" name="extrinsic_calibration_node" output="screen" cwd="node">
    <param name="depth_img_topic" value="/$(arg camera)/ir/image_raw" />
    <param name="rgb_img_topic" value="/$(arg camera)/front/image_raw" />
    <param name="camera_info_depth_topic" value="/$(arg camera)/depth/camera_info" />
    <param name="camera_info_rgb_topic" value="/$(arg camera)/front/camera_info" />
    <param name="images_folder" value="/home/ma1404/Documents/Viviane/Calibration/calibrationdata_extrinsic" />
    <param name="pattern_cols" value="8" />
    <param name="pattern_rows" value="6" />
    <param name="pattern_size" value="0.0255" />
  </node>
</launch>

This is the log file roslaunch-ma1404-HP-Z420-Workstation-26441.log