Ask Your Question

Package brown-perception on armhf

asked 2014-05-13 02:36:14 -0600

hvn gravatar image


I'm trying to use a webcam on armhf. For testing on x86, with Electric/Ubuntu 10.04 it works and I can use gscam. With Groovy/Ubuntu1204 on x86, it will work as well with gscam. However, I find that gscam depends on the brown-perception package which isn't available for armhf on groovy and hydro. This most likely explains why my earlier attempts of running the gscam driver didn't work out. Does brown-perception (Groovy) build for armhf or should I use e.g. uvc_cam or libuvc_camera ?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-13 06:52:07 -0600

ahendrix gravatar image

I've had good results using the uvc_camera package in Hydro on armhf, and it's already available as a deb for ARM.

edit flag offensive delete link more


After installing uvc_camera and deps, I run "rosrun uvc_camera uvc_camera_node" and get a couple of messages ending with "opening /dev/video0 terminate called after throwing an instance of 'std::runtime_error' what(): couldn't open /dev/video0 Aborted (core dumped)" The cam is connected.

hvn gravatar imagehvn ( 2014-05-13 22:54:13 -0600 )edit

After chmod a+rw on /dev/video0 it opens, but after reading it, it looks for /dev/video1 which isnt there and so far I can't find how to disable the StereoNode.

hvn gravatar imagehvn ( 2014-05-14 02:58:30 -0600 )edit

According to the wiki page ( ), the single and stereo nodes should be two separate nodes. I would make sure you're running the correct node.

ahendrix gravatar imageahendrix ( 2014-05-14 06:58:23 -0600 )edit

OK, had read the info wrong. I have a working cam now, but find it a bit odd that with the uvc_camera_node, rostopic lists both a left and a right camera. Could this influence the fps ?

hvn gravatar imagehvn ( 2014-05-14 07:54:22 -0600 )edit

I have no idea if this affects the frame rate or not. I would look at the topics in question to see if they're still around because they're published by the camera driver, or if they're still around because something else is subscribing to them.

ahendrix gravatar imageahendrix ( 2014-05-14 10:51:07 -0600 )edit

Ok, after restarting roscore, the topics are fine. The fps looks good too for now.

hvn gravatar imagehvn ( 2014-05-14 20:40:44 -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

1 follower


Asked: 2014-05-13 02:36:14 -0600

Seen: 111 times

Last updated: May 13 '14