-
Notifications
You must be signed in to change notification settings - Fork 68
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
Handling of /tf and /tf_static #171
Comments
Just to connect some threads, I ended up creating a ROS2-compatible version of |
Sorry for the delay, I suggest you could use
to check the log. |
Hi, thanks for the response. I did that and got the following:
Now, if I am reading this correctly, it seems like the issue is actually that roslibjs is looking for the wrong stuff in the wrong places (Expecting ROS1-formatted messages/services/actions instead of ROS2), and isn't actually an issue with ros2-web-bridge itself per se, unless it is trying to account for whatever protocol it expects. Thoughts? |
The roslibjs doesn't support ROS2 officially, ros2-web-bridge depends on rosbridge v2 protocol to communicate with the front-end JS library, which I think causes this issue. |
This |
Hi, I also have a problem about tfw_web_republisher. I found that in ros3djs, all display plug-ins that require tfClient cannot be displayed normally, such as pose, urdf, laserscan, etc.
ros2-web-bridge:Bridge Response: {"op":"status","level":"error","msg":"publish: TypeError: Invalid argument: sec in Time","id":"publish:/tf2_web_republisher/cancel:8"} +1ms Thanks! |
I think the root cause is that the actionlib is implemented by the roslibjs library for ROS1, while for ROS2, the actionlib is implemented by the rcl and exposed through different clients, e.g. rclpy/rclnodejs. Unfortunately, the ros2-web-bridge doesn't expose the actionlib feature because rosbridge v2 protocol doesn't support the actionlib. |
Is there a work-around for this issue? |
Hi all,
I was looking at using this library for visualizing some robots with a ros2 backend. I have gotten things to the point on the backend ros2 sever that the robot displays correctly in rviz2, but the robot does not display with the ros3djs visualizer. I looked into the connections that the
ros2_web_bridge
node has, and found that it does not subscribe to the/tf
or/tf_static
, despite setting up a TFClient (roslibjs). Is this something that I am doing incorrectly here, or is this not an intended behavior to have the subscriptions created?Let me know if you need any relevant code and I will be happy to provide it.
Thanks!
The text was updated successfully, but these errors were encountered: