fix host_node test_resource error

This commit is contained in:
Xuwznln
2025-10-11 02:57:14 +08:00
parent 174b1914d4
commit 4b43734b55

View File

@@ -159,24 +159,20 @@ class Registry:
"feedback": {},
"goal": {
"properties": {
"resource": {
"properties": ros_message_to_json_schema(Resource, "resource"),
"type": "object"
},
"resource": ros_message_to_json_schema(Resource, "resource"),
"resources": {
"items": {
"properties": ros_message_to_json_schema(Resource, "resources"),
"title": "mount_resource",
"type": "object"
},
"type": "array"
},
"device": {
"type": "object"
"type": "string"
},
"devices": {
"items": {
"type": "object"
"type": "string"
},
"type": "array"
},
@@ -189,6 +185,12 @@ class Registry:
"title": "transfer_resource_to_another参数",
"type": "object",
},
"placeholder_keys": {
"device": "unilabos_devices",
"devices": "unilabos_devices",
"resource": "unilabos_resources",
"resources": "unilabos_resources",
},
"goal_default": {},
"handles": {},
},