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
Incorporating RViz2 into custom GUI (Qt app) #645
Comments
I'm also very interested in figuring out how to do this, since embedded Rviz displays are a useful feature to have in nicely-packaged custom robotics applications. |
I wanted to provide some detailed information about what I'm trying to do and my current issues. I've been referring to the functions used while initializing the rviz2 application while trying to get this working. This is also building from the code that @Abishalini wrote while originally working on this issue. I created a branch of ros2/rviz that moves the Basically I would like to have an app that looks something like this (minus the sliders and labels -- I deleted those from my code for clarity): Please let me know if I should provide additional information. One of the motivations behind this is to be able to port the MoveIt Setup Assistant to ROS2, since the ROS1 version of that application follows a similar pattern. Codemyviz.h
myviz.cpp
main.cpp
CMakeLists.txt
Exception InfoCurrently, I get a segfault in the function
It looks like Stack Trace
|
It's possibly worth noting that I also get errors about failures to load certain icon images:
In this case the image |
Assigning to @jacobperron to take a look. Most likely this results in this being marked as 'help-wanted' or 'backlog'. Contributions here would be welcome. |
@clalancette We were able to work through this and get our application working. I'll find a good place to post a minimal open-source example based on that Some changes to the core RViz packages were required, so I submitted #649. |
Great, thanks for the heads up. |
@schornakj Did it work for you guys? I downloaded the source code and tried it but it dies when calling the this function Thank you in advance |
Closing this as #649 was merged. |
Do you have the missing SVG images now |
Hi, have you solve the problem? |
I am trying to port librviz to ROS2/RViz2
I could not find visualization_manager class (I built RViz2 along with ROS2 and I couldn't find the appropriate files for it on local). So I copied over visualization_manager.cpp/hpp into my workspace and linked it to
rviz_common::rviz_common
in CMakeLists.txtDoing so gave me the following errors -
when I tried to make an instance of the visualization_manager class
How do I go about this? The goal is to incorporate Rviz into a custom Qt App
The text was updated successfully, but these errors were encountered: