Go2Py/go2py_messages/msg/dds_/_Go2pyState.py

38 lines
1.0 KiB
Python
Raw Normal View History

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 12:11:18 +08:00
Module: go2py_messages.msg.dds_
IDL file: Go2pyState.idl
2024-03-11 06:27:42 +08:00
"""
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 12:11:18 +08:00
import go2py_messages
2024-05-05 09:14:41 +08:00
2024-03-11 06:27:42 +08:00
@dataclass
@annotate.final
@annotate.autoid("sequential")
2024-05-05 12:11:18 +08:00
class Go2pyState_(idl.IdlStruct, typename="go2py_messages.msg.dds_.Go2pyState_"):
time_sec: types.uint64
time_nsec: types.uint64
2024-03-11 06:27:42 +08:00
q: types.array[types.float32, 12]
dq: types.array[types.float32, 12]
tau: types.array[types.float32, 12]
2024-05-05 12:11:18 +08:00
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