ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
RViz wasn't designed with that use case in mind. You should look at ViewController / FramePositionTrackingViewController and their derived classes in RViz on how they set up the camera. There were a couple of changes between fuerte and groovy.
Maybe you're just not getting the right camera in this line:
const Ogre::Camera* camera = scene_manager_->getCameras().begin()->second;