Skip to content

Add string panel#41

Merged
defunctzombie merged 2 commits intofoxglove:mainfrom
Ry0:main
Mar 21, 2025
Merged

Add string panel#41
defunctzombie merged 2 commits intofoxglove:mainfrom
Ry0:main

Conversation

@Ry0
Copy link
Contributor

@Ry0 Ry0 commented Mar 20, 2025

Added string panel.

Copy link
Contributor

@defunctzombie defunctzombie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The raw message panel gets close to doing this. You can display a single field in the raw message panel so you could do /string_topic.data and it will display the value.

Does that not work as you would expect? Does this panel do something more than display the value (like support markdown?)

I'm fine adding this panel to the registry but did want to understand how we could maybe make the builtin panel better for the workflow you have in mind.

@Ry0
Copy link
Contributor Author

Ry0 commented Mar 21, 2025

@defunctzombie
Thanks for the review.
The raw message panel works fine.
The panel works well enough for debugging purposes, but I don't think it is suitable for display purposes, for example in a demo system at the exhibition.
My extension is designed to display a simple description of a robot demo system, such as “calculating trajectory for robot” or “robot is executing calculated trajectory”.

So I made it so that I can change the font type, font color, background color, etc. as well as the font size as shown below.
This allows you to simply display a description for the customer along with the robot's movements!

image

@defunctzombie defunctzombie merged commit 99bc7ff into foxglove:main Mar 21, 2025
1 check passed
@defunctzombie
Copy link
Contributor

Thank you for contributing a panel to help make Foxglove more useful for everyone!

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants