Home | Tutorials | Wiki | Issues
Ask Your Question
0

rendering::WindowManger::CreateWindow() [closed]

asked 2013-02-16 16:47:52 -0500

iamhero gravatar image

updated 2013-02-16 17:58:27 -0500

I want to create a render window in gazebo this is my code so far(i am new to it)

#include "rendering/rendering.hh" #include "gazebo.hh" using namespace std;

namespace gazebo { class GameWindow : public SystemPlugin { public: void Load(int /_agrc/, char * /_argv*/) { } private: void Init() { //use the createwindow function from the rendering namespace mGameWindow->rendering::WindowManager::CreateWindow("Window", 500, 500); }

    //create a window manager object 
    private: rendering::WindowManager * mGameWindow;

};
//Register this plugin with the simulator
GZ_REGISTER_SYSTEM_PLUGIN(GameWindow)

}

I get this error Error [WindowManager.cc:96] Unable to create the rendering window

Obviously there's a better way to do this. Suggestions are welcome

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by nkoenig
close date 2013-08-02 14:46:58.884101

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-07 21:07:24 -0500

nkoenig gravatar image

May I ask what you're trying to do?

It's currently not possible to create a new render window from a plugin.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-16 16:47:52 -0500

Seen: 84 times

Last updated: Mar 07 '13