measure_message.proto 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. syntax = "proto2";
  2. package message;
  3. import "message_base.proto";
  4. //雷达管理模块的工作状态
  5. enum Laser_manager_status
  6. {
  7. LASER_MANAGER_UNKNOW = 0; //未知
  8. LASER_MANAGER_READY = 1; //准备,待机
  9. LASER_MANAGER_ISSUED_TASK = 2; //工作下发任务
  10. LASER_MANAGER_WAIT_REPLY = 3; //工作等待答复
  11. LASER_MANAGER_FAULT = 4; //故障
  12. }
  13. //子雷达状态
  14. enum Laser_statu
  15. {
  16. LASER_DISCONNECT =0; //雷达断连
  17. LASER_READY =1; //雷达正常待机,空闲
  18. LASER_BUSY =2; //雷达正在工作,正忙
  19. LASER_FAULT =3; //雷达错误
  20. }
  21. //定位管理模块的工作状态
  22. enum Locate_manager_status
  23. {
  24. LOCATE_MANAGER_UNKNOW = 0; //未知
  25. LOCATE_MANAGER_READY = 1; //准备,待机
  26. LOCATE_MANAGER_SIFT = 2; //sift点云筛选; 将车身和轮胎的点剥离出来
  27. LOCATE_MANAGER_CAR = 3; //通过车身 计算汽车的定位信息.
  28. LOCATE_MANAGER_WHEEL = 4; //通过车轮 计算汽车的定位信息.
  29. LOCATE_MANAGER_FAULT = 5; //故障
  30. }
  31. //定位模块状态
  32. message Measure_status_msg
  33. {
  34. required Base_info base_info=1; //消息类型
  35. required int32 terminal_id=2;
  36. required Laser_manager_status laser_manager_status = 3;
  37. repeated Laser_statu laser_statu_vector = 4;
  38. required Locate_manager_status locate_manager_status = 5;
  39. optional Locate_information locate_information_realtime=6; //地面雷达的 实时定位信息
  40. required Error_manager error_manager = 7;
  41. }
  42. //定位请求消息
  43. message Measure_request_msg
  44. {
  45. required Base_info base_info=1; //消息类型
  46. required string command_key=2; //指令唯一标识符id
  47. required int32 terminal_id=3; //终端id
  48. }
  49. //定位测量返回消息
  50. message Measure_response_msg
  51. {
  52. required Base_info base_info=1; //消息类型
  53. required string command_key=2; //指令唯一标识符id
  54. required int32 terminal_id=3;
  55. optional Locate_information locate_information=4;
  56. required Error_manager error_manager = 5;
  57. }