start with the name of the robot or application, followed by the _bringup
suffix.
ros2 pkg create my_robot_bringup --build-type ament_cmake
.
├── CMakeLists.txt
├── launch
└── package.xml
install(DIRECTORY
launch
DESTINATION share/${PROJECT_NAME}/
)
node.launch.xml
include the package as dependency from where node needs to be called
<exec_depend>my_pkg</exec_depend>
<launch>
<node pkg="my_pkg" exec="string_publisher"/>
<node pkg="my_pkg" exec="string_subscriber"/>
</launch>