Merge branch 'dev' into prcix9320

This commit is contained in:
zhangshixiang
2026-01-13 18:21:14 +08:00
parent 18d0ba7a46
commit ae75f07c8e
7 changed files with 171 additions and 76 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: