Home | Tutorials | Wiki | Issues
Ask Your Question
0

Visual plugin loaded twice

asked 2017-04-20 03:46:17 -0500

MSI gravatar image

       Hello everybody,

I'm having an issue with a visual plugin. Similarly to Illuminatur in this thread, the plugin I'm using is loaded twice. More precisely, it's loaded twice only when the model of the robot I'm using is loaded in addition to the model that uses the plugin.

The plugin I'm referring to is here, it's a plugin to put texture on an object via YARP.

The robot I'm simulating is the iCub (sdf files here)

Is that a known/desired behavior? Is there a simple way to prevent Gazebo from loading it twice?

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-04-20 10:56:59 -0500

iche033 gravatar image

When you launch a gazebo world that has a camera sensor, two rendering scenes are actually created (server + client). So the visual plugin is loaded twice because it's loaded once on the server (for the camera sensor) and another time on the client (for the main UI window).

edit flag offensive delete link more

Comments

Hello Iche, Thank you very much for your answer. I would upvote if I could. I will now contact the people who developed that plugin!

MSI gravatar imageMSI ( 2017-05-11 02:25:17 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-04-20 03:46:17 -0500

Seen: 84 times

Last updated: Apr 20