1.What exactly is the role and difference between find_package() and catkin_package() in Cmakelist.txt, since the content in both
find_package() and the
CATKIN_DEPENDS under the
catkin_package() are about the same.
find_package(catkin REQUIRED COMPONENTS rospy std_msgs ) `catkin_package( # INCLUDE_DIRS include # LIBRARIES drone_action_pkg CATKIN_DEPENDS rospy std_msgs # DEPENDS system_lib )`
I understand that <build_depend></build_depend> written for all packages under find_packages(), similarly, is there any connection to <build_export_depend> and <exec_depend> to any of the modules in CmakeList.txt like
What is the role of each of the following in package.xml, if we want to include a new package nav_msgs (to access its Class or Class’s functions from the current program)
<build_depend>nav_msgs<build_depend> <build_export_depend>nav_msgs<build_export_depend> <exec_depend>nav_msgs<exec_depend>