Merge pull request #18 from silencht/master

[fix] fix dex3-1 default value.
This commit is contained in:
silencht 2024-12-24 11:02:51 +08:00 committed by GitHub
commit c73befde41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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])
"""