about summary refs log tree commit diff
path: root/lri-proto/proto/hw_info.proto
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2023-09-10 02:44:01 -0500
committergennyble <gen@nyble.dev>2023-09-10 02:44:01 -0500
commita962ba9c853a797e9a41b2830ec0181b167d8cd9 (patch)
tree7de53dfcaf87c5d4b43f2e8b38161eb193c136ad /lri-proto/proto/hw_info.proto
parent70187683361d97a8b5a251567323c323c90302f2 (diff)
downloadlri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.tar.gz
lri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.zip
reorg
Diffstat (limited to 'lri-proto/proto/hw_info.proto')
-rw-r--r--lri-proto/proto/hw_info.proto64
1 files changed, 64 insertions, 0 deletions
diff --git a/lri-proto/proto/hw_info.proto b/lri-proto/proto/hw_info.proto
new file mode 100644
index 0000000..70bd90f
--- /dev/null
+++ b/lri-proto/proto/hw_info.proto
@@ -0,0 +1,64 @@
+syntax = "proto2";
+
+package ltpb;
+
+import "sensor_type.proto";
+import "camera_id.proto";
+
+message CameraModuleHwInfo {
+    required CameraID id = 1;
+    required SensorType sensor = 2;
+    
+    optional LensType lens = 3 [default = LENS_UNKNOWN];
+    enum LensType {
+        LENS_UNKNOWN = 0;
+        LENS_SHOWIN = 1;
+        LENS_LARGAN = 2;
+        LENS_SUNNY = 3;
+        LENS_KANTATSU = 4;
+    }
+    
+    optional MirrorActuatorType mirror_actuator = 4 [default = MIRROR_ACTUATOR_UNKNOWN];
+    enum MirrorActuatorType {
+        MIRROR_ACTUATOR_UNKNOWN = 0;
+        MIRROR_ACTUATOR_PZT = 1;
+    }
+    
+    optional MirrorType mirror = 5 [default = MIRROR_UNKNOWN];
+    enum MirrorType {
+        MIRROR_UNKNOWN = 0;
+        MIRROR_DIELECTRIC_SNX = 1;
+        MIRROR_SILVER_ZUISHO = 2;
+    }
+    
+    enum LensActuatorType {
+        LENS_ACTUATOR_UNKNOWN = 0;
+        LENS_ACTUATOR_SHICOH = 1;
+        LENS_ACTUATOR_PZT = 2;
+    }
+}
+
+message HwInfo {
+    repeated CameraModuleHwInfo camera = 1;
+    
+    optional FlashType flash = 2 [default = FLASH_UNKNOWN];
+    enum FlashType {
+        FLASH_UNKNOWN = 0;
+        FLASH_OSRAM_CBLPM1 = 1;
+    }
+    
+    optional ToFType tof = 3 [default = TOF_UNKNOWN];
+    enum ToFType {
+        TOF_UNKNOWN = 0;
+        TOF_STMICRO_VL53L0 = 1;
+    }
+    
+    optional ModelType model = 4;
+    enum ModelType {
+        MODEL_P1 = 0;
+        MODEL_P1_1 = 1;
+        MODEL_P2 = 2;
+    }
+    
+    optional string manufacturer = 5;
+}