0
$\begingroup$

Rosanswers logo

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?


Originally posted by dada81 on ROS Answers with karma: 1 on 2013-04-22

Post score: 3

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by davinci with karma: 2573 on 2013-04-22

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.