Aşağıdaki komut, my_ros_package dizininde C++ tabanlı my_ros_package adında yeni bir ROS2 paketi başlatır:
ros2_pkg_create.sh
ros2 pkg create --build-type ament_cmake my_ros_packageROS2 Jazzy ile oluşturulan dosya yapısı şu şekildedir
package_structure.txt
my_ros_package/
├── CMakeLists.txt
├── include
│ └── my_ros_package
├── package.xml
└── srcIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow