Drawn Gazebo-Roads don't get visualized

asked 2016-03-22 04:59:10 -0500

maxieckert gravatar image

Hi there,

I try to draw several roads (in a loop) in a world plugin by publishing road messages.
When I initialize a new publisher for each road, everything is visualized fine. But if I use the same publisher for all roads, Gazebo doesn't draw all roads (in fact only 1). Adding a short "sleep" after every published road message helps, but not all roads get visualized.

Anyone an idea why this is hapenning and how I can avoid initializing a new publisher for every road?

Many thanks in advance and best regards.

edit retag flag offensive close merge delete