Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1516

ROS Equivalent to "playerc_camera_subscribe"

$
0
0
I'm trying to write a C++ program that will allow me to capture a single frame from a camera in Gazebo. My Gazebo node has no problems publishing the images from the stereo camera. I know this because I've already tried with rosbag and rostopic list. The camera itself works too. Is there a ROS/C++ equivalent for the following lines that will allow my C++ node to "latch onto" Gazebo and subscribe to the image data? playerc_camera_subscribe(camera1, PLAYER_OPEN_MODE); *realFrame = cvQueryFrame( capture );

Viewing all articles
Browse latest Browse all 1516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>