匹配init param schema格式

This commit is contained in:
Xuwznln
2025-06-30 12:29:30 +08:00
parent f2753fc69a
commit e7521972e4
22 changed files with 2261 additions and 2609 deletions

View File

@@ -10,17 +10,14 @@ serial:
handles: []
result: {}
schema:
description: UniLabJsonCommand handle_serial_request 的参数schema
description: handle_serial_request的参数schema
properties:
feedback: {}
goal:
description: UniLabJsonCommand handle_serial_request 的参数schema
properties:
request:
description: '参数: request'
type: string
response:
description: '参数: response'
type: string
required:
- request
@@ -29,7 +26,7 @@ serial:
result: {}
required:
- goal
title: handle_serial_request 命令参数
title: handle_serial_request参数
type: object
type: UniLabJsonCommand
auto-read_data:
@@ -39,18 +36,17 @@ serial:
handles: []
result: {}
schema:
description: UniLabJsonCommand read_data 的参数schema
description: read_data的参数schema
properties:
feedback: {}
goal:
description: UniLabJsonCommand read_data 的参数schema
properties: {}
required: []
type: object
result: {}
required:
- goal
title: read_data 命令参数
title: read_data参数
type: object
type: UniLabJsonCommand
auto-send_command:
@@ -61,14 +57,12 @@ serial:
handles: []
result: {}
schema:
description: UniLabJsonCommand send_command 的参数schema
description: send_command的参数schema
properties:
feedback: {}
goal:
description: UniLabJsonCommand send_command 的参数schema
properties:
command:
description: '参数: command'
type: string
required:
- command
@@ -76,7 +70,7 @@ serial:
result: {}
required:
- goal
title: send_command 命令参数
title: send_command参数
type: object
type: UniLabJsonCommand
module: unilabos.ros.nodes.presets.serial_node:ROS2SerialNode
@@ -87,31 +81,22 @@ serial:
handles: []
icon: ''
init_param_schema:
description: UniLabJsonCommand __init__ 的参数schema
properties:
feedback: {}
goal:
description: UniLabJsonCommand __init__ 的参数schema
properties:
baudrate:
default: 9600
description: '参数: baudrate'
type: integer
device_id:
description: '参数: device_id'
type: string
port:
description: '参数: port'
type: string
resource_tracker:
description: '参数: resource_tracker'
type: string
required:
- device_id
- port
type: object
result: {}
required:
- goal
title: __init__ 命令参数
type: object
config:
properties:
baudrate:
default: 9600
type: integer
device_id:
type: string
port:
type: string
resource_tracker:
type: string
required:
- device_id
- port
type: object
data:
properties: {}
required: []
type: object