Files
UniversalTrain-ai/deploy/dds/idl/idl_imu.idl
T
chenlin c32df70326
Checks / Layout, translation and Colab checks (push) Has been cancelled
Checks / Ruff (push) Has been cancelled
Checks / Framework tests (native backend, CPU) (push) Has been cancelled
Checks / Portable Rust controller (push) Has been cancelled
release: v0.1 generic robot training and application platform
2026-11-05 11:05:01 +08:00

41 lines
854 B
Plaintext

# include "idl_common.idl"
module Imu
{
@extensibility(FINAL)
struct ImuOutput
{
uint64 timestamp_ns;
Common::Accelerometer3D acc;
Common::Velocity3D vel;
Common::Position3D pos;
Common::Velocity3D gyro;
Common::Quaternion q;
};
// 原极(yuanji) AHRS 单帧原始数据
@extensibility(FINAL)@nested
struct YuanjiAhrs
{
uint32 timer; //us,原极 AHRS 内部时间
float pitch;
float roll;
float yaw;
float ax;
float ay;
float az;
float gx;
float gy;
float gz;
float temp;
};
@extensibility(FINAL)
struct YuanjiOutput
{
// SOC 侧收到该样本的时刻 (CLOCK_REALTIME, Unix 纪元纳秒)。
uint64 timestamp_ns;
YuanjiAhrs ahrs;
};
};