Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to run two cameras in ROS at different times?

I am trying to run two cameras on one single board computer with ROS and OpenCV, but I do not want to run the cameras at the same time. I want to run camera A until a specific moment then turn camera A off and turn camera B on; then B off and A on, and so on...

I am not sure how to do this effectively or at all really. I understand how to start up both cameras with a launch file or turn them off and on manually, but I want to do this automatically as certain parameters are met. Any ideas or advice?

Thanks - Ralff

How to run two cameras in ROS at different times?

I am trying to run two cameras on one single board computer with ROS and OpenCV, but I do not want to run the cameras at the same time. I want to run camera A until a specific moment then turn camera A off and turn camera B on; then B off and A on, and so on...

I am not sure how to do this effectively or at all really. I understand how to start up both cameras with a launch file or turn them off and on manually, but I want to do this automatically as certain parameters are met. Any ideas or advice?

Thanks - Ralff