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

Camera_info not working with libuvc_camera

asked 2014-02-24 10:56:16 -0600

AlphaOne gravatar image

I have setup libuvc_camera with a Logitech C902, here is the error I get:

CameraInfo/P resulted in an invalid position calculation (nans or infs)

does anyone know what I am doing wrong?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-02-25 03:43:00 -0600

AlphaOne gravatar image

I had to run camera calibration

edit flag offensive delete link more

answered 2014-02-24 14:05:47 -0600

ahendrix gravatar image

It sounds like the yaml file that contains your camera info is invalid.

The node should print out which configuration file it pulls the camera info from when it starts up; take a look in that file, and possibly add it to your question.

edit flag offensive delete link more


so I don't have a yaml file, it loads the 'default' which I can't find...

AlphaOne gravatar image AlphaOne  ( 2014-02-24 14:12:23 -0600 )edit

can you add the full output from running the libuvc_camera node to your question?

ahendrix gravatar image ahendrix  ( 2014-02-24 15:05:13 -0600 )edit

the node doesn't output anything to the terminal I get the error in rviz, do you want a copy of the camera info message?

AlphaOne gravatar image AlphaOne  ( 2014-02-24 16:56:19 -0600 )edit

Wait... where is this error coming from? can you describe your setup in a little more detail? I had assumed the error message was coming from the camera driver itself.

ahendrix gravatar image ahendrix  ( 2014-02-24 17:45:21 -0600 )edit

I have the camrea setup through USB, I can view the images coming from it in skype and image_view, but rviz can't display them. It gives the error but does give a message count. I am trying to use the camera for image tracking and my tracking code crashes. The crashing appears to be related to the camera info issue.

AlphaOne gravatar image AlphaOne  ( 2014-02-25 02:23:05 -0600 )edit

@AlphaOne Were you able to resolve this issue?

surfertas gravatar image surfertas  ( 2017-05-03 00:29:29 -0600 )edit

I am having the same issue. Does anyone know the solution?

Chelsea_A_Starr gravatar image Chelsea_A_Starr  ( 2020-09-09 11:10:43 -0600 )edit

Question Tools

1 follower


Asked: 2014-02-24 10:56:16 -0600

Seen: 1,678 times

Last updated: Feb 25 '14