Repository navigation
schema: 형상 도킹(Shape Dock) — control 토픽·status 필드·map/move 주석 - #320
Merged
Merged
Conversation
- control: shapeDock / shapeDockStop / shapeUndock (RPC), resultShapeDock (Result) - status: StatusRobotState 끝에 shape_dock_state / node / reason / gap_mm / goal_gap_mm - map: Node context — SHAPE_MARKER (shape / x_off / y_off / dir) - move: SHAPE_MARKER goal 은 도착 후 형상 도킹 자동 시작, ResultMove message 형식 출처: app_slamnav2 feat/shape-dock (549cd3381)
구조(필드·타입) 변경 없음, 주석만. flatc 22개 파일 검증 통과.
SimonLee9
marked this pull request as ready for review
November 18, 2026 08:44
SimonLee9
marked this pull request as draft
November 18, 2026 09:11
Collaborator
Author
|
웹 개발팀 의견 반영 중: 형상 도킹 전용 토픽(shapeDock/shapeDockStop/shapeUndock/resultShapeDock)을 없애고 기존 control/dock·undock·dockStop·resultDock 에 필드(method, node_id, 결과 오차)를 추가하는 방식으로 수정합니다. 수정 완료 후 다시 Ready 로 전환하겠습니다. |
…bject_type 으로 통합
웹 개발팀 의견: 도킹 종류마다 토픽(엔드포인트)을 추가하지 않도록 기존 control/dock·undock·dockStop·resultDock 에 필드만 추가.
- 삭제: control/shapeDock, shapeDockStop, shapeUndock, resultShapeDock.
- RequestDock: method ("" | charge | object), object_type ("shape"), node_id.
- RequestUndock / RequestDockStop: method, object_type ("" = 자동 판단 / 방식 무관).
- ResultControlDock: method, object_type, reason, err_x, err_y, err_yaw_deg (대상 도킹 결과).
하위 호환: 필드를 테이블 끝에 추가 — 구버전 클라이언트(method 없음)는 지금처럼 충전 도킹.
Collaborator
Author
|
웹 개발팀 의견 반영 (1928174): 형상 도킹 전용 토픽을 없애고 기존 도킹 API 에 필드만 추가했습니다. 삭제: 추가 필드
flatc 22개 파일 검증 통과. 앱 쪽(slamnav2) 구현은 반영했으나 이 API 경로의 실기 검증 전이라 Draft 유지합니다. |
SimonLee9
marked this pull request as ready for review
November 19, 2026 04:46
Collaborator
Author
|
리뷰 요청드립니다. 스키마 구조는 이 상태로 확정합니다 (1928174: 형상 도킹을
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
형상 도킹(Shape Dock) 스키마
라이다로 대상(판재 등)의 단면 형상을 검출해 접촉 없이 정해진 간격(예: 50 mm)에 ±5 mm·±1° 로 정지하는 기능의 인터페이스입니다. SLAMNAV2 d135 실기 검증 중이며, 아직 SLAMNAV2
test미병합이라 보류(draft) 로 올립니다.amr/v1/slamnav_control.fbscontrol/shapeDock·control/shapeDockStop·control/shapeUndock(RPC),control/resultShapeDock(Result)amr/v1/slamnav_status.fbsStatusRobotState끝에shape_dock_state·shape_dock_node·shape_dock_reason·shape_dock_gap_mm·shape_dock_goal_gap_mm추가 (기존 필드 뒤 — 하위 호환)amr/v1/slamnav_map.fbsSHAPE_MARKER(shape/x_off/y_off/dir)amr/v1/slamnav_move.fbsResultMove.message형식웹(머스캣) 관련
move/goal하나 — SHAPE_MARKER 노드로 보내면 도착 후 자동 도킹,ResultMove는 도킹이 끝난 뒤 1회.SHAPE_MARKER, contextshape=<형상>;x_off=<m>;y_off=<m>(map.fbs 주석).shape_dock_goal_gap_mm대비shape_dock_gap_mm.확인 요청
yaw_off) 필요 여부 — 현재 x·y 만move/goal거부 시 move 응답 없음 — 응답(fail + 사유) 필요 여부flatc 25.9.23 로 4개 파일 검증.
🤖 Generated with Claude Code
https://claude.ai/code/session_011oXQSSxRitBbhj4qtXYp2P