Merge branch 'dev' into prcix9320

This commit is contained in:
zhangshixiang
2026-01-15 17:40:25 +08:00
parent be054589b5
commit 269ce440d1
10 changed files with 312 additions and 172 deletions

View File

@@ -159,10 +159,14 @@ _msg_converter: Dict[Type, Any] = {
else Pose()
),
config=json.dumps(x.get("config", {})),
data=json.dumps(x.get("data", {})),
data=json.dumps(obtain_data_with_uuid(x)),
),
}
def obtain_data_with_uuid(x: dict):
data = x.get("data", {})
data["unilabos_uuid"] = x.get("uuid", None)
return data
def json_or_yaml_loads(data: str) -> Any:
try: