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

[Feature request] Support for external visualizers #80

Open
mjbogusz opened this issue Aug 17, 2021 · 3 comments
Open

[Feature request] Support for external visualizers #80

mjbogusz opened this issue Aug 17, 2021 · 3 comments

Comments

@mjbogusz
Copy link
Contributor

Is there any plan for supporting outside visualizers?
This way updating to newer ROSboard version would be much easier.

Alternatively ROSboard could be converted into a library so that another package could use it as dependency and only provide additional visualizers (and possibly a simple entry point).

@dheera
Copy link
Owner

dheera commented Aug 18, 2021

Hi @mjbogusz , interesting idea, this makes a lot of sense. I think I'd like to keep ROSboard with the ability to launch it standalone since probably a lot of people won't write a visualizer, but I also fully want to make it extremely easy to extend and build visualizers for the many who do need that functionality.

I'm not opposed to having another library call and launch rosboard (in fact it already is a Python library, it can be imported and run from Python), but that structure might make it hard for multiple visualizer add-ons to be used simultaneously.

What are your thoughts on where such visualizers could go?

I was thinking maybe if there was a way for any ROS package to implement visualizers for ROSboard, and ROSboard could automatically scan the system for them, that would be cool, that way people who release ROS packages can also release visualizers with them. (Although maybe it's a stretch to think many people would actually do that?)

Another option maybe is to just have them in some common pre-defined directories e.g. /opt/ros/DISTRO/share/rosboard/visualizers/ and the user can just add them there. ROS packages could also install things to that directory if they wish.

@mjbogusz
Copy link
Contributor Author

Hmm I thought about having an entry point in the Python part taking a list of extra visualizer files as an argument and injecting them into a templated index.js - the main rosboard package could simply have an executable using that entry point with an empty list.

@samuk
Copy link

samuk commented Oct 22, 2021

Do you plan any support for https://github.com/RobotWebTools/ros2-web-bridge

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

3 participants