value

package
v0.0.0-...-7a59755 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool Value[bool]

Bool is a result value that holds a bool.

type ChassisPosition

type ChassisPosition struct {
	TaskID      uint8   `json:"taskId"`
	IsCancel    uint8   `json:"isCancel"`
	ControlMode uint8   `json:"controlMode"`
	X           float32 `json:"positionX"`
	Y           float32 `json:"positionY"`
	Z           float32 `json:"positionYaw"`
}

type Float64

type Float64 Value[float64]

type FunctionEnable

type FunctionEnable List[FunctionEnableInfo]

type FunctionEnableInfo

type FunctionEnableInfo struct {
	ID     uint8 `json:"id"`
	Enable bool  `json:"enable"`
}

type GimbalAttitude

type GimbalAttitude struct {
	Pitch       float32 `json:"pitch"`
	Yaw         float32 `json:"yaw"`
	Roll        float32 `json:"roll"`
	YawOpposite float32 `json:"yawOpposite"`
	PitchSpeed  float32 `json:"pitchSpeed"`
	YawSpeed    float32 `json:"yawSpeed"`
	RollSpeed   float32 `json:"rollSpeed"`
}

type List

type List[T any] struct {
	List []T `json:"list"`
}

List is a result value that holds a list of values.

type Uint64

type Uint64 Value[uint64]

Uint64 is a result value that holds a uint64.

type Value

type Value[T any] struct {
	Value T `json:"value"`
}

type Void

type Void Value[unsafe.Pointer]

Void is a result value that holds nothing.

Jump to

Keyboard shortcuts

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