From da518244403c571b802f5aa54fa2d4eaa2e83606 Mon Sep 17 00:00:00 2001 From: baehyoin Date: Mon, 15 Jun 2026 08:10:03 +0900 Subject: [PATCH] Init schemas from main @ 6027f569 --- manipulate/v1/common_struct.fbs | 2 +- manipulate/v1/func_box.fbs | 5 ++ manipulate/v1/func_service.fbs | 94 +++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+), 1 deletion(-) diff --git a/manipulate/v1/common_struct.fbs b/manipulate/v1/common_struct.fbs index c8bec8f6..5fc138cf 100755 --- a/manipulate/v1/common_struct.fbs +++ b/manipulate/v1/common_struct.fbs @@ -41,4 +41,4 @@ table MoveInput_Speed { spd_mode: int; spd_vel_para: float; spd_acc_para: float; -} +} \ No newline at end of file diff --git a/manipulate/v1/func_box.fbs b/manipulate/v1/func_box.fbs index 13ea45ed..887b9937 100755 --- a/manipulate/v1/func_box.fbs +++ b/manipulate/v1/func_box.fbs @@ -3,6 +3,11 @@ include "common_struct.fbs"; namespace IPC; +// "call_reboot_pc" +table Request_Call_Reboot_PC{ + password: int; +} + // "save_robot_code" table Request_Save_Robot_Code { code: int; diff --git a/manipulate/v1/func_service.fbs b/manipulate/v1/func_service.fbs index a89ff35e..e6dee5d2 100644 --- a/manipulate/v1/func_service.fbs +++ b/manipulate/v1/func_service.fbs @@ -799,3 +799,97 @@ table Request_CommunicationGrpc { port: int; // Port Number [입력란] } +//--------------------------------------------------------------- +// External Axis +//--------------------------------------------------------------- +// "call_config_extaxis" +table Request_CallConfigExtAxis{ +} +table Response_CallConfigExtAxis{ + // 각 배열에는 7개 값이 들어감 + type: [int]; + // Type [드랍다운] + // 0 : No + // 1 : Revolute + // 2 : Linear + device: [int]; + // Device [드랍다운] + // 0 : RSauto + max_a: [float]; + // Max-Acc [입력란] + max_v: [float]; + // Max-Vel [입력란] + min_p: [float]; + // Min-Pos [입력란] + max_p: [float]; + // Max-Pos [입력란] + jog_a: [float]; + // Jog-A rate [입력란] + jog_v: [float]; + // Jog-V rate [입력란] + encoder: [float]; + // Encoder Resol [입력란] + reduction: [float]; + // Reduction Rate [입력란] + + // 아래 9개 항목은 Ui에는 표시 안함 (미래 용) + offset_x: [float]; + offset_y: [float]; + offset_z: [float]; + + axis_x: [float]; + axis_y: [float]; + axis_z: [float]; + + dummyaxis_x: [float]; + dummyaxis_y: [float]; + dummyaxis_z: [float]; +} +// "call_extaxis_para_basic" +table Request_ExtAxis_Para_Basic{ + joint_no: int; + // 0 ~ 6 ..총 7개 중 하나의 인덱스 + type: int; + // Type [드랍다운] + // 0 : No + // 1 : Revolute + // 2 : Linear + device: int; + // Device [드랍다운] + // 0 : RSauto + max_a: float; + // Max-Acc [입력란] + max_v: float; + // Max-Vel [입력란] + min_p: float; + // Min-Pos [입력란] + max_p: float; + // Max-Pos [입력란] + jog_a: float; + // Jog-A rate [입력란] + jog_v: float; + // Jog-V rate [입력란] + encoder: float; + // Encoder Resol [입력란] + reduction: float; + // Reduction Rate [입력란] +} + +// "call_extaxis_calib_clr" +table Request_ExtAxis_Calib_Clear { + joint_no: int; + // External Axis No [드랍다운] + // 0 ~ 6 +} +// "call_extaxis_calib_add" +table Request_ExtAxis_Calib_Add { + joint_no: int; + // External Axis No [드랍다운] + // 0 ~ 6 +} +// "call_extaxis_calib_run" +table Request_ExtAxis_Calib_Run { + joint_no: int; + // External Axis No [드랍다운] + // 0 ~ 6 +} \ No newline at end of file