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

GScam Issues on ARM OMAP4-hf (12.04 server/groovy)

asked 2013-05-26 19:18:35 -0500

A_Zager gravatar image

updated 2014-01-28 17:16:39 -0500

ngrennan gravatar image

I am working on getting ROS up and running on my Pandaboard ES using Ubuntu 12.04LTS Server and I am having trouble getting data out of the gscam_publisher. I am using a logitech 9000 pro webcam. Wanted to see if the publisher end requires an x11 host before I start digging into gstreamer code.

The idea is to run the sever on the pandaboard and do the compression, then view it on the other side using something simple like imageview for now. (The other side being my laptop running Linux Mint 14 also with ROS Groovy) I set up my environment variables to the default recommended by gscam:

GSCAM_CONFIG="v4l2src device=/dev/video2 ! video/x-raw-rgb,framerate=30/1 ! ffmpegcolorspace ! identity name=ros"

the ran as normal with the default cameraparameters.txt file in the gscam/bin directory on the PandaBoard rosrun gscam gscam

The output from the gscam node seemed to indicate success from reading the gscam wiki:

panda@express:~/groovy/sandbox/gscam/bin$ rosrun gscam gscam
Gstreamer Version: GStreamer 0.10.36
stream is PAUSED.                                                                                                                                                  
[ INFO] [1369592648.077697042]: Successfully read camera calibration.  Rerun camera calibrator if it is incorrect Processing...  .

However when I run rostopic echo on any of the topics I get no data coming out (whether I run echo from the panda or the remote host), and I cannot connect with image_viewer. I also note the LED indicator of the camera is turned on, so the device is being accesses.

In RxGraph, the nodes are connected as expected, with gscam_publisher feeding the image_view on my remote host. (the image view window remains greyed out)

Rostopic list also outputs what I would expect:

panda@express:~/groovy/sandbox/gscam/bin$ rostopic list                                                              
│/gscam/camera_info                                                                                                     
│/gscam/image_raw                                                                                                       
│/gscam/image_raw/compressed                                                                                            
│/gscam/image_raw/compressed/parameter_descriptions                                                                     
│/gscam/image_raw/compressed/parameter_updates                                                                          
│/gscam/image_raw/compressedDepth                                                                                       
│/gscam/image_raw/compressedDepth/parameter_descriptions                                                                
│/gscam/image_raw/compressedDepth/parameter_updates                                                                     
│/gscam/image_raw/theora                                                                                                
│/gscam/image_raw/theora/parameter_descriptions                                                                         
│/gscam/image_raw/theora/parameter_updates                                                                              
│/rosout                                                                                                                
│/rosout_agg

Any suggestions on where to go from here or where else to look for assistance? Thanks a lot!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-05-31 06:09:32 -0500

joq gravatar image

@jbohren and @rctoris recently created ros-drivers/gscam, which they plan to maintain actively. You might take a look at that, many bug fixes were applied.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-05-26 19:18:35 -0500

Seen: 551 times

Last updated: May 26 '13