new branch

This commit is contained in:
2026-11-18 08:33:41 +07:00
parent b487770721
commit c5349843ad
354 changed files with 12298 additions and 11706 deletions

16
CATKIN_BUILD_README.md Normal file → Executable file
View File

@@ -56,6 +56,22 @@ Project này hỗ trợ **2 build systems**:
- Cần tạo workspace riêng (xem hướng dẫn trên)
- Packages tự động detect catkin mode khi build trong workspace
## Test
Các package có cờ test chung mặc định tắt test, kể cả khi catkin bật
`CATKIN_ENABLE_TESTING`. Trong workspace, bật các package hỗ trợ bằng:
```bash
catkin_make -DPNKX_NAV_CORE_BUILD_TESTS=ON
# Hoặc chỉ bật một package:
catkin_make -DBUILD_COSTMAP_TESTS=ON
```
CMake cache giữ giá trị các cờ; dùng build directory mới hoặc đặt lại cờ khi đổi
lựa chọn. `robot_cpp` và C API giữ cờ riêng `BUILD_TESTS` và `BUILD_C_API_TESTS`
(C API cũng nhận `BUILD_TESTS`), không theo cờ chung. Các test catkin còn yêu cầu
`CATKIN_ENABLE_TESTING=ON`; một số test cần GTest.
## Chi tiết
Xem `src/Navigations/Packages/move_base/BUILD_INSTRUCTIONS.md` để biết chi tiết về cách build package `move_base` với cả hai hệ thống.