Wie man ein neues ROS C++-Paket erstellt
Der folgende Befehl initialisiert ein neues ROS2-Paket namens my_ros_package im Verzeichnis my_ros_package basierend auf C++:
ros2_pkg_create.sh
ros2 pkg create --build-type ament_cmake my_ros_packageMit ROS2 Jazzy wird die generierte Dateistruktur wie folgt aussehen
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