Publish pose does not work when connected to a ROS2 stack via rosbridge
See original GitHub issueHi folks!
I noticed that the tools for publishing poses and points do not work for ROS2.
The issue seems to be that the header fields in PoseStamped/PoinsStamped differ somewhat between the versions of ROS.
I get this error from rosbridge when I try to publish a pose:
[rosbridge_websocket-2] [ERROR] [1644769470.882365620] [rosbridge_websocket]: [Client 3] [id: publish:/goal_pose:114] publish: Message type geometry_msgs/PoseStamped does not have a field header.seq
[rosbridge_websocket-2] [ERROR] [1644769515.979927426] [rosbridge_websocket]: [Client 3] [id: publish:/clicked_point:125] publish: Message type geometry_msgs/PointStamped does not have a field header.seq
It would be nice to have an option to send ROS2 compatible messages with the tools.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
ROS 2 Native: Publishing support · Issue #1661 · foxglove/studio
This feature request is for the ROS 2 native connection to support ... Publish pose does not work when connected to a ROS2...
Read more >Native ROS 1 and ROS 2 - Docs - Foxglove Studio
Connect directly to your running ROS stack via a native TCP (Transmission Control Protocol) connection to access your ROS master and/or nodes directly....
Read more >ROS & ROS2 Bridge — Omniverse Robotics documentation
The ROS Bridge Extension enables publishing and subscribing of several rostopics and rosservices that are commonly needed for robotic simulation. This extension ...
Read more >ROS web tutorial part 1 - rosbridge server and roslibjs
Good luck! Mateusz Sadowski • 2 years ago. Many thanks for reporting the problem. I've updated the post to show how ...
Read more >Build a web page that listens to your ROS 2 stack using a ...
This subreddit is for discussions around the Robot Operating System, ... page that listens to your ROS 2 stack using a Rosbridge connection....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes the header message did change between ros1 and ros2.
Fortunately we have a field that panels can use to detect the framework and the 3d panel could use this to publish a message with the correct format for ros1 vs ros2.
@jtbandes @jhurliman I’m moving this issue into a bug since we are displaying the UI to publish to users that are connected via rosbridge. We can either resolve this by not displaying the UI when we can’t support the framework or fix this to publish the correct format message. Right now the user experience is one where you see the feature and when you go to use it, it fails.
I’m not sure this is a real problem – I think messages published from Studio today don’t show up in Raw Messages (or any panel) unless they make a roundtrip through the player. In that case you would be seeing the final published message in the format vended by the player.