We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fcbc0ec + fae61cf commit c73befdCopy full SHA for c73befd
1 file changed
unitree_sdk2py/idl/default.py
@@ -226,13 +226,16 @@ def unitree_hg_msg_dds__LowState_():
226
227
def unitree_hg_msg_dds__PressSensorState_():
228
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],
229
- [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)
230
231
def unitree_hg_msg_dds__HandCmd_():
232
- return HGHandCmd_([])
+ return HGHandCmd_([unitree_hg_msg_dds__MotorCmd_() for i in range(7)], [0, 0, 0, 0])
233
234
def unitree_hg_msg_dds__HandState_():
235
- 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)],
236
+ [unitree_hg_msg_dds__PressSensorState_() for i in range(7)],
237
+ unitree_hg_msg_dds__IMUState_(),
238
+ 0.0, 0.0, 0.0, 0.0, [0, 0], [0, 0])
239
240
241
"""
0 commit comments