Ask Your Question
1

Camera_info not working with libuvc_camera

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

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
0

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

AlphaOne gravatar image

I had to run camera calibration http://wiki.ros.org/camera_calibratio...

edit flag offensive delete link more
0

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

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

Comments

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

AlphaOne gravatar imageAlphaOne ( 2014-02-24 14:12:23 -0500 )edit

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

ahendrix gravatar imageahendrix ( 2014-02-24 15:05:13 -0500 )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 imageAlphaOne ( 2014-02-24 16:56:19 -0500 )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 imageahendrix ( 2014-02-24 17:45:21 -0500 )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 imageAlphaOne ( 2014-02-25 02:23:05 -0500 )edit

@AlphaOne Were you able to resolve this issue?

surfertas gravatar imagesurfertas ( 2017-05-03 00:29:29 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

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

Seen: 774 times

Last updated: Feb 25 '14