Robotics StackExchange | Archived questions

loading model plugin problem

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?

Asked by z80 on 2019-09-04 18:15:20 UTC

Comments

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

Asked by PeteBlackerThe3rd on 2019-09-05 03:27:21 UTC

Answers