ros2 pkg create --build-type ament_cmake <package_name>
ros2 pkg create --build-type ament_cmake --node-name my_node my_package
ros2 pkg create --build-type ament_python <package_name>
ros2 pkg create --build-type ament_python --node-name my_node my_package
colcon build
--symlink-install
is used to create shared directory for python scripts and not rebuild many times
--packages-select my_package
is used to build only selected packages as example -- my package
source install/setup.sh
add_executable($NODE_NAME$ src/$PACKAGE_NAME$/main.cpp src/$PACKAGE_NAME$/$INHERITATE$.cpp ...)
ament_target_dependencies(task1_spiral rclcpp geometry_msgs)
#geometry_msgs - is a message
install(TARGETS
custome_node_1
custome_node_2
DESTINATION lib/${PROJECT_NAME})