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

gscam - "illegal operation"

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

alexsleat gravatar image

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

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 image Mac  ( 2011-09-02 10:46:47 -0600 )edit
Did you compile all of ROS or did you install from .debs?
Eric Perko gravatar image Eric Perko  ( 2011-09-08 10:35:32 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

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 -0600

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

Question Tools

Stats

Asked: 2011-07-01 03:58:18 -0600

Seen: 567 times

Last updated: Sep 07 '11