Image_view closes immediatly

asked 2020-05-05 06:59:48 -0500

Lennart gravatar image

updated 2020-05-06 05:29:22 -0500

Hi everybody,

as I described here I am publishing an Image with image_publisher.

I want to show that image from a camera topic with image_view. But when I try that an window of Image_view opens, gets grey, than black, than the windows disappears an the process is closed (Terminal output see below). I tried it with rosrun and with a launch file. (Details below) It should both work, it is possible that it's the same failure.

Has anybody an Idea why It doesn't work?

Greetings.

rosrun image_view image_view image:=/mix_image/image_raw
[ INFO] [1588677089.341995716]: Initializing nodelet with 4 worker threads.
[ INFO] [1588677089.365761375]: Using transport "raw"
Speicherzugriffsfehler (Speicherabzug geschrieben)

The Error says "Segmentation fault (core dumped)"

And when I try to view the image with a launchfile

<launch>
  <node name="image_view" pkg="image_view" type="image_view" respawn="false" output="screen">
    <remap from="image" to="/mix_image/image_raw"/>
    <param name="autosize" value="true" />
  </node>
</launch>

I get this error message:

roslaunch ar_with_ros show_mix_image.launch 
... logging to /home/nils-ros/.ros/log/06cbd878-8ebc-11ea-a878-1867b0105cea/roslaunch-nils-ros-21823.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://nils-ros:32988/

SUMMARY
========

PARAMETERS
 * /image_view/autosize: True
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    image_view (image_view/image_view)



ROS_MASTER_URI=http://localhost:11311

process[image_view-1]: started with pid [21841]
[ INFO] [1588677278.071727384]: Initializing nodelet with 4 worker threads.
[ INFO] [1588677278.096444195]: Using transport "raw"
[image_view-1] process has died [pid 21841, exit code -11, cmd /home/nils-ros/ws_moveit/devel/lib/image_view/image_view image:=/mix_image/image_raw __name:=image_view __log:=/home/nils-ros/.ros/log/06cbd878-8ebc-11ea-a878-1867b0105cea/image_view-1.log].
log file: /home/nils-ros/.ros/log/06cbd878-8ebc-11ea-a878-1867b0105cea/image_view-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
edit retag flag offensive close merge delete