40 lines
1.0 KiB
Python
40 lines
1.0 KiB
Python
"""
|
|
Generated by Eclipse Cyclone DDS idlc Python Backend
|
|
Cyclone DDS IDL version: v0.11.0
|
|
Module: go2py_messages.msg.dds_
|
|
IDL file: Go2pyState.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_messages
|
|
|
|
|
|
@dataclass
|
|
@annotate.final
|
|
@annotate.autoid("sequential")
|
|
class Go2pyState_(idl.IdlStruct, typename="go2py_messages.msg.dds_.Go2pyState_"):
|
|
time_sec: types.uint64
|
|
time_nsec: types.uint64
|
|
q: types.array[types.float32, 12]
|
|
dq: types.array[types.float32, 12]
|
|
tau: types.array[types.float32, 12]
|
|
contact: types.array[types.float32, 4]
|
|
accel: types.array[types.float32, 3]
|
|
gyro: types.array[types.float32, 3]
|
|
quat: types.array[types.float32, 4]
|
|
imu_temp: types.float32
|
|
motor_temp: types.array[types.float32, 12]
|
|
wireless_remote: types.array[types.uint8, 40]
|
|
soc: types.uint8
|
|
|
|
|