Clarification on source code of rviz plugin installed using package manager
I installed the jskvisualization/jskrviz_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 jskrvizplugins 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
Asked by hunterlineage1 on 2023-01-12 16:58:00 UTC
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 refrain from adding these sorts of lines. It will not make people help you any faster.
Asked by gvdhoorn on 2023-01-13 05:18:47 UTC
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.Asked by hunterlineage1 on 2023-01-14 23:32:47 UTC