hiep update

This commit is contained in:
2026-11-23 16:07:27 +07:00
parent d10bfd0ee3
commit cdcdb4f31c
6 changed files with 35 additions and 9 deletions

View File

@@ -17,15 +17,20 @@ Hướng dẫn chi tiết để build project `pnkx_nav_core` sử dụng CMake
## Yêu cầu hệ thống
### Hệ điều hành
- Linux (Ubuntu 18.04+ hoặc tương đương)
### Compiler
- **GCC**: phiên bản 7.0 trở lên (hỗ trợ C++17)
- **Clang**: phiên bản 5.0 trở lên
### CMake
- **CMake**: phiên bản 3.10 trở lên
Kiểm tra phiên bản:
```bash
cmake --version
g++ --version
@@ -177,6 +182,7 @@ make install
```
Cấu trúc sau khi install:
```
/usr/local/
├── include/
@@ -226,6 +232,7 @@ target_link_libraries(my_app
Xem hướng dẫn chi tiết trong `examples/README.md` và `examples/QUICK_START.md`.
Tóm tắt:
```bash
# Copy shared library
cp build/src/APIs/c_api/libnavigation_c_api.so /path/to/your/project/
@@ -269,6 +276,7 @@ sudo apt-get install libyaml-cpp-dev
### Lỗi: "undefined reference"
Đảm bảo tất cả dependencies đã được build theo đúng thứ tự:
1. Core libraries (tf3, robot_time, xmlrpcpp, robot_cpp)
2. Geometry và messages (geometry2, common_msgs)
3. Navigation cores (nav_core, nav_core2)
@@ -276,6 +284,7 @@ sudo apt-get install libyaml-cpp-dev
5. Main packages (move_base)
Build lại từ đầu:
```bash
cd build
rm -rf *