libgazebo7 model plugin load problem

asked 2019-09-05 13:48:15 -0500

sergey gravatar image


I made a Model plugin. When I run gzserver --verbose I see plugin output and it works fine. However, if I make a libgazebo7 based standalone server by doing

gazebo::setupServer( args );
world = gazebo::loadWorld( "" );
while ( true )
    gazebo::runWorld( world, 1 );

nothing happens. Plugin doesn't load. I also tried calling model->LoadPlugins() explicitly. It does nothing. At the same time model->GetPluginCount() returns correct number of plugins to be loaded.

I run both gzserver and custom executable from one and the same location using one and the same terminal window. So all environment variables are the same.

I'd appreciate any help! Thank you!

edit retag flag offensive close merge delete