How do I remove a dependency of a package?
I created a new package using the catkin_create_pkg
command that depends on std_msgs rospy roscpp. If I want to remove the roscpp dependency from this package, how can it be done? Can it be done through a terminal command ideally? If not, should it be done by editing package.xml and CMakeLists.txt or something like that?
I am using ROS1 noetic on Ubuntu 20.04 kernel 5.8.0-53-generic
Asked by Praveen Nellihela on 2021-05-21 15:23:15 UTC
Answers
Can it be done through a terminal command ideally?
AFAIK, no.
Just remove them from package.xml
and CMakeLists.txt
as you described and the next time you are building it, catkin won't check for those packages.
Asked by Orhan on 2021-05-21 15:55:14 UTC
Comments
Thank you!
Asked by Praveen Nellihela on 2021-05-27 13:43:58 UTC
Comments