diagnostic_msgs

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package diagnostic_msgs contains message definitions.

Index

Constants

View Source
const (
	DiagnosticStatus_OK    int8 = 0
	DiagnosticStatus_WARN  int8 = 1
	DiagnosticStatus_ERROR int8 = 2
	DiagnosticStatus_STALE int8 = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDiagnostics

type AddDiagnostics struct {
	msg.Package `ros:"diagnostic_msgs"`
	AddDiagnosticsReq
	AddDiagnosticsRes
}

type AddDiagnosticsReq

type AddDiagnosticsReq struct {
	msg.Package   `ros:"diagnostic_msgs"`
	LoadNamespace string
}

type AddDiagnosticsRes

type AddDiagnosticsRes struct {
	msg.Package `ros:"diagnostic_msgs"`
	Success     bool
	Message     string
}

type DiagnosticArray

type DiagnosticArray struct {
	msg.Package `ros:"diagnostic_msgs"`
	Header      std_msgs.Header
	Status      []DiagnosticStatus
}

type DiagnosticStatus

type DiagnosticStatus struct {
	msg.Package     `ros:"diagnostic_msgs"`
	msg.Definitions `ros:"byte OK=0,byte WARN=1,byte ERROR=2,byte STALE=3"`
	Level           int8 `rostype:"byte"`
	Name            string
	Message         string
	HardwareId      string
	Values          []KeyValue
}

type KeyValue

type KeyValue struct {
	msg.Package `ros:"diagnostic_msgs"`
	Key         string
	Value       string
}

type SelfTest

type SelfTest struct {
	msg.Package `ros:"diagnostic_msgs"`
	SelfTestReq
	SelfTestRes
}

type SelfTestReq

type SelfTestReq struct {
	msg.Package `ros:"diagnostic_msgs"`
}

type SelfTestRes

type SelfTestRes struct {
	msg.Package `ros:"diagnostic_msgs"`
	Id          string
	Passed      int8 `rostype:"byte"`
	Status      []DiagnosticStatus
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL