Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace issue #55

Open
kturkovic opened this issue Apr 27, 2020 · 0 comments
Open

Namespace issue #55

kturkovic opened this issue Apr 27, 2020 · 0 comments

Comments

@kturkovic
Copy link

kturkovic commented Apr 27, 2020

Hello.
I'm wondering if there is a clean way to run everything when the whole project is developed under a 'robot' namespace. This means that the names in tf tree are prepended with 'robot' (ex. 'robot/color', 'robot/depth', ...) and so topics should be prepended as well (ex. 'robot/r200...')
I don't see any way to do this "cleanly" with this package.
Topics can be prepended by changing:
plugin name="${prefix}r200" filename="librealsense_gazebo_plugin.so"
to:
plugin name="robot/${prefix}r200" filename="librealsense_gazebo_plugin.so"

Header frame_ids should be prepended as well by changing:
prefix>${prefix}</prefix
to:
prefix>robot/${prefix}</prefix,
but this seems to cause a segmentation fault and isn't really semantically correct.

So my question is: Is there a way to add namespaces to topic publishing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant