Pi0.5 Inference in agilex cobot magic
I’m currently running pi0.5 model inference on the AgileX Cobot Magic, but the gripper cannot open at all during execution.
Has anyone encountered a similar issue before? If so, how did you diagnose and fix it(e.g., control mode, joint mapping, dead zone, scaling, or command limits)?
Any insights or experience would be greatly appreciated. Thank you very much! This is my normalization statistics data. { "norm_stats": { "state": { "mean": [ -0.016837425529956818, -0.984099805355072, 0.6419243812561035, -0.060222990810871124, 0.47141414880752563, 0.035442326217889786, -1.0103033781051636, 0.10293010622262955, -1.4368295669555664, 1.07411527633667, 0.20592327415943146, 0.7794700860977173, -0.11615249514579773, -0.9962435960769653 ], "std": [ 0.09361331164836884, 0.8172963261604309, 0.6008622646331787, 0.140935018658638, 0.26339977979660034, 0.1863694190979004, 0.05956631153821945, 0.20482856035232544, 0.7891061305999756, 0.6990342736244202, 0.17566949129104614, 0.33008915185928345, 0.14463146030902863, 0.06787197291851044 ], "q01": [ -0.2297187683045864, -2.382917244102806, -0.027608604715019466, -0.3776217747449875, -0.00006153773069383917, -0.5989374668002129, -1.0810861741662026, -0.22433876761794092, -2.5740902431167663, -0.003895894256234169, -0.128968220859766, -0.0562959814429283, -0.6088271532058716, -1.079865574836731 ], "q99": [ 0.20519273008406164, 0.015777985759079183, 2.0575333958070727, 0.3988295024275781, 1.2332325655221938, 0.3888581071496009, -0.9251275747299195, 0.6810599076926709, 0.007266067571192636, 2.488750791114569, 0.8190000871777534, 1.2502701102972031, 0.15254156225919724, -0.9033897454977036 ] }, "actions": { "mean": [ -0.0001290556538151577, -0.002113600727170706, 0.00133439467754215, -0.0004901591455563903, 0.00021820612892042845, 0.000033731274015735835, -1.1220848560333252, 0.0031017509754747152, 0.07035963237285614, -0.05937972292304039, -0.006774051580578089, -0.0017093576025217772, -0.004304160829633474, -1.1152691841125488 ], "std": [ 0.09196867793798447, 0.7116425633430481, 0.5749999284744263, 0.10457295924425125, 0.24225737154483795, 0.15178009867668152, 0.040381480008363724, 0.21666571497917175, 0.7242217659950256, 0.6990427374839783, 0.202534481883049, 0.29802435636520386, 0.15109305083751678, 0.04802563041448593 ], "q01": [ -0.36959535326957704, -2.349044743728638, -1.3797101259231568, -0.3114158576488495, -0.6829931411743164, -0.4547340147972107, -1.1692023783922196, -0.6210247472047806, -2.3961865246772764, -1.7969471974372864, -0.6043977284431458, -0.784457640171051, -0.4974427281618118, -1.1689000129699707 ], "q99": [ 0.2057947589635848, 1.642194961547851, 1.9132219732284548, 0.3296788576841354, 0.7602764759063718, 0.49290509233474733, -1.0618583056926727, 0.6190147210597992, 2.051726033020019, 2.0853583426475524, 0.6437856829166413, 0.9079579978227614, 0.39855282280445103, -1.0447053721189499 ] } } }
looking at your normalization stats the gripper dims (indices 6 and 13) have mean around -1.12 with std ~0.04 and q01/q99 both clustered tightly near -1.07 to -1.17. that tells you the gripper was almost always closed in your training data. the model learned "gripper closed" as the default and never saw enough open states to learn when to open it.
two things to check: first, look at your dataset and count how many frames have the gripper actually open vs closed. if it's less than 20% open you need more data with explicit grasp-and-release demonstrations. second, check that your gripper action dimension is scaled correctly -- if the physical gripper expects a different range than [-1, 1] the open command might be getting clipped to nearly-closed.
if you want to inspect per-dimension action outputs during inference, reflex inspect targets in reflex-vla (github.com/FastCrest/reflex-vla) shows you exactly what the model is outputting per joint before it hits the robot.