test

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package test contains the test dialect.

Index

Constants

This section is empty.

Variables

View Source
var Dialect = dial

Dialect contains the dialect definition.

Functions

This section is empty.

Types

type MessageTestTypes

type MessageTestTypes struct {
	// char
	C string
	// string
	S string `mavlen:"10"`
	// uint8_t
	U8 uint8
	// uint16_t
	U16 uint16
	// uint32_t
	U32 uint32
	// uint64_t
	U64 uint64
	// int8_t
	S8 int8
	// int16_t
	S16 int16
	// int32_t
	S32 int32
	// int64_t
	S64 int64
	// float
	F float32
	// double
	D float64
	// uint8_t_array
	U8Array [3]uint8
	// uint16_t_array
	U16Array [3]uint16
	// uint32_t_array
	U32Array [3]uint32
	// uint64_t_array
	U64Array [3]uint64
	// int8_t_array
	S8Array [3]int8
	// int16_t_array
	S16Array [3]int16
	// int32_t_array
	S32Array [3]int32
	// int64_t_array
	S64Array [3]int64
	// float_array
	FArray [3]float32
	// double_array
	DArray [3]float64
}

Test all field types

func (*MessageTestTypes) GetID

func (*MessageTestTypes) GetID() uint32

GetID implements the message.Message interface.

Jump to

Keyboard shortcuts

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