ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Blank pop up window instead of camera image

asked 2014-08-24 09:04:50 -0500

fmartino gravatar image

updated 2014-08-24 09:45:47 -0500

gvdhoorn gravatar image


I am using ros Hydro with Kinect, but when I try to open the kinect camera with any of the commands below I get a blank (empty) pop up window.

rosrun image_view image_view image:=/camera/rgb/image_color

rosrun image_view image_view image:=/camera/rgb/image_mono

rosrun image_view disparity_view image:=/camera/depth/disparity

rosrun image_view disparity_view image:=/camera/depth_registered/disparity

Well...I check rostopic hz image_view and get:

WARNING: topic [/image_view] does not appear to be published yet (and the same message for /disparity_view)

Soo I check the roslaunch openni_launch openni.launch log and found many warnings, process died and FATAL as can be seem below:

started roslaunch server http://ubuntu:38154/


 * /camera/camera_nodelet_manager/num_worker_threads
 * /camera/depth_rectify_depth/interpolation
 * /camera/depth_registered_rectify_depth/interpolation
 * /camera/disparity_depth/max_range
 * /camera/disparity_depth/min_range
 * /camera/disparity_registered_hw/max_range
 * /camera/disparity_registered_hw/min_range
 * /camera/disparity_registered_sw/max_range
 * /camera/disparity_registered_sw/min_range
 * /camera/driver/depth_camera_info_url
 * /camera/driver/depth_frame_id
 * /camera/driver/depth_registration
 * /camera/driver/device_id
 * /camera/driver/rgb_camera_info_url
 * /camera/driver/rgb_frame_id
 * /rosdistro
 * /rosversion

    camera_nodelet_manager (nodelet/nodelet)
    debayer (nodelet/nodelet)
    depth_metric (nodelet/nodelet)
    depth_metric_rect (nodelet/nodelet)
    depth_points (nodelet/nodelet)
    depth_rectify_depth (nodelet/nodelet)
    depth_registered_rectify_depth (nodelet/nodelet)
    disparity_depth (nodelet/nodelet)
    disparity_registered_hw (nodelet/nodelet)
    disparity_registered_sw (nodelet/nodelet)
    driver (nodelet/nodelet)
    points_xyzrgb_hw_registered (nodelet/nodelet)
    points_xyzrgb_sw_registered (nodelet/nodelet)
    rectify_color (nodelet/nodelet)
    rectify_ir (nodelet/nodelet)
    rectify_mono (nodelet/nodelet)
    register_depth_rgb (nodelet/nodelet)
    camera_base_link (tf/static_transform_publisher)
    camera_base_link1 (tf/static_transform_publisher)
    camera_base_link2 (tf/static_transform_publisher)
    camera_base_link3 (tf/static_transform_publisher)


core service [/rosout] found
process[camera/camera_nodelet_manager-1]: started with pid [3232]
process[camera/driver-2]: started with pid [3233]
process[camera/debayer-3]: started with pid [3234]
process[camera/rectify_mono-4]: started with pid [3241]
process[camera/rectify_color-5]: started with pid [3281]
process[camera/rectify_ir-6]: started with pid [3310]
[ INFO] [1408885127.360993852]: Initializing nodelet with 4 worker threads.
process[camera/depth_rectify_depth-7]: started with pid [3365]
process[camera/depth_metric_rect-8]: started with pid [3390]
process[camera/depth_metric-9]: started with pid [3404]
process[camera/depth_points-10]: started with pid [3418]
process[camera/register_depth_rgb-11]: started with pid [3432]
process[camera/points_xyzrgb_sw_registered-12]: started with pid [3446]
process[camera/depth_registered_rectify_depth-13]: started with pid [3460]
process[camera/points_xyzrgb_hw_registered-14]: started with pid [3474]
process[camera/disparity_depth-15]: started with pid [3488]
process[camera/disparity_registered_sw-16]: started with pid [3502]
process[camera/disparity_registered_hw-17]: started with pid [3516]
process[camera_base_link-18]: started with pid [3539]
process[camera_base_link1-19]: started with pid [3540]
process[camera_base_link2-20]: started with pid [3561]
process[camera_base_link3-21]: started with pid [3572]
terminate called after throwing an instance of 'openni_wrapper::OpenNIException'
  what():  unsigned int openni_wrapper::OpenNIDriver::updateDeviceList() @ /tmp/buildd/ros-hydro-openni-camera-1.9.2-0precise-20140720-0503/src/openni_driver.cpp @ 125 : enumerating image nodes failed. Reason: One or more of the following nodes could not be enumerated:

Image: PrimeSense/SensorV2/ Device is in safe mode. Cannot start any stream!

[camera/camera_nodelet_manager-1] process has died [pid 3232, exit code -6, cmd /opt/ros/hydro/lib/nodelet/nodelet manager __name:=camera_nodelet_manager __log:=/home/felipe/.ros/log/1cb03004-2b8e-11e4-8313-701a04a7b383/camera-camera_nodelet_manager-1.log].
log file: /home/felipe/.ros/log/1cb03004-2b8e-11e4-8313-701a04a7b383/camera-camera_nodelet_manager-1*.log
[FATAL] [1408885141.085922349]: Service call failed!
[FATAL] [1408885141.086503987]: Service call failed!
[FATAL] [1408885141.087275454]: Service call failed!
[FATAL] [1408885141.087514940]: Service ...
edit retag flag offensive close merge delete


I changed the formatting a bit. Please indent console output with 4 spaces on each line, that makes it easier to read.

gvdhoorn gravatar image gvdhoorn  ( 2014-08-24 09:46:44 -0500 )edit

Hey even I have a similar issue. image_view opens a blank image. My system runs indigo as opposed to your hydro, and uses a normal webcam connected. Anybody has a clue??

SonOfDamage gravatar image SonOfDamage  ( 2014-12-05 01:49:18 -0500 )edit

@SonOfDamage: since this is a hardware-specific issue and you're working with different hardware and drivers, your issue is probably different. I recommend asking a new question.

ahendrix gravatar image ahendrix  ( 2014-12-05 14:14:51 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-24 12:14:33 -0500

ahendrix gravatar image

I don't have a specific answer, but the key error to Google for is "Image: PrimeSense/SensorV2/ Device is in safe mode. Cannot start any stream!"

edit flag offensive delete link more

Question Tools



Asked: 2014-08-24 09:04:50 -0500

Seen: 839 times

Last updated: Aug 24 '14