Gazebo | Ignition | Community
Ask Your Question

What could be disadvantages of making lots of topics in Gazebo?

asked 2018-06-26 08:37:06 -0500

bhej gravatar image

updated 2018-06-26 08:37:27 -0500

For example, populating a world with 100 actors each having two topics, or populating a world with 100 actors each having one topic. What factors may deter me from making 'too many' topics? Please excuse me if my question sounds broad, I am looking to deepen my understanding of how Gazebo and ROS topics affect each other and my simulation.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-28 03:34:57 -0500

wentz gravatar image

So a "good" gazebo node should only do the computation and publishing if someone subscribed to the topic. So its hard to tell if just having this topics may affect the simulation. But you can be sure due to the data transfer, the more topics are published at the same time the lesser the frequency will be. And this may also effect the simulation (e.g. real time factor and so on).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2018-06-26 08:37:06 -0500

Seen: 100 times

Last updated: Jun 28 '18