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

synchronized problem related to calibration

asked 2013-09-28 13:48:07 -0500

Dava2788 gravatar image

updated 2013-10-06 16:41:24 -0500

Hello All.

I Am a rookie in Ros, I am using ros fuerte and a monocular camera. My lapto's camera.

I want to know how many things I need to setup to make a retification image with image_proc package.

I already setup a launch file, I attached

But when I ran the image_view to display the image rectify, I got nothing. And when I ran the image_view to display the image mono, it works.

So I want to know what things I have to setup to do a rectification image. And what thing I did wrong.

I attached the rxgraph output, my launch file and my camera parameters

Besides I have a warning:

[image_transport] Topics '/Dava/image_mono' and '/Dava/gscam/camera_info' do not appear to be synchronized. In the last 10s: Image messages received: 80 CameraInfo messages received: 80 Synchronized pairs: 0

I will appreciate any respond . Thank you

image description

image description

Output.png

Test_Launch.png

you can download the launch file to this link: https://mega.co.nz/#!fohxhQYY!RIuUOVuf1mL8Nn_erxkrujVt8zUmsLn-4_kP2YokMxc

edit retag flag offensive close merge delete

Comments

What is the output of `rosconsole` when you start your launch file?

Thomas gravatar image Thomas  ( 2013-09-30 15:29:07 -0500 )edit

I just uploaded

Dava2788 gravatar image Dava2788  ( 2013-10-01 08:35:54 -0500 )edit

Apparently the camera information is not correctly synchronized, this may be a bug of gscam. Also, camera information may be incorrect and rejected, hence the lack of data. Can you copy and paste in your original question two or three outputs of this topic?

Thomas gravatar image Thomas  ( 2013-10-06 19:22:33 -0500 )edit

@Thomas this is a bug from the old (svn) version of gscam, and has been fixed for months in the released version.

jbohren gravatar image jbohren  ( 2013-10-07 01:38:04 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-10-07 01:38:53 -0500

jbohren gravatar image

The code you are using is out of date. The sync bug has been fixed in the current released versions of gscam (0.1.1), the source versions of which can be found here: https://github.com/ros-drivers/gscam

edit flag offensive delete link more

Comments

Thank you. I will download it. Final question, one of these version works in ROS FUERTE, right?

Dava2788 gravatar image Dava2788  ( 2013-10-07 06:54:54 -0500 )edit

Yes, gscam 0.1.1 can be built in a rosbuild-based workspace.

jbohren gravatar image jbohren  ( 2013-10-07 06:56:27 -0500 )edit

Thank you, jbohren.

Dava2788 gravatar image Dava2788  ( 2013-10-07 06:58:57 -0500 )edit

@Dava2788 so did it work?

jbohren gravatar image jbohren  ( 2013-10-08 07:47:02 -0500 )edit

I'm going to test it this afternoon. I will let you know.

Dava2788 gravatar image Dava2788  ( 2013-10-08 08:15:42 -0500 )edit

@jbohren, thanks it work, I could see the rectify image. But I just have another problem, when I tried to Subscribed that topic (Image_rect) to another node (Viso2). It show again the sync msg (warning message). I don't know if I'm doing something wrong with the configuration with viso2 or is gscam

Dava2788 gravatar image Dava2788  ( 2013-10-08 14:38:37 -0500 )edit

I going to close this question and open a new one if I stil have this issue. Thanks @jbohren.

Dava2788 gravatar image Dava2788  ( 2013-10-08 15:14:42 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-09-28 13:48:07 -0500

Seen: 1,122 times

Last updated: Oct 07 '13