2024-03-11 06:27:42 +08:00
|
|
|
"""
|
|
|
|
Generated by Eclipse Cyclone DDS idlc Python Backend
|
|
|
|
Cyclone DDS IDL version: v0.11.0
|
2024-05-05 09:14:41 +08:00
|
|
|
Module: unitree_go.msg.dds_
|
2024-03-11 06:27:42 +08:00
|
|
|
IDL file: IMUState_.idl
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
from enum import auto
|
|
|
|
from typing import TYPE_CHECKING, Optional
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
|
|
import cyclonedds.idl as idl
|
|
|
|
import cyclonedds.idl.annotations as annotate
|
|
|
|
import cyclonedds.idl.types as types
|
|
|
|
|
|
|
|
# root module import for resolving types
|
2024-05-05 09:14:41 +08:00
|
|
|
import unitree_go
|
2024-03-11 06:27:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
@annotate.final
|
|
|
|
@annotate.autoid("sequential")
|
2024-05-05 09:14:41 +08:00
|
|
|
class IMUState_(idl.IdlStruct, typename="unitree_go.msg.dds_.IMUState_"):
|
2024-03-11 06:27:42 +08:00
|
|
|
quaternion: types.array[types.float32, 4]
|
|
|
|
gyroscope: types.array[types.float32, 3]
|
|
|
|
accelerometer: types.array[types.float32, 3]
|
|
|
|
rpy: types.array[types.float32, 3]
|
|
|
|
temperature: types.uint8
|
|
|
|
|
|
|
|
|