libgazebo7 model plugin load problem

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

sergey gravatar image

Hello!

I made a Model plugin. When I run gzserver aaa.world --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( "aaa.world" );
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