Gazebo | Ignition | Community
Ask Your Question

How does ~ (tilda) resolve in a gazebo topic name

asked 2016-09-22 19:40:35 -0600

tfoote gravatar image

I've seen a convention of advertising '~/foo' as a topic name for gazebo publishers. How does that resolve?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-22 19:42:49 -0600

tfoote gravatar image

I dug into the source and found the resolution is here:

It resolves to "/gazebo/" + this->topicNamespace where this->topicNamespace is what is passed to the Transport.Init method for the transport upon which is being advertised.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-09-22 19:40:35 -0600

Seen: 134 times

Last updated: Sep 22 '16