[fix] fix dex3-1 default value.

This commit is contained in:
silencht 2024-11-13 14:23:33 +08:00
parent c52f48b0b5
commit fae61cfa74
1 changed files with 6 additions and 3 deletions

View File

@ -226,13 +226,16 @@ def unitree_hg_msg_dds__LowState_():
def unitree_hg_msg_dds__PressSensorState_():
return HGPressSensorState_([0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 0, 0)
def unitree_hg_msg_dds__HandCmd_():
return HGHandCmd_([])
return HGHandCmd_([unitree_hg_msg_dds__MotorCmd_() for i in range(7)], [0, 0, 0, 0])
def unitree_hg_msg_dds__HandState_():
return HGHandState([], unitree_hg_msg_dds__IMUState_(), [], 0.0, 0.0, [0, 0])
return HGHandState_([unitree_hg_msg_dds__MotorState_() for i in range(7)],
[unitree_hg_msg_dds__PressSensorState_() for i in range(7)],
unitree_hg_msg_dds__IMUState_(),
0.0, 0.0, 0.0, 0.0, [0, 0], [0, 0])
"""