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

Constants from message definition not displayed #7

Open
yossioo opened this issue Jan 14, 2020 · 2 comments
Open

Constants from message definition not displayed #7

yossioo opened this issue Jan 14, 2020 · 2 comments

Comments

@yossioo
Copy link

yossioo commented Jan 14, 2020

No preview of constants from the msg file

yossi@laptop-yo ~:
$ ros2 msg show visualization_msgs/msg/Marker
...
uint8 ARROW=0
uint8 CUBE=1
uint8 SPHERE=2
...

# Header for timestamp and frame id.
std_msgs/Header header
...
@dirk-thomas
Copy link
Contributor

Please consider to contribute a pull request for this feature idea.

@yossioo
Copy link
Author

yossioo commented Nov 12, 2020

I'd be glad to do that, probably with some guidance, since I don't have much experience developing RQT plugins.

At this point, I don't have an elegant solution to propose but have some ideas.

Option A: Add another leaf node of type const .. to the tree, display value of the constant in name/type/path
Option B: Add a separate view (ListView / TableView / Tree?) below the MessagesTreeView, similar to Response in Service Caller, and populate it with constants from the requested message (or should sub-messages also be included?)

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

No branches or pull requests

2 participants