velodyne_config.proto 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. syntax = "proto2";
  2. package velodyne;
  3. message velodyneManagerParams
  4. {
  5. repeated velodyneLidarParams velodyne_lidars=1;
  6. repeated Region region=2;
  7. optional string fence_data_path=3 [default=""];
  8. optional string fence_log_path=4 [default=""];
  9. optional string left_model_path=5 [default=""];
  10. optional string right_model_path=6 [default=""];
  11. required bool distribution_mode=7 [default=false];//是否分布式模式,分布式模式下,各程序仅启动与自身区域相关模块
  12. }
  13. message velodyneLidarParams
  14. {
  15. required string ip=1[default=""];
  16. required int32 port=2[default=2368];
  17. required string model=3[default="VLP16"];
  18. required string calibrationFile=4[default=""];
  19. required int32 lidar_id=5[default=0];
  20. optional float max_range=6[default=10.0];
  21. optional float min_range=7[default=0.15];
  22. optional int32 min_angle=8[default=0];
  23. optional int32 max_angle=9[default=360];
  24. optional int32 rpm=10[default=600];
  25. optional CalibParameter calib=11;
  26. }
  27. message CalibParameter
  28. {
  29. optional float r=1 [default=0];
  30. optional float p=2 [default=0];
  31. optional float y=3 [default=0];
  32. optional float cx=4 [default=0];
  33. optional float cy=5 [default=0];
  34. optional float cz=6 [default=0];
  35. }
  36. message lidarExtrinsic
  37. {
  38. required int32 lidar_id=1;
  39. optional CalibParameter calib=2;
  40. }
  41. message Region
  42. {
  43. required float minx=1;
  44. required float maxx=2;
  45. required float miny=3;
  46. required float maxy=4;
  47. required float minz=5;
  48. required float maxz=6;
  49. required int32 region_id=7;
  50. repeated lidarExtrinsic lidar_exts=8;
  51. required float turnplate_cx=9;
  52. required float turnplate_cy=10;
  53. required float border_minx=11; // 最小边界x,左超界提示
  54. required float border_maxx=12; // 最大边界x,右超界提示
  55. required float plc_offsetx=13; // plc偏移x
  56. required float plc_offsety=14; // plc偏移y
  57. required float plc_border_miny=15;// plc后夹持y方向极限值
  58. }