diag_msgs.go 692 B

123456789101112131415161718192021222324252627282930313233343536
  1. package pjisuv_msgs
  2. import "github.com/bluenviron/goroslib/v2/pkg/msg"
  3. type ErrorcodeInfo struct {
  4. msg.Package `ros:"diag_msgs"`
  5. ErrorCode int32
  6. ErrorLevel int32
  7. ErrorLevelHmi int32
  8. }
  9. type ErrorcodeVec struct {
  10. msg.Package `ros:"diag_msgs"`
  11. ErrorVec []ErrorcodeInfo
  12. Interactive int32
  13. }
  14. type FaultHmi struct {
  15. msg.Package `ros:"diag_msgs"`
  16. TimestampSec float64
  17. EventId int32
  18. Interactive int32
  19. ErrorCode int32
  20. Msg string
  21. EventType int32
  22. }
  23. type FaultHmiVec struct {
  24. msg.Package `ros:"diag_msgs"`
  25. HmiVec []FaultHmi
  26. }
  27. type HeartBeatInfo struct {
  28. msg.Package `ros:"diag_msgs"`
  29. ModuleName string
  30. Rate int8
  31. Timestamp float64
  32. }