about summary refs log tree commit diff
path: root/lri-proto/proto/imu_data.proto
diff options
context:
space:
mode:
Diffstat (limited to 'lri-proto/proto/imu_data.proto')
-rw-r--r--lri-proto/proto/imu_data.proto17
1 files changed, 17 insertions, 0 deletions
diff --git a/lri-proto/proto/imu_data.proto b/lri-proto/proto/imu_data.proto
new file mode 100644
index 0000000..7106fa3
--- /dev/null
+++ b/lri-proto/proto/imu_data.proto
@@ -0,0 +1,17 @@
+syntax = "proto2";
+
+package ltpb;
+
+import "point3f.proto";
+
+message IMUData {
+    required uint32 frame_index = 1;
+    
+    repeated Sample accelerometer = 2;
+    message Sample {
+        required uint32 row_idx = 1;
+        required Point3F data = 2;
+    }
+    
+    repeated Sample gyroscope = 3;
+}