ipa320 / softkinetic

This repository holds a ROS driver package for an interactive gesture camera (softkinetic).
23 stars 40 forks source link

'DepthSense::StreamingException' what(): unable to open PCM device hw:1,0 (No such file or directory) #50

Open kstanhouse opened 8 years ago

kstanhouse commented 8 years ago

I'm trying to install this package and after invoking the softkinetic_cameras.launch file get the following screen dump with an exception

roslaunch softkinetic_cameras.launch ... logging to /home/rfspot/.ros/log/0d5c9894-c7c9-11e5-af13-54a050e67454/roslaunch-kyles-robot-slave-7327.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://127.0.0.1:44224/

SUMMARY

PARAMETERS

NODES / softkinetic_left (softkinetic_camera/softkinetic_bringup_node) softkinetic_right (softkinetic_camera/softkinetic_bringup_node)

ROS_MASTER_URI=http://127.0.0.1:11311

core service [/rosout] found process[softkinetic_left-1]: started with pid [7345] process[softkinetic_right-2]: started with pid [7395] [1454217664.138889170] [/softkinetic_right] [ INFO] : Number of Devices found: 1 [1454217664.139005607] [/softkinetic_left] [ INFO] : Number of Devices found: 1 Argument Exception: argument "node": context already has control over the node terminate called after throwing an instance of 'DepthSense::StreamingException' what(): unable to open PCM device hw:1,0 (No such file or directory) [softkinetic_left-1] process has died [pid 7345, exit code -6, cmd /home/rfspot/rfspot/DataCollection/DCU/devel/devel/lib/softkinetic_camera/softkinetic_bringup_node 0 name:=softkinetic_left __log:=/home/rfspot/.ros/log/0d5c9894-c7c9-11e5-af13-54a050e67454/softkinetic_left-1.log]. log file: /home/rfspot/.ros/log/0d5c9894-c7c9-11e5-af13-54a050e67454/softkineticleft-1.log [softkinetic_right-2] process has died [pid 7395, exit code -11, cmd /home/rfspot/rfspot/DataCollection/DCU/devel/devel/lib/softkinetic_camera/softkinetic_bringup_node 1 name:=softkinetic_right __log:=/home/rfspot/.ros/log/0d5c9894-c7c9-11e5-af13-54a050e67454/softkinetic_right-2.log]. log file: /home/rfspot/.ros/log/0d5c9894-c7c9-11e5-af13-54a050e67454/softkineticright-2.log

I can't seem to find any posts with this particular exception that can help me figure out what i'm doing wrong ... can anyone help me?

corot commented 8 years ago

Hi @kstanhouse, the softkinetic_cameras.launch launcher assumes you have two softkinetic cameras, while it seems you have only one. The first one probably succeed connecting as device '0', but the second one fails to connect as device '1'. You can verify if this is the problem by starting another launch file, for example softkinetic_camera_ds311_demo.launch. Please tell us if that one works.