Clarification on source code of rviz plugin installed using package manager

asked 2023-01-12 15:58:00 -0500

hunterlineage1 gravatar image

updated 2023-01-12 15:58:31 -0500

I installed the jsk_visualization/jsk_rviz_plugins and it works fine on my RViz. However, I would like to edit one of the visualization markers from this plugin for my own use in rviz. I looked at opt/ros/noetic/include/jsk_rviz_plugins directory but I am only able to find the .h header files. I am trying to find the .cpp source files for jsk_rviz_plugins but I am unable to find them anywhere on my computer. I looked at this related question which says "...didn't make much sense to look for the sources inside an installation made through the package manager" but I do not understand where I can view the .cpp source files. Please help urgently

edit retag flag offensive close merge delete

Comments

For the general question "where to find the source code for installed packages?", please see whether #q301632, #q295677, #q381559 and/or #q246775 explain things.

As to your specific question: I'm rather confused. You already link to the source repository (ie jsk-ros-pkg/jsk_visualization/jsk_rviz_plugins). Those would be the sources you are looking for. What more are you after?

PS:

Please help urgently

please refrain from adding these sorts of lines. It will not make people help you any faster.

gvdhoorn gravatar image gvdhoorn  ( 2023-01-13 04:18:47 -0500 )edit

Looks like I will have to install the rviz plugin package from source. Then I can edit the source code for the rviz plugin itself and then run catkin_make to build the package. Thank you.

hunterlineage1 gravatar image hunterlineage1  ( 2023-01-14 22:32:47 -0500 )edit