32 lines
790 B
Python
32 lines
790 B
Python
|
"""
|
||
|
Generated by Eclipse Cyclone DDS idlc Python Backend
|
||
|
Cyclone DDS IDL version: v0.11.0
|
||
|
Module: Go2Py.unitree_go.msg.dds_
|
||
|
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
|
||
|
import Go2Py.unitree_go
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
@annotate.final
|
||
|
@annotate.autoid("sequential")
|
||
|
class IMUState_(idl.IdlStruct, typename="Go2Py.unitree_go.msg.dds_.IMUState_"):
|
||
|
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
|
||
|
|
||
|
|