Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. /********************************************************/
  2. /** V2V Protocol specific messages **********************/
  3. /********************************************************/
  4. message AnnouncePresence [id = 1001] {
  5. string vehicleIp [id = 1];
  6. string groupId [id = 3];
  7. }
  8.  
  9. message FollowRequest [id = 1002] {
  10. uint32 req [id = 1];
  11. }
  12.  
  13. message FollowResponse [id = 1003] {
  14. uint32 res [id = 1];
  15. }
  16.  
  17. message StopFollow [id = 1004] {
  18. float stop [id = 1];
  19. }
  20.  
  21. message LeaderStatus [id = 2001] {
  22. uint32 timestamp [id = 1];
  23. float speed [id = 2];
  24. float steeringAngle [id = 3];
  25. uint8 distanceTraveled [id = 4];
  26. }
  27.  
  28. message FollowerStatus [id = 3001] {
  29. uint32 status [id = 1];
  30. }
  31.  
  32.  
  33. /********************************************************/
  34. /** Internal Messages ***********************************/
  35. /********************************************************/
  36. message opendlv.proxy.AccelerationReading [id = 1030] {
  37. float accelerationX [id = 1];
  38. float accelerationY [id = 2];
  39. float accelerationZ [id = 3];
  40. }
  41.  
  42. message opendlv.proxy.PedalPositionReading [id = 1041] {
  43. float percent [id = 1];
  44. }
  45.  
  46. message opendlv.proxy.GroundSteeringReading [id = 1045] {
  47. float steeringAngle [id = 1];
  48. }
  49.  
  50. message opendlv.proxy.GroundSpeedReading [id = 1046] {
  51. float groundSpeed [id = 1];
  52. }
  53.  
  54. message UltrasonicFront [id = 2201] {
  55. uint8 readingCm [id = 1];
  56. }
  57.  
  58. message readingsIMU[id = 2202] {
  59. uint8 readingDistanceTraveled [id = 1];
  60. float readingSteeringAngle [id = 2];
  61. float readingSpeed [id = 3];
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement