Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'roslaunch uvc_camera tara_launch.launch' fails #15

Open
kumailn opened this issue Mar 4, 2019 · 2 comments
Open

'roslaunch uvc_camera tara_launch.launch' fails #15

kumailn opened this issue Mar 4, 2019 · 2 comments

Comments

@kumailn
Copy link

kumailn commented Mar 4, 2019

When I run 'roslaunch uvc_camera tara_launch.launch' I get a failure message as follows, and I know the camera is connected to the system properly.

nvidia@tegra-ubuntu:~$ roslaunch uvc_camera tara_launch.launch
... logging to /home/nvidia/.ros/log/b4b05054-3e27-11e9-b86b-00044bc55aa8/roslaunch-tegra-ubuntu-7124.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://tegra-ubuntu:36963/

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.14
  • /stereo/uvc_camera/cameraLeft_info_url: file://${ROS_HOME...
  • /stereo/uvc_camera/cameraRight_info_url: file://${ROS_HOME...
  • /stereo/uvc_camera/device: /dev/video0
  • /stereo/uvc_camera/exposureValue: 1
  • /stereo/uvc_camera/fps: 30
  • /stereo/uvc_camera/frame: webcam
  • /stereo/uvc_camera/height: 480
  • /stereo/uvc_camera/width: 640

NODES
/stereo/
uvc_camera (uvc_camera/tara_node)

auto-starting new master
process[master]: started with pid [7134]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to b4b05054-3e27-11e9-b86b-00044bc55aa8
process[rosout-1]: started with pid [7147]
started core service [/rosout]
process[stereo/uvc_camera-2]: started with pid [7160]
[ERROR] [1551667588.337291449]: Tried to advertise a service that is already advertised in this node [/stereo/set_camera_info]
Failed to query video capabilities: Inappropriate ioctl for device
libv4l2: error getting capabilities: Inappropriate ioctl for device
ERROR opening V4L2 interface for /dev/v4l-subdev0
Failed to query video capabilities: Inappropriate ioctl for device
libv4l2: error getting capabilities: Inappropriate ioctl for device
ERROR opening V4L2 interface for /dev/v4l-subdev1
terminate called after throwing an instance of 'std::runtime_error'
what(): pixel format unavailable
Unable to find parent usb device.================================================================================REQUIRED process [stereo/uvc_camera-2] has died!
process has died [pid 7160, exit code -6, cmd /home/nvidia/ROS_WS/devel/lib/uvc_camera/tara_node __name:=uvc_camera __log:=/home/nvidia/.ros/log/b4b05054-3e27-11e9-b86b-00044bc55aa8/stereo-uvc_camera-2.log].
log file: /home/nvidia/.ros/log/b4b05054-3e27-11e9-b86b-00044bc55aa8/stereo-uvc_camera-2*.log
Initiating shutdown!

[stereo/uvc_camera-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

@jiawei-mo
Copy link

I have the same problem.

@kimanton
Copy link

Hello!
I had the same problem.
The solution is very simple. In launch file, change resolution to that which is is supported by your camera.
In my case it was See3CAM_10CUG and it supports 1280x720 and 1280x960
Hope it helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants