test_msgs

package
v0.0.0-...-4bcac9f Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package test_msgs is automatically generated from the message definition "test_msgs/AllFieldTypes.msg"

Index

Constants

View Source
const (
	FOO  byte   = 1
	BAR  byte   = 2
	HOGE string = "hoge"
)

Variables

View Source
var (
	MsgAllFieldTypes = &_MsgAllFieldTypes{
		`byte FOO=1
byte BAR=2
string HOGE=hoge

Header h
byte b
int8 i8
int16 i16
int32 i32
int64 i64
uint8 u8
uint16 u16
uint32 u32
uint64 u64
float32 f32
float64 f64
time t
duration d
string s
std_msgs/ColorRGBA c
uint32[] dyn_ary
uint32[2] fix_ary
#std_msgs/ColorRGBA[] msg_ary
`,
		"test_message/AllFieldTypes",
		"5406fac98ad8897d5c798fda29d3f362",
	}
)

Functions

This section is empty.

Types

type AllFieldTypes

type AllFieldTypes struct {
	H      std_msgs.Header    `rosmsg:"h:Header"`
	B      uint8              `rosmsg:"b:byte"`
	I8     int8               `rosmsg:"i8:int8"`
	I16    int16              `rosmsg:"i16:int16"`
	I32    int32              `rosmsg:"i32:int32"`
	I64    int64              `rosmsg:"i64:int64"`
	U8     uint8              `rosmsg:"u8:uint8"`
	U16    uint16             `rosmsg:"u16:uint16"`
	U32    uint32             `rosmsg:"u32:uint32"`
	U64    uint64             `rosmsg:"u64:uint64"`
	F32    float32            `rosmsg:"f32:float32"`
	F64    float64            `rosmsg:"f64:float64"`
	T      ros.Time           `rosmsg:"t:time"`
	D      ros.Duration       `rosmsg:"d:duration"`
	S      string             `rosmsg:"s:string"`
	C      std_msgs.ColorRGBA `rosmsg:"c:ColorRGBA"`
	DynAry []uint32           `rosmsg:"dyn_ary:uint32[]"`
	FixAry [2]uint32          `rosmsg:"fix_ary:uint32[2]"`
}

func (*AllFieldTypes) Deserialize

func (m *AllFieldTypes) Deserialize(buf *bytes.Reader) error

func (*AllFieldTypes) Serialize

func (m *AllFieldTypes) Serialize(buf *bytes.Buffer) error

func (*AllFieldTypes) Type

func (m *AllFieldTypes) Type() ros.MessageType

Jump to

Keyboard shortcuts

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