vzense.proto 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. syntax = "proto2";
  2. import "enum_type.proto";
  3. // 相机点云坐标转换
  4. message CoordinateTransformation3D {
  5. optional float x = 1 [default = 0];
  6. optional float y = 2 [default = 0];
  7. optional float z = 3 [default = 0];
  8. optional float roll = 4 [default = 0];
  9. optional float pitch = 5 [default = 0];
  10. optional float yaw = 6 [default = 0];
  11. }
  12. // 相机内参
  13. message Tof3dVzenseBuiltInParams {
  14. optional uint32 work_mode = 1 [default = 0x00];
  15. optional uint32 irgmmgain = 2 [default = 255];
  16. optional uint32 frame_rate = 3 [default = 10];
  17. optional bool enable_manual_exposure_time = 4 [default = true];
  18. optional uint32 exposure_time = 5 [default = 2000];
  19. optional bool enable_filter_fill_hole = 7 [default = true];
  20. optional bool enable_filter_spatial = 8 [default = true];
  21. optional bool enable_time_filter = 9 [default = true];
  22. optional uint32 time_filter_value = 10 [default = 3];
  23. optional bool enable_flying_pixel_filter = 11 [default = true];
  24. optional uint32 flying_pixel_filter_value = 12 [default = 15];
  25. optional bool enable_confidence_filter = 13 [default = true];
  26. optional uint32 confidence_filter_value = 14 [default = 6];
  27. optional bool enable_hdr_mode = 15 [default = true];
  28. }
  29. // 相机参数
  30. message tof3dVzenseEtc {
  31. optional bool enable_device = 1 [default = true]; // 设备启动才进行以下处理
  32. required string ip = 2 [default = "192.168.1.101"];
  33. optional Tof3dVzenseBuiltInParams bip = 3;
  34. required DeviceAzimuth azimuth = 4;
  35. optional CoordinateTransformation3D trans= 5;
  36. }