ワンクリックで
ros2-build-master
Quản lý quy trình biên dịch gói tin ROS 2 sử dụng Colcon với các cấu hình tối ưu.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Quản lý quy trình biên dịch gói tin ROS 2 sử dụng Colcon với các cấu hình tối ưu.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Expert in simulating autonomous robots with ROS 2 and Gazebo Sim (Ignition). Handles asset preparation, sensor integration, bridging, and launch configuration.
Specialist in fixing Colcon build failures, CMake linking errors, and dependency issues.
ROS 2 System Architect for designing scalable Node graphs, Topic namespaces, and QoS profiles.
ROS 2 Test-Driven Development workflow using gtest (C++) and pytest (Python). Enforces 80%+ coverage for critical nodes.
Provides comprehensive code review covering 6 focused aspects - architecture & design, code quality, security & dependencies, performance & scalability, testing coverage, and documentation & API design. Use this skill for deep analysis with actionable feedback after significant code changes.
Robotics Operating System (ROS 1 & 2) expert. Specializes in node lifecycle, transformations (TF2), URDF modeling, navigation, and build systems (catkin/colcon).
| name | ros2_build_master |
| description | Quản lý quy trình biên dịch gói tin ROS 2 sử dụng Colcon với các cấu hình tối ưu. |
Kỹ năng này cung cấp giao diện an toàn để Agent thực thi colcon build, đảm bảo các cờ (flags) quan trọng luôn được áp dụng để duy trì tính nhất quán của môi trường phát triển.
Sử dụng --symlink-install để tạo liên kết tượng trưng từ thư mục cài đặt (install/) trỏ về mã nguồn (src/). Điều này cho phép thay đổi trong Python scripts, launch files, và file cấu hình (.yaml) có hiệu lực ngay lập tức mà không cần biên dịch lại.
colcon build --symlink-installChỉ biên dịch gói tin chỉ định và các phụ thuộc của nó, giúp giảm thời gian chờ đợi trong các workspace lớn.
colcon build --packages-select <package_name> --symlink-installBiên dịch với thông tin gỡ lỗi (debug symbols) để sử dụng với GDB.
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Debug --symlink-installXóa các thư mục artifacts để khắc phục lỗi cache CMake hỏng.
rm -rf build/ install/ log/Nếu colcon trả về mã lỗi (non-zero exit code), Agent cần đọc tệp log tại log/latest_build/events.log hoặc phân tích stderr để xác định nguyên nhân:
package.xml.CMakeLists.txt.ament_target_dependencies.