-
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
Service topics_and_raw_types missing when using webviz #146
Comments
|
@minggangw has this been implemented for ROS2 Foxy yet? |
Not yet, I'm afraid I don't have the bandwidth to work on it, so we need volunteers to develop more features😄 |
Hi @minggangw 👋 I was poking around and it seems like the services that are implemented today (for parameters) are implemented inside rclnodejs The ROS 1 implementation of these services used definitions from the So it seems like the steps needed would be:
Does this sound right? I'd appreciate any advice if you think more work will be needed, or have tips on how to list topics and datatypes from rclnodejs or the C++ API. |
Hi @jtbandes thanks for your question and welcome 😄 Yeah, the ROS2 has a different story from ROS1, ROS2 integrates more functionalities into its clients, e.g. rclpy/rclnodejs, although all kinds clients are based on the rcl library to implement some platform-specific features. Another feature that were implemented by the roslibjs for ROS1 is the actionlib, which has been implemented by rcl. #73 tracks the rosapi feature for ROS2 currently. Some suggestions:
If you want to implement it quickly, I suggest you could put the
I think this can be achieved within JavaScript part. |
Thanks for the response, I spent some more time reading code and now I have some more detailed questions 🙂
Where would these go? It seems like this repo currently doesn't have any .msg/.srv files except for one in the test code. And more importantly, how would these be picked up by the
Currently, it looks like the raw message definition (the original contents of the (For reference I looked at the implementation of |
I see, so a separate project is suitable for this case. |
I learned that the rosbridge_suite project already has some basic ROS 2 compatibility in the It's not perfect, because it has to reconstitute the .msg files since they aren't included in the generated message classes / typesupport. But it does allow basic subscription functionality to work in Foxglove Studio with https://github.com/foxglove/studio/pull/1480. (I haven't tested publishing yet — that might be a separate piece of work, but it might work by default since it doesn't use the raw binary format.) |
Missing service when using webviz:
See ticket here
The text was updated successfully, but these errors were encountered: