v2x_msgs.go 769 B

123456789101112131415161718192021222324252627282930313233343536
  1. package pjisuv_msgs
  2. import "github.com/bluenviron/goroslib/v2/pkg/msg"
  3. type ParticipantInfo struct {
  4. msg.Package `ros:"v2x_msgs"`
  5. DeviceType int32
  6. Lon float64
  7. Lat float64
  8. Spd float64
  9. Distance float64
  10. Ttc float64
  11. }
  12. type TrafficLightInfo struct {
  13. msg.Package `ros:"v2x_msgs"`
  14. Color int32
  15. RemainTime int32
  16. GuideSpdMax float64
  17. GuideSpdMin float64
  18. Distance float64
  19. }
  20. type V2xSignalHmi struct {
  21. msg.Package `ros:"v2x_msgs"`
  22. TimestampSec float64
  23. Interactive int32
  24. EventType int32
  25. EventId int32
  26. }
  27. type V2xSignalPlan struct {
  28. msg.Package `ros:"v2x_msgs"`
  29. SceneType int32
  30. Timestamp float64
  31. GuideSpeed float64
  32. LightInfo TrafficLightInfo
  33. ParticipantInfo ParticipantInfo
  34. }