Camera for Gazebo Model?
So I'm using ROS Indigo along with Gazebo 2.2.3 on Ubuntu Trusty. I was wondering if there are any example codes of controlling said camera and visualize its data (i.e. project what it's seeing in a new window or something like that). For the sake of completeness, the model in question has a SDF model but no URDF model. I'm also using a stereo camera.
UPDATE (Sep 4): Ok, so I discovered that Gazebo has an existing camera model in its model database. I was able to visualize camera data (i.e. show what it's seeing) using existing menu commands in Gazebo. Last, but not least, I was also able to attach the camera to my Gazebo model. The big question that I need help with is how to write code so I can call the camera to visualize using terminal commands instead of going into the Gazebo menu?