Home | Tutorials | Wiki | Issues
Ask Your Question
0

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

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

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
1

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

tfoote gravatar image

I dug into the source and found the resolution is here: https://bitbucket.org/osrf/gazebo/src...

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

Stats

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

Seen: 78 times

Last updated: Sep 22 '16