ros-drivers / prosilica_driver

Contains the ROS driver and the SDK for AVT/Prosilica cameras.
6 stars 21 forks source link

fix install location of plugin manifest xml #22

Open knorth55 opened 2 years ago

knorth55 commented 2 years ago

This PR fixes install location of plugin xml. Current cmake means that plugin xml will be installed to share directory, which cause plugin load error.

/opt/ros/noetic/share/prosilica_camera$ ls
cmake  launch  nodelet_plugins.xml  package.xml  prosilica.launch  streaming.launch
/opt/ros/noetic/share/prosilica_camera$ ls nodelet_plugins.xml 
nodelet_plugins.xml

Plugin manifest xml should be share/plugins. https://github.com/ros-drivers/prosilica_driver/blob/3991df761ce0400b9993166c09a2529ef684cdc1/prosilica_camera/package.xml#L47

I change to install the manifest xml to correct path in cmake.