optimize data_gen

This commit is contained in:
2025-09-05 19:34:43 +08:00
parent 02440ceeb5
commit ee05f1339c
4 changed files with 4 additions and 6 deletions

View File

@@ -249,7 +249,7 @@ class IsaacSimRpcRobot(Robot):
"""
type = content["type"]
arm_name = content.get('arm', "right")
print(arm_name)
#print(arm_name)
if type == "matrix":
if isinstance(content["matrix"], list):
content["matrix"] = np.array(content["matrix"])