Ask Your Question
3

Two cameras using gscam

asked 2013-04-22 10:22:10 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello,

How can I start two cameras using gscam? What i have to change in: export GSCAM_CONFIG="v4l2src device=/dev/video0 ! video/x-raw-rgb ! ffmpegcolorspace"

and here:

rosrun image_view image_view image:=/gscam/image_raw

To see video from two cameras in one window?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-04-22 22:14:43 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

You could use one terminal per camera and export in the first /dev/video0 and the second /dev/video1? You should then use a separate launch file to prevent that both publish to the same topic. Not sure if this possible, some camera implementations are a little basic.

With Rviz you can view the two streams. rosrun rviz rviz and add the streams.

edit flag offensive delete link more
0

answered 2013-04-22 21:47:10 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Please help, I need it.

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

1 follower

Stats

Asked: 2013-04-22 10:22:10 -0600

Seen: 317 times

Last updated: Apr 22 '13