Ask Your Question
0

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

Hi,

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/

SUMMARY
========

PARAMETERS
 * /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

NODES
  /camera/
    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)

ROS_MASTER_URI=http://localhost:11311

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/5.1.0.41: 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 ...
(more)
edit retag flag offensive close merge delete

Comments

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
0

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/5.1.0.41: Device is in safe mode. Cannot start any stream!"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 618 times

Last updated: Aug 24 '14