optimal vitural function
This commit is contained in:
@@ -39,7 +39,7 @@ flowchart TB
|
||||
%% ========== INTERFACE LAYER ==========
|
||||
subgraph Interface["🔌 Interface Layer"]
|
||||
direction TB
|
||||
BaseNav["<b>📋 BaseNavigation</b><br/>━━━━━━━━━━━━━━━━<br/>🏗️ move_base_core::BaseNavigation<br/>🎯 Abstract Interface<br/>━━━━━━━━━━━━━━━━<br/>📍 moveTo, dockTo<br/>🔄 rotateTo, moveStraightTo<br/>⏸️ pause, resume, cancel<br/>📊 getRobotPose"]
|
||||
BaseNav["<b>📋 BaseNavigation</b><br/>━━━━━━━━━━━━━━━━<br/>🏗️ move_base_core::BaseNavigation<br/>🎯 Abstract Interface<br/>━━━━━━━━━━━━━━━━<br/>📍 moveTo (goal / order)<br/>🔄 executeInstantActions<br/>⏸️ pause, resume, cancel<br/>📊 getRobotPose"]
|
||||
style Interface fill:#FFF3E0,stroke:#E65100,stroke-width:4px,color:#000
|
||||
style BaseNav fill:#FFE0B2,stroke:#E65100,stroke-width:3px,font-size:14px
|
||||
end
|
||||
@@ -194,7 +194,7 @@ Cần làm rõ:
|
||||
|
||||
3. **Interface Layer** ✅
|
||||
- `move_base_core::BaseNavigation`: Abstract interface cho navigation
|
||||
- Định nghĩa các operations: moveTo, dockTo, rotateTo, moveStraightTo, pause, resume, cancel
|
||||
- Định nghĩa các operations: moveTo (goal / order), executeInstantActions, pause, resume, cancel
|
||||
- Là lớp trung gian định nghĩa các phương thức và thuộc tính liên quan đến navigation
|
||||
|
||||
4. **Move Base Core** ✅
|
||||
@@ -288,9 +288,13 @@ Cần làm rõ:
|
||||
- `move_base_core::BaseNavigation` ✅
|
||||
- `initialize(TFListenerPtr)` - Khởi tạo với TF listener
|
||||
- `moveTo(goal, xy_tol, yaw_tol)` - Di chuyển đến goal
|
||||
- `dockTo(marker, goal, ...)` - Docking đến marker
|
||||
- `rotateTo(goal, yaw_tol)` - Xoay tại chỗ
|
||||
- `moveStraightTo(goal, xy_tol)` - Đi thẳng
|
||||
- `moveTo(order, goal, ...)` - Một order VDA5050, cắt thành từng chặng
|
||||
- `executeInstantActions(actions)` - Một message `instantActions`, nở theo bảng compound
|
||||
|
||||
> **2026-08-10:** `dockTo` ×2, `rotateTo`, `moveStraightTo` đã bị **gỡ khỏi interface**. Chúng đẩy
|
||||
> goal thẳng vào lõi, bỏ qua mission layer, nên một goal đến giữa chừng thay thế chặng mà hàng đợi
|
||||
> đang chạy. Docking / xoay tại chỗ / đi thẳng giờ là khoá `profile:` của từng chặng trong order
|
||||
> (`compound_actions_params.yaml`), nên vẫn dùng được nguyên vẹn qua hai entry point còn lại.
|
||||
- `pause()`, `resume()`, `cancel()` - Điều khiển trạng thái
|
||||
- `getRobotPose(...)` - Lấy vị trí robot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user