-
Notifications
You must be signed in to change notification settings - Fork 219
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
rviz2 via composition #1114
Comments
Subscribing here. As soon as I get some free time I may give a look to evaluate the required effort to do so, but I would also like to know from the maintainers their opinion on such a possible development. |
I'm not opposed to it, but I'd like to hear what the use case is. I mean, yes, it will be more efficient to compose it with the thing it is debugging. But the "typical" deployment is to have rviz2 on a separate machine from the robot, so I'd want to hear about the cases where that is not happening. |
was just thinking that this could enable intra-process communication to rviz, although inter-process works just fine. The |
@mhubii I think @clalancette is asking for a real use cases. I can propose a few to start with:
Of course, I think these are not beginner setups, but may come handy. |
OK, fair enough. I've put this on the backlog, since the core team likely won't be addressing it in the near future. But please feel free to open pull requests in that direction. Thanks! |
Here is a little assessment of what's currently going on, and how the above objective coud be achieved. As I was expecting, here we have a Qt Application along with its own startup logic. rviz/rviz_common/include/rviz_common/ros_integration/ros_node_abstraction.hpp Lines 55 to 64 in 68d9167
This is almost the same pattern used for example by Let me exaplain this. Rviz could:
Then, users could call the component manager services to do run-time composition (i.e. inject components in the Rviz instance). I did the same locally with |
Hi @roncapat, Can you provide any pointer to your changes in gazebo_ros_pkgs ? |
Here you are @ahcorde: Edit: it is unmaintained and commits may be cleaner overall, but it may serve as a starting point POC. |
I created a draft PR #1140 |
From the
CMake
it appearsrviz2
is compiled into an executable, referrviz/rviz2/CMakeLists.txt
Line 44 in 68d9167
Are there plans to provide composition in the future?
The text was updated successfully, but these errors were encountered: