Ask Your Question
1

Add 3D visualizer in Ros-Qt project

asked 2021-09-13 07:09:06 -0600

SurajJadhav gravatar image

updated 2021-09-16 08:28:50 -0600

I m using ROS noetic in Ubuntu 20.04 with Qt5. I m trying to develop a module to visualize point cloud data on a 3D visualizer. I noticed RViz utilises a 3D visualizer as highlighted in below image: #D Visualizer Window

I m interested to integrate only that window in my Qt project. How can I include it?

I have worked earlier on similar project and used VTK library's 3D visualizer window plugin(QVTK Plugin) in Qt. Now I want to replace the VTK library dependency.

edit retag flag offensive close merge delete

Comments

Have you checked this video: https://www.youtube.com/watch?v=e0r4u...

osilva gravatar image osilva  ( 2021-09-13 07:54:52 -0600 )edit

I m aware about the RViz's functionality and visualizing camera and point cloud data in it, I m trying to develop a Qt application which has a point cloud data visualizer, I can use RViz as well but it has lot of other functions which are not required.

SurajJadhav gravatar image SurajJadhav  ( 2021-09-13 08:38:00 -0600 )edit

in that case, RVIZ is also a library and it's open source: https://github.com/ros-visualization/...

Here is an example how to access some of the RVIZ functionality in C++: https://docs.ros.org/en/kinetic/api/l...

and in Python: https://docs.ros.org/en/indigo/api/rv...

osilva gravatar image osilva  ( 2021-09-13 08:55:05 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-09-15 07:35:13 -0600

RVIZ is also a library and it's open source: https://github.com/ros-visualization/...

Here is an example how to access some of the RVIZ functionality in C++: https://docs.ros.org/en/kinetic/api/l...

and in Python: https://docs.ros.org/en/indigo/api/rv...

More info:

http://wiki.ros.org/visualization_tut...

edit flag offensive delete link more

Comments

I think that also can be helpful. install visualization tutorials:

Follow of tutorial installation: sudo apt-get install ros-noetic-visualization-tutorials

Thanks,

Ranjit Kathiriya gravatar image Ranjit Kathiriya  ( 2021-09-15 11:02:44 -0600 )edit

100% agree.

osilva gravatar image osilva  ( 2021-09-15 11:07:23 -0600 )edit

Thanks @osilva and @Ranjit Kathiriya, I m going through the RViz project and it is huge, for now I m going to survey, what is this window they are using, how to extract only the visualization part from the code and its dependencies.

SurajJadhav gravatar image SurajJadhav  ( 2021-09-16 08:34:43 -0600 )edit

Please vote to close the question, and you may ask future questions specific to using RVIZ. Cheers :)

osilva gravatar image osilva  ( 2021-09-16 08:37:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-09-13 07:09:06 -0600

Seen: 60 times

Last updated: Sep 16 '21