1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- syntax = "proto2";
- package velodyne;
- message velodyneManagerParams
- {
- repeated velodyneLidarParams velodyne_lidars=1;
- repeated Region region=2;
- optional string fence_data_path=3 [default=""];
- optional string fence_log_path=4 [default=""];
- optional string left_model_path=5 [default=""];
- optional string right_model_path=6 [default=""];
- required bool distribution_mode=7 [default=false];//是否分布式模式,分布式模式下,各程序仅启动与自身区域相关模块
- }
- message velodyneLidarParams
- {
- required string ip=1[default=""];
- required int32 port=2[default=2368];
- required string model=3[default="VLP16"];
- required string calibrationFile=4[default=""];
- required int32 lidar_id=5[default=0];
- optional float max_range=6[default=10.0];
- optional float min_range=7[default=0.15];
- optional int32 min_angle=8[default=0];
- optional int32 max_angle=9[default=360];
- optional int32 rpm=10[default=600];
- optional CalibParameter calib=11;
- optional int32 difop=12[default=7788];
- }
- message CalibParameter
- {
- optional float r=1 [default=0];
- optional float p=2 [default=0];
- optional float y=3 [default=0];
- optional float cx=4 [default=0];
- optional float cy=5 [default=0];
- optional float cz=6 [default=0];
- }
- message lidarExtrinsic
- {
- required int32 lidar_id=1;
- optional CalibParameter calib=2;
- }
- message OutOfRegion {
- required float border_minx=1; // 最小边界x,左超界提示
- required float border_maxx=2; // 最大边界x,右超界提示
- required float plc_border_miny=3;// plc后夹持y方向极限值
- required float plc_border_maxy=4;// plc后夹持y方向极限值
- required float car_min_width=5; // 最小车宽
- required float car_max_width=6; // 最大车宽
- required float car_min_wheelbase=7; // 最小轴距
- required float car_max_wheelbase=8; // 最大轴距
- required float turnplate_angle_limit_anti_clockwise=9; // 转盘逆时针角度极限
- required float turnplate_angle_limit_clockwise=10; // 转盘顺时针角度极限
- }
- message Region
- {
- required float minx=1;
- required float maxx=2;
- required float miny=3;
- required float maxy=4;
- required float minz=5;
- required float maxz=6;
- required int32 region_id=7;
- repeated lidarExtrinsic lidar_exts=8;
- required float turnplate_cx=9;
- required float turnplate_cy=10;
- required float plc_offsetx=11; // plc偏移x
- required float plc_offsety=12; // plc偏移y
- required float plc_offset_degree=13; // plc偏移角度
- required OutOfRegion plc_out_of_region = 14;
- required OutOfRegion terminal_out_of_region = 15;
- }
|