Skip to content

Added WrenchStamped panel.#45

Merged
defunctzombie merged 2 commits intofoxglove:mainfrom
Ry0:main
May 18, 2025
Merged

Added WrenchStamped panel.#45
defunctzombie merged 2 commits intofoxglove:mainfrom
Ry0:main

Conversation

@Ry0
Copy link
Contributor

@Ry0 Ry0 commented May 12, 2025

I have created the panel that visualize to WrenchStamped.msg.
https://docs.ros2.org/foxy/api/geometry_msgs/msg/WrenchStamped.html

It cannot be overlaid on the standard 3D panel, so I used a separate panel, to display it.
(If there is a way to implement this, please let me know.)
Actually, I am thinking that an official feature should be provided that allows Wrench data to be overlaid on the 3D panel.

I made it match the display in Rviz.
https://github.com/user-attachments/assets/4b5fdd5b-4b9b-4d0a-994c-dc39a42dc8b8

@defunctzombie
Copy link
Contributor

One approach would be to write a message converter extension (rather than a panel) that would convert a WrenchStamped message into a Scene Update (with a scene entity). It looks like you could get really close with converting the message into two arrows within the entity. I don't know about the third circular arrow but might be something we can make work.

If you write a message converter, then any topics with WrenchStamped will show up in the existing 3d panel.

Here's the docs on message converters: https://docs.foxglove.dev/docs/visualization/extensions/guides/create-message-converter

@Ry0
Copy link
Contributor Author

Ry0 commented May 18, 2025

@defunctzombie
Thanks for the reply.

As you pointed out, it is difficult to describe CIRCULAR ARROW.
This issue is not at the level where I can implement it immediately,
I hope you will approve this pull request.

I will consider the issue in the next update.

@defunctzombie defunctzombie merged commit bcc0172 into foxglove:main May 18, 2025
1 check passed
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