loading model plugin problem [closed]

asked 2019-09-04 20:16:59 -0500

z80 gravatar image

Hello!

I made a custom Model plugin.

When I run "gazebo aaa.world --verbose" I see that plugin was loaded for the model according to stdout.

But when I use libgazebo7-dev instead and do

gazebo::setupServer( args );
world = gazebo::loadWorld( "aaa.world" );
model = world->GetModels()[0];
model->LoadPlugins();
const int qty = model->GetPluginCount();

inside an executable it is not loaded and I see no stdout even though "model->GetPluginCount()" returns 1.

Is there any way to make libgazebo7 work the same way as gazebo or gzserver?

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2019-09-05 03:42:06.934151

Comments

You'll probably get more useful responses if you post this on the gazebo answers site instead. This isn't a ROS question.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2019-09-05 03:27:21 -0500 )edit