Rviz plugin - Fullscreen mode for an Ogre::RenderWindow

asked 2013-09-30 00:36:11 -0500

davemcthomas gravatar image

updated 2013-11-14 10:14:47 -0500

tfoote gravatar image

Hi all, I am trying to figure out how to set the fullscreen mode of a Ogre::RenderWindow for my own rviz plugin.

I am using the code of the default plugin Camera Display of rviz. It uses the Ogre::RenderWindow to visualize the output of the camera. Actually I can change most of the properties of the window but I couldn't set the fullscreen mode for that window. I need the fullscreen mode just for the camera window of the camera and not for the whole rviz window.

I tried without success the instruction

render_panel_->getRenderWindow()->setFullscreen(true, 1366, 768);

inside the event

void MyCameraDisplay::onInitialize()

Any suggestions?

Thanks

edit retag flag offensive close merge delete