Merge pull request #14 from silencht/master

[update] update dex3-1 idl.
This commit is contained in:
WuYangNing 2024-10-29 11:39:34 +08:00 committed by GitHub
commit ee32f9054c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -23,5 +23,6 @@ import cyclonedds.idl.types as types
@annotate.autoid("sequential")
class HandCmd_(idl.IdlStruct, typename="unitree_hg.msg.dds_.HandCmd_"):
motor_cmd: types.sequence['unitree_sdk2py.idl.unitree_hg.msg.dds_.MotorCmd_']
reserve: types.array[types.uint32, 4]

View File

@ -23,10 +23,13 @@ import cyclonedds.idl.types as types
@annotate.autoid("sequential")
class HandState_(idl.IdlStruct, typename="unitree_hg.msg.dds_.HandState_"):
motor_state: types.sequence['unitree_sdk2py.idl.unitree_hg.msg.dds_.MotorState_']
imu_state: 'unitree_sdk2py.idl.unitree_hg.msg.dds_.IMUState_'
press_sensor_state: types.sequence['unitree_sdk2py.idl.unitree_hg.msg.dds_.PressSensorState_']
imu_state: 'unitree_sdk2py.idl.unitree_hg.msg.dds_.IMUState_'
power_v: types.float32
power_a: types.float32
system_v: types.float32
device_v: types.float32
error: types.array[types.uint32, 2]
reserve: types.array[types.uint32, 2]

View File

@ -24,5 +24,7 @@ import cyclonedds.idl.types as types
class PressSensorState_(idl.IdlStruct, typename="unitree_hg.msg.dds_.PressSensorState_"):
pressure: types.array[types.float32, 12]
temperature: types.array[types.float32, 12]
lost: types.uint32
reserve: types.uint32