Ask Your Question
0

gscam - "illegal operation"

asked 2011-07-01 03:58:18 -0500

alexsleat gravatar image

updated 2012-02-27 14:05:22 -0500

kwc gravatar image

I'm trying to get a camera working on a "roboard" (i386) which is running Ubuntu 10.04 with a full ROS diamondback install.

gscam is falling down at the following line (in http://brown-ros-pkg.googlecode.com/s... ), and only returning illegal operation.

image_transport::CameraPublisher pub = it.advertiseCamera("gscam/image_raw", 1);

This setup works on a laptop running the same code, has anyone else had this problem or know a solution?

edit retag flag offensive close merge delete

Comments

We're going to need more details to debug this; corefiles, version numbers, etc. Also, does it work in (recently-released!) electric?
Mac gravatar imageMac ( 2011-09-02 10:46:47 -0500 )edit
Did you compile all of ROS or did you install from .debs?
Eric Perko gravatar imageEric Perko ( 2011-09-08 10:35:32 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-09-07 21:35:02 -0500

dornhege gravatar image

Even if it is i386, you can get an illegal operation if some extensions are not supported.

Things like SSE might be standard on most current machines and thus are compiled in by default. On a raw i386 you would get that error. The solution would be to recompile without the flags.

edit flag offensive delete link more
0

answered 2011-09-07 16:08:55 -0500

joq gravatar image

Sounds like a bug to me. Why not open a ticket, providing any additional information you can?

edit flag offensive delete link more

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: 2011-07-01 03:58:18 -0500

Seen: 363 times

Last updated: Sep 07 '11