Ask Your Question
0

Getting image_color from camera1394

asked 2013-04-17 04:55:28 -0600

Mendelson gravatar image

updated 2014-01-28 17:16:14 -0600

ngrennan gravatar image

Hi everyone!

I'm trying to get the image from my Fire-i400 1394 camera. In order to do that, I am using the following comands:

$ rosrun camera1394 camera1394_node

$ ROS_NAMESPACE=camera rosrun image_proc image_proc

$ rosrun image_view image_view image:=camera/image_rect_color

and this should give me the images, with color. But I'm getting the following message:

Color topic '/camera/image_color' requested, but raw image data from topic '/camera/image_raw' is grayscale

then, the images come up, but they are on grayscale.

Does anybody know why it is happening? What am I doing wrong?

Thanks in advance!

edit retag flag offensive close merge delete

Comments

1

What parameters did you set for the camera driver?

joq gravatar imagejoq ( 2013-04-17 16:30:23 -0600 )edit

Actually, I really don't know. I just plugged the camera, downloaded the packages, and, then, I calibrated it. How can I see these parameters? Thanks for your quick answer!

Mendelson gravatar imageMendelson ( 2013-04-18 03:36:22 -0600 )edit
1

See default params on that node's wiki page if you didn't set any.

felix k gravatar imagefelix k ( 2013-04-18 04:08:57 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-04-18 06:41:47 -0600

joq gravatar image

updated 2013-04-18 06:42:07 -0600

You should take a look at the driver tutorials.

They explain how to run the driver, configure color parameters, and access the parameters using dynamic_reconfigure.

edit flag offensive delete link more

Comments

Thank you joq! Actually, I just had to use $ rosrun camera1394 camera1394_node _guid:=(my_cam_guid) _video_mode:=640x480_rgb8

Mendelson gravatar imageMendelson ( 2013-04-23 04:19:55 -0600 )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

Stats

Asked: 2013-04-17 04:55:28 -0600

Seen: 268 times

Last updated: Apr 18 '13