dagazpb

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MsgType_name = map[int32]string{
		0:   "MSG_TYPE_ERROR_RESPONSE",
		300: "MSG_TYPE_DAGAZ_QUAD_SAMPLE",
		301: "MSG_TYPE_DAGAZ_GET_GROUND_PLANE_REQUEST",
		302: "MSG_TYPE_DAGAZ_GET_GROUND_PLANE_RESPONSE",
		303: "MSG_TYPE_DAGAZ_GET_REGION_REQUEST",
		304: "MSG_TYPE_DAGAZ_GET_REGION_RESPONSE",
		305: "MSG_TYPE_DAGAZ_GET_DEBUG_INFO_REQUEST",
		306: "MSG_TYPE_DAGAZ_GET_DEBUG_INFO_RESPONSE",
	}
	MsgType_value = map[string]int32{
		"MSG_TYPE_ERROR_RESPONSE":                  0,
		"MSG_TYPE_DAGAZ_QUAD_SAMPLE":               300,
		"MSG_TYPE_DAGAZ_GET_GROUND_PLANE_REQUEST":  301,
		"MSG_TYPE_DAGAZ_GET_GROUND_PLANE_RESPONSE": 302,
		"MSG_TYPE_DAGAZ_GET_REGION_REQUEST":        303,
		"MSG_TYPE_DAGAZ_GET_REGION_RESPONSE":       304,
		"MSG_TYPE_DAGAZ_GET_DEBUG_INFO_REQUEST":    305,
		"MSG_TYPE_DAGAZ_GET_DEBUG_INFO_RESPONSE":   306,
	}
)

Enum value maps for MsgType.

View Source
var File_messages_dagazpb_dagaz_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DagazGetDebugInfoRequest

type DagazGetDebugInfoRequest struct {
	Type      MsgType                `protobuf:"varint,1,opt,name=type,proto3,enum=dagaz.MsgType" json:"type,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // We need to be able to not send this...
	RequestId uint32                 `protobuf:"varint,1337,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Debug stuff:

func (*DagazGetDebugInfoRequest) Descriptor deprecated

func (*DagazGetDebugInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use DagazGetDebugInfoRequest.ProtoReflect.Descriptor instead.

func (*DagazGetDebugInfoRequest) GetRequestId

func (x *DagazGetDebugInfoRequest) GetRequestId() uint32

func (*DagazGetDebugInfoRequest) GetTimestamp

func (x *DagazGetDebugInfoRequest) GetTimestamp() *timestamppb.Timestamp

func (*DagazGetDebugInfoRequest) GetType

func (x *DagazGetDebugInfoRequest) GetType() MsgType

func (*DagazGetDebugInfoRequest) ProtoMessage

func (*DagazGetDebugInfoRequest) ProtoMessage()

func (*DagazGetDebugInfoRequest) ProtoReflect

func (x *DagazGetDebugInfoRequest) ProtoReflect() protoreflect.Message

func (*DagazGetDebugInfoRequest) Reset

func (x *DagazGetDebugInfoRequest) Reset()

func (*DagazGetDebugInfoRequest) String

func (x *DagazGetDebugInfoRequest) String() string

type DagazGetDebugInfoResponse

type DagazGetDebugInfoResponse struct {
	Type           MsgType                `protobuf:"varint,1,opt,name=type,proto3,enum=dagaz.MsgType" json:"type,omitempty"`
	Timestamp      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // We need to be able to not send this...
	RequestId      uint32                 `protobuf:"varint,1337,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	GridResolution uint32                 `protobuf:"varint,3,opt,name=grid_resolution,json=gridResolution,proto3" json:"grid_resolution,omitempty"`
	GridRowCount   uint32                 `protobuf:"varint,4,opt,name=grid_row_count,json=gridRowCount,proto3" json:"grid_row_count,omitempty"`
	GridColCount   uint32                 `protobuf:"varint,5,opt,name=grid_col_count,json=gridColCount,proto3" json:"grid_col_count,omitempty"`
	GridPlaneCount uint32                 `protobuf:"varint,6,opt,name=grid_plane_count,json=gridPlaneCount,proto3" json:"grid_plane_count,omitempty"`
	GridMergeCount uint32                 `protobuf:"varint,7,opt,name=grid_merge_count,json=gridMergeCount,proto3" json:"grid_merge_count,omitempty"`
	GridMinPoint   *Point                 `protobuf:"bytes,8,opt,name=grid_min_point,json=gridMinPoint,proto3" json:"grid_min_point,omitempty"`
	GridMaxPoint   *Point                 `protobuf:"bytes,9,opt,name=grid_max_point,json=gridMaxPoint,proto3" json:"grid_max_point,omitempty"`
	Occupancy      []uint32               `protobuf:"varint,10,rep,packed,name=occupancy,proto3" json:"occupancy,omitempty"`
	// contains filtered or unexported fields
}

func (*DagazGetDebugInfoResponse) Descriptor deprecated

func (*DagazGetDebugInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use DagazGetDebugInfoResponse.ProtoReflect.Descriptor instead.

func (*DagazGetDebugInfoResponse) GetGridColCount

func (x *DagazGetDebugInfoResponse) GetGridColCount() uint32

func (*DagazGetDebugInfoResponse) GetGridMaxPoint

func (x *DagazGetDebugInfoResponse) GetGridMaxPoint() *Point

func (*DagazGetDebugInfoResponse) GetGridMergeCount

func (x *DagazGetDebugInfoResponse) GetGridMergeCount() uint32

func (*DagazGetDebugInfoResponse) GetGridMinPoint

func (x *DagazGetDebugInfoResponse) GetGridMinPoint() *Point

func (*DagazGetDebugInfoResponse) GetGridPlaneCount

func (x *DagazGetDebugInfoResponse) GetGridPlaneCount() uint32

func (*DagazGetDebugInfoResponse) GetGridResolution

func (x *DagazGetDebugInfoResponse) GetGridResolution() uint32

func (*DagazGetDebugInfoResponse) GetGridRowCount

func (x *DagazGetDebugInfoResponse) GetGridRowCount() uint32

func (*DagazGetDebugInfoResponse) GetOccupancy

func (x *DagazGetDebugInfoResponse) GetOccupancy() []uint32

func (*DagazGetDebugInfoResponse) GetRequestId

func (x *DagazGetDebugInfoResponse) GetRequestId() uint32

func (*DagazGetDebugInfoResponse) GetTimestamp

func (x *DagazGetDebugInfoResponse) GetTimestamp() *timestamppb.Timestamp

func (*DagazGetDebugInfoResponse) GetType

func (x *DagazGetDebugInfoResponse) GetType() MsgType

func (*DagazGetDebugInfoResponse) ProtoMessage

func (*DagazGetDebugInfoResponse) ProtoMessage()

func (*DagazGetDebugInfoResponse) ProtoReflect

func (*DagazGetDebugInfoResponse) Reset

func (x *DagazGetDebugInfoResponse) Reset()

func (*DagazGetDebugInfoResponse) String

func (x *DagazGetDebugInfoResponse) String() string

type DagazGetGroundPlaneRequest

type DagazGetGroundPlaneRequest struct {
	Type      MsgType                `protobuf:"varint,1,opt,name=type,proto3,enum=dagaz.MsgType" json:"type,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	RequestId uint32                 `protobuf:"varint,1337,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Ray       *Ray                   `protobuf:"bytes,3,opt,name=ray,proto3" json:"ray,omitempty"`
	// contains filtered or unexported fields
}

test message to read server state:

func (*DagazGetGroundPlaneRequest) Descriptor deprecated

func (*DagazGetGroundPlaneRequest) Descriptor() ([]byte, []int)

Deprecated: Use DagazGetGroundPlaneRequest.ProtoReflect.Descriptor instead.

func (*DagazGetGroundPlaneRequest) GetRay

func (x *DagazGetGroundPlaneRequest) GetRay() *Ray

func (*DagazGetGroundPlaneRequest) GetRequestId

func (x *DagazGetGroundPlaneRequest) GetRequestId() uint32

func (*DagazGetGroundPlaneRequest) GetTimestamp

func (*DagazGetGroundPlaneRequest) GetType

func (x *DagazGetGroundPlaneRequest) GetType() MsgType

func (*DagazGetGroundPlaneRequest) ProtoMessage

func (*DagazGetGroundPlaneRequest) ProtoMessage()

func (*DagazGetGroundPlaneRequest) ProtoReflect

func (*DagazGetGroundPlaneRequest) Reset

func (x *DagazGetGroundPlaneRequest) Reset()

func (*DagazGetGroundPlaneRequest) String

func (x *DagazGetGroundPlaneRequest) String() string

type DagazGetGroundPlaneResponse

type DagazGetGroundPlaneResponse struct {
	Type      MsgType                `protobuf:"varint,1,opt,name=type,proto3,enum=dagaz.MsgType" json:"type,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	RequestId uint32                 `protobuf:"varint,1337,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Ground    *Quad                  `protobuf:"bytes,3,opt,name=ground,proto3" json:"ground,omitempty"`
	// contains filtered or unexported fields
}

func (*DagazGetGroundPlaneResponse) Descriptor deprecated

func (*DagazGetGroundPlaneResponse) Descriptor() ([]byte, []int)

Deprecated: Use DagazGetGroundPlaneResponse.ProtoReflect.Descriptor instead.

func (*DagazGetGroundPlaneResponse) GetGround

func (x *DagazGetGroundPlaneResponse) GetGround() *Quad

func (*DagazGetGroundPlaneResponse) GetRequestId

func (x *DagazGetGroundPlaneResponse) GetRequestId() uint32

func (*DagazGetGroundPlaneResponse) GetTimestamp

func (*DagazGetGroundPlaneResponse) GetType

func (x *DagazGetGroundPlaneResponse) GetType() MsgType

func (*DagazGetGroundPlaneResponse) ProtoMessage

func (*DagazGetGroundPlaneResponse) ProtoMessage()

func (*DagazGetGroundPlaneResponse) ProtoReflect

func (*DagazGetGroundPlaneResponse) Reset

func (x *DagazGetGroundPlaneResponse) Reset()

func (*DagazGetGroundPlaneResponse) String

func (x *DagazGetGroundPlaneResponse) String() string

type DagazGetRegionRequest

type DagazGetRegionRequest struct {
	Type      MsgType                `protobuf:"varint,1,opt,name=type,proto3,enum=dagaz.MsgType" json:"type,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	RequestId uint32                 `protobuf:"varint,1337,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Min       *Point                 `protobuf:"bytes,3,opt,name=min,proto3" json:"min,omitempty"`
	Max       *Point                 `protobuf:"bytes,4,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*DagazGetRegionRequest) Descriptor deprecated

func (*DagazGetRegionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DagazGetRegionRequest.ProtoReflect.Descriptor instead.

func (*DagazGetRegionRequest) GetMax

func (x *DagazGetRegionRequest) GetMax() *Point

func (*DagazGetRegionRequest) GetMin

func (x *DagazGetRegionRequest) GetMin() *Point

func (*DagazGetRegionRequest) GetRequestId

func (x *DagazGetRegionRequest) GetRequestId() uint32

func (*DagazGetRegionRequest) GetTimestamp

func (x *DagazGetRegionRequest) GetTimestamp() *timestamppb.Timestamp

func (*DagazGetRegionRequest) GetType

func (x *DagazGetRegionRequest) GetType() MsgType

func (*DagazGetRegionRequest) ProtoMessage

func (*DagazGetRegionRequest) ProtoMessage()

func (*DagazGetRegionRequest) ProtoReflect

func (x *DagazGetRegionRequest) ProtoReflect() protoreflect.Message

func (*DagazGetRegionRequest) Reset

func (x *DagazGetRegionRequest) Reset()

func (*DagazGetRegionRequest) String

func (x *DagazGetRegionRequest) String() string

type DagazGetRegionResponse

type DagazGetRegionResponse struct {
	Type      MsgType                `protobuf:"varint,1,opt,name=type,proto3,enum=dagaz.MsgType" json:"type,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	RequestId uint32                 `protobuf:"varint,1337,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Quads     []*Quad                `protobuf:"bytes,3,rep,name=quads,proto3" json:"quads,omitempty"`
	// contains filtered or unexported fields
}

func (*DagazGetRegionResponse) Descriptor deprecated

func (*DagazGetRegionResponse) Descriptor() ([]byte, []int)

Deprecated: Use DagazGetRegionResponse.ProtoReflect.Descriptor instead.

func (*DagazGetRegionResponse) GetQuads

func (x *DagazGetRegionResponse) GetQuads() []*Quad

func (*DagazGetRegionResponse) GetRequestId

func (x *DagazGetRegionResponse) GetRequestId() uint32

func (*DagazGetRegionResponse) GetTimestamp

func (x *DagazGetRegionResponse) GetTimestamp() *timestamppb.Timestamp

func (*DagazGetRegionResponse) GetType

func (x *DagazGetRegionResponse) GetType() MsgType

func (*DagazGetRegionResponse) ProtoMessage

func (*DagazGetRegionResponse) ProtoMessage()

func (*DagazGetRegionResponse) ProtoReflect

func (x *DagazGetRegionResponse) ProtoReflect() protoreflect.Message

func (*DagazGetRegionResponse) Reset

func (x *DagazGetRegionResponse) Reset()

func (*DagazGetRegionResponse) String

func (x *DagazGetRegionResponse) String() string

type DagazQuadSample

type DagazQuadSample struct {
	Type      MsgType                `protobuf:"varint,1,opt,name=type,proto3,enum=dagaz.MsgType" json:"type,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Samples   []*Quad                `protobuf:"bytes,4,rep,name=samples,proto3" json:"samples,omitempty"`
	// contains filtered or unexported fields
}

func (*DagazQuadSample) Descriptor deprecated

func (*DagazQuadSample) Descriptor() ([]byte, []int)

Deprecated: Use DagazQuadSample.ProtoReflect.Descriptor instead.

func (*DagazQuadSample) GetSamples

func (x *DagazQuadSample) GetSamples() []*Quad

func (*DagazQuadSample) GetTimestamp

func (x *DagazQuadSample) GetTimestamp() *timestamppb.Timestamp

func (*DagazQuadSample) GetType

func (x *DagazQuadSample) GetType() MsgType

func (*DagazQuadSample) ProtoMessage

func (*DagazQuadSample) ProtoMessage()

func (*DagazQuadSample) ProtoReflect

func (x *DagazQuadSample) ProtoReflect() protoreflect.Message

func (*DagazQuadSample) Reset

func (x *DagazQuadSample) Reset()

func (*DagazQuadSample) String

func (x *DagazQuadSample) String() string

type MsgType

type MsgType int32
const (
	MsgType_MSG_TYPE_ERROR_RESPONSE                  MsgType = 0
	MsgType_MSG_TYPE_DAGAZ_QUAD_SAMPLE               MsgType = 300
	MsgType_MSG_TYPE_DAGAZ_GET_GROUND_PLANE_REQUEST  MsgType = 301
	MsgType_MSG_TYPE_DAGAZ_GET_GROUND_PLANE_RESPONSE MsgType = 302
	MsgType_MSG_TYPE_DAGAZ_GET_REGION_REQUEST        MsgType = 303
	MsgType_MSG_TYPE_DAGAZ_GET_REGION_RESPONSE       MsgType = 304
	MsgType_MSG_TYPE_DAGAZ_GET_DEBUG_INFO_REQUEST    MsgType = 305
	MsgType_MSG_TYPE_DAGAZ_GET_DEBUG_INFO_RESPONSE   MsgType = 306
)

func (MsgType) Descriptor

func (MsgType) Descriptor() protoreflect.EnumDescriptor

func (MsgType) Enum

func (x MsgType) Enum() *MsgType

func (MsgType) EnumDescriptor deprecated

func (MsgType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MsgType.Descriptor instead.

func (MsgType) Number

func (x MsgType) Number() protoreflect.EnumNumber

func (MsgType) String

func (x MsgType) String() string

func (MsgType) Type

func (MsgType) Type() protoreflect.EnumType

type Point

type Point struct {
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*Point) Descriptor deprecated

func (*Point) Descriptor() ([]byte, []int)

Deprecated: Use Point.ProtoReflect.Descriptor instead.

func (*Point) GetX

func (x *Point) GetX() float32

func (*Point) GetY

func (x *Point) GetY() float32

func (*Point) GetZ

func (x *Point) GetZ() float32

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) ProtoReflect

func (x *Point) ProtoReflect() protoreflect.Message

func (*Point) Reset

func (x *Point) Reset()

func (*Point) String

func (x *Point) String() string

type Quad

type Quad struct {
	Center     *Point `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"`
	Extents    *Point `protobuf:"bytes,2,opt,name=extents,proto3" json:"extents,omitempty"` // from this one can derive the plane information
	MergeCount uint32 `protobuf:"varint,3,opt,name=merge_count,json=mergeCount,proto3" json:"merge_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Quad) Descriptor deprecated

func (*Quad) Descriptor() ([]byte, []int)

Deprecated: Use Quad.ProtoReflect.Descriptor instead.

func (*Quad) GetCenter

func (x *Quad) GetCenter() *Point

func (*Quad) GetExtents

func (x *Quad) GetExtents() *Point

func (*Quad) GetMergeCount

func (x *Quad) GetMergeCount() uint32

func (*Quad) ProtoMessage

func (*Quad) ProtoMessage()

func (*Quad) ProtoReflect

func (x *Quad) ProtoReflect() protoreflect.Message

func (*Quad) Reset

func (x *Quad) Reset()

func (*Quad) String

func (x *Quad) String() string

type Ray

type Ray struct {
	From *Point `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   *Point `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*Ray) Descriptor deprecated

func (*Ray) Descriptor() ([]byte, []int)

Deprecated: Use Ray.ProtoReflect.Descriptor instead.

func (*Ray) GetFrom

func (x *Ray) GetFrom() *Point

func (*Ray) GetTo

func (x *Ray) GetTo() *Point

func (*Ray) ProtoMessage

func (*Ray) ProtoMessage()

func (*Ray) ProtoReflect

func (x *Ray) ProtoReflect() protoreflect.Message

func (*Ray) Reset

func (x *Ray) Reset()

func (*Ray) String

func (x *Ray) String() string

Jump to

Keyboard shortcuts

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