tracking_server

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

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

Go to latest
Published: Jan 13, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommandAnswer_name = map[int32]string{
		0: "COMMAND_ANSWER_ACCEPTED",
		1: "COMMAND_ANSWER_TEMPORARILY_REJECTED",
		2: "COMMAND_ANSWER_DENIED",
		3: "COMMAND_ANSWER_UNSUPPORTED",
		4: "COMMAND_ANSWER_FAILED",
	}
	CommandAnswer_value = map[string]int32{
		"COMMAND_ANSWER_ACCEPTED":             0,
		"COMMAND_ANSWER_TEMPORARILY_REJECTED": 1,
		"COMMAND_ANSWER_DENIED":               2,
		"COMMAND_ANSWER_UNSUPPORTED":          3,
		"COMMAND_ANSWER_FAILED":               4,
	}
)

Enum value maps for CommandAnswer.

View Source
var (
	TrackingServerResult_Result_name = map[int32]string{
		0: "RESULT_UNKNOWN",
		1: "RESULT_SUCCESS",
		2: "RESULT_NO_SYSTEM",
		3: "RESULT_CONNECTION_ERROR",
	}
	TrackingServerResult_Result_value = map[string]int32{
		"RESULT_UNKNOWN":          0,
		"RESULT_SUCCESS":          1,
		"RESULT_NO_SYSTEM":        2,
		"RESULT_CONNECTION_ERROR": 3,
	}
)

Enum value maps for TrackingServerResult_Result.

View Source
var File_tracking_server_proto protoreflect.FileDescriptor
View Source
var TrackingServerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mavsdk.rpc.tracking_server.TrackingServerService",
	HandlerType: (*TrackingServerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetTrackingPointStatus",
			Handler:    _TrackingServerService_SetTrackingPointStatus_Handler,
		},
		{
			MethodName: "SetTrackingRectangleStatus",
			Handler:    _TrackingServerService_SetTrackingRectangleStatus_Handler,
		},
		{
			MethodName: "SetTrackingOffStatus",
			Handler:    _TrackingServerService_SetTrackingOffStatus_Handler,
		},
		{
			MethodName: "RespondTrackingPointCommand",
			Handler:    _TrackingServerService_RespondTrackingPointCommand_Handler,
		},
		{
			MethodName: "RespondTrackingRectangleCommand",
			Handler:    _TrackingServerService_RespondTrackingRectangleCommand_Handler,
		},
		{
			MethodName: "RespondTrackingOffCommand",
			Handler:    _TrackingServerService_RespondTrackingOffCommand_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeTrackingPointCommand",
			Handler:       _TrackingServerService_SubscribeTrackingPointCommand_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeTrackingRectangleCommand",
			Handler:       _TrackingServerService_SubscribeTrackingRectangleCommand_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeTrackingOffCommand",
			Handler:       _TrackingServerService_SubscribeTrackingOffCommand_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tracking_server.proto",
}

TrackingServerService_ServiceDesc is the grpc.ServiceDesc for TrackingServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTrackingServerServiceServer

func RegisterTrackingServerServiceServer(s grpc.ServiceRegistrar, srv TrackingServerServiceServer)

Types

type CommandAnswer

type CommandAnswer int32

Answer to respond to an incoming command

const (
	CommandAnswer_COMMAND_ANSWER_ACCEPTED             CommandAnswer = 0 // Command accepted
	CommandAnswer_COMMAND_ANSWER_TEMPORARILY_REJECTED CommandAnswer = 1 // Command temporarily rejected
	CommandAnswer_COMMAND_ANSWER_DENIED               CommandAnswer = 2 // Command denied
	CommandAnswer_COMMAND_ANSWER_UNSUPPORTED          CommandAnswer = 3 // Command unsupported
	CommandAnswer_COMMAND_ANSWER_FAILED               CommandAnswer = 4 // Command failed
)

func (CommandAnswer) Descriptor

func (CommandAnswer) Enum

func (x CommandAnswer) Enum() *CommandAnswer

func (CommandAnswer) EnumDescriptor deprecated

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

Deprecated: Use CommandAnswer.Descriptor instead.

func (CommandAnswer) Number

func (CommandAnswer) String

func (x CommandAnswer) String() string

func (CommandAnswer) Type

type RespondTrackingOffCommandRequest

type RespondTrackingOffCommandRequest struct {
	CommandAnswer CommandAnswer `` // The ack to answer to the incoming command
	/* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RespondTrackingOffCommandRequest) Descriptor deprecated

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

Deprecated: Use RespondTrackingOffCommandRequest.ProtoReflect.Descriptor instead.

func (*RespondTrackingOffCommandRequest) GetCommandAnswer

func (x *RespondTrackingOffCommandRequest) GetCommandAnswer() CommandAnswer

func (*RespondTrackingOffCommandRequest) ProtoMessage

func (*RespondTrackingOffCommandRequest) ProtoMessage()

func (*RespondTrackingOffCommandRequest) ProtoReflect

func (*RespondTrackingOffCommandRequest) Reset

func (*RespondTrackingOffCommandRequest) String

type RespondTrackingOffCommandResponse

type RespondTrackingOffCommandResponse struct {
	TrackingServerResult *TrackingServerResult `protobuf:"bytes,1,opt,name=tracking_server_result,json=trackingServerResult,proto3" json:"tracking_server_result,omitempty"` // The result of sending the response.
	// contains filtered or unexported fields
}

func (*RespondTrackingOffCommandResponse) Descriptor deprecated

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

Deprecated: Use RespondTrackingOffCommandResponse.ProtoReflect.Descriptor instead.

func (*RespondTrackingOffCommandResponse) GetTrackingServerResult

func (x *RespondTrackingOffCommandResponse) GetTrackingServerResult() *TrackingServerResult

func (*RespondTrackingOffCommandResponse) ProtoMessage

func (*RespondTrackingOffCommandResponse) ProtoMessage()

func (*RespondTrackingOffCommandResponse) ProtoReflect

func (*RespondTrackingOffCommandResponse) Reset

func (*RespondTrackingOffCommandResponse) String

type RespondTrackingPointCommandRequest

type RespondTrackingPointCommandRequest struct {
	CommandAnswer CommandAnswer `` // The ack to answer to the incoming command
	/* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RespondTrackingPointCommandRequest) Descriptor deprecated

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

Deprecated: Use RespondTrackingPointCommandRequest.ProtoReflect.Descriptor instead.

func (*RespondTrackingPointCommandRequest) GetCommandAnswer

func (x *RespondTrackingPointCommandRequest) GetCommandAnswer() CommandAnswer

func (*RespondTrackingPointCommandRequest) ProtoMessage

func (*RespondTrackingPointCommandRequest) ProtoMessage()

func (*RespondTrackingPointCommandRequest) ProtoReflect

func (*RespondTrackingPointCommandRequest) Reset

func (*RespondTrackingPointCommandRequest) String

type RespondTrackingPointCommandResponse

type RespondTrackingPointCommandResponse struct {
	TrackingServerResult *TrackingServerResult `protobuf:"bytes,1,opt,name=tracking_server_result,json=trackingServerResult,proto3" json:"tracking_server_result,omitempty"` // The result of sending the response.
	// contains filtered or unexported fields
}

func (*RespondTrackingPointCommandResponse) Descriptor deprecated

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

Deprecated: Use RespondTrackingPointCommandResponse.ProtoReflect.Descriptor instead.

func (*RespondTrackingPointCommandResponse) GetTrackingServerResult

func (x *RespondTrackingPointCommandResponse) GetTrackingServerResult() *TrackingServerResult

func (*RespondTrackingPointCommandResponse) ProtoMessage

func (*RespondTrackingPointCommandResponse) ProtoMessage()

func (*RespondTrackingPointCommandResponse) ProtoReflect

func (*RespondTrackingPointCommandResponse) Reset

func (*RespondTrackingPointCommandResponse) String

type RespondTrackingRectangleCommandRequest

type RespondTrackingRectangleCommandRequest struct {
	CommandAnswer CommandAnswer `` // The ack to answer to the incoming command
	/* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RespondTrackingRectangleCommandRequest) Descriptor deprecated

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

Deprecated: Use RespondTrackingRectangleCommandRequest.ProtoReflect.Descriptor instead.

func (*RespondTrackingRectangleCommandRequest) GetCommandAnswer

func (*RespondTrackingRectangleCommandRequest) ProtoMessage

func (*RespondTrackingRectangleCommandRequest) ProtoReflect

func (*RespondTrackingRectangleCommandRequest) Reset

func (*RespondTrackingRectangleCommandRequest) String

type RespondTrackingRectangleCommandResponse

type RespondTrackingRectangleCommandResponse struct {
	TrackingServerResult *TrackingServerResult `protobuf:"bytes,1,opt,name=tracking_server_result,json=trackingServerResult,proto3" json:"tracking_server_result,omitempty"` // The result of sending the response.
	// contains filtered or unexported fields
}

func (*RespondTrackingRectangleCommandResponse) Descriptor deprecated

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

Deprecated: Use RespondTrackingRectangleCommandResponse.ProtoReflect.Descriptor instead.

func (*RespondTrackingRectangleCommandResponse) GetTrackingServerResult

func (x *RespondTrackingRectangleCommandResponse) GetTrackingServerResult() *TrackingServerResult

func (*RespondTrackingRectangleCommandResponse) ProtoMessage

func (*RespondTrackingRectangleCommandResponse) ProtoReflect

func (*RespondTrackingRectangleCommandResponse) Reset

func (*RespondTrackingRectangleCommandResponse) String

type ServiceImpl

type ServiceImpl struct {
	Client TrackingServerServiceClient
}

func (*ServiceImpl) RespondTrackingOffCommand

func (s *ServiceImpl) RespondTrackingOffCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingOffCommandResponse, error)

func (*ServiceImpl) RespondTrackingPointCommand

func (s *ServiceImpl) RespondTrackingPointCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingPointCommandResponse, error)

func (*ServiceImpl) RespondTrackingRectangleCommand

func (s *ServiceImpl) RespondTrackingRectangleCommand(ctx context.Context, commandAnswer *CommandAnswer) (*RespondTrackingRectangleCommandResponse, error)

func (*ServiceImpl) SetTrackingOffStatus

func (s *ServiceImpl) SetTrackingOffStatus(ctx context.Context) (*SetTrackingOffStatusResponse, error)

func (*ServiceImpl) SetTrackingPointStatus

func (s *ServiceImpl) SetTrackingPointStatus(ctx context.Context, trackedPoint *TrackPoint) (*SetTrackingPointStatusResponse, error)

func (*ServiceImpl) SetTrackingRectangleStatus

func (s *ServiceImpl) SetTrackingRectangleStatus(ctx context.Context, trackedRectangle *TrackRectangle) (*SetTrackingRectangleStatusResponse, error)

func (*ServiceImpl) TrackingOffCommand

func (a *ServiceImpl) TrackingOffCommand(ctx context.Context) (<-chan int32, error)

func (*ServiceImpl) TrackingPointCommand

func (a *ServiceImpl) TrackingPointCommand(ctx context.Context) (<-chan *TrackPoint, error)

func (*ServiceImpl) TrackingRectangleCommand

func (a *ServiceImpl) TrackingRectangleCommand(ctx context.Context) (<-chan *TrackRectangle, error)

type SetTrackingOffStatusRequest

type SetTrackingOffStatusRequest struct {
	// contains filtered or unexported fields
}

func (*SetTrackingOffStatusRequest) Descriptor deprecated

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

Deprecated: Use SetTrackingOffStatusRequest.ProtoReflect.Descriptor instead.

func (*SetTrackingOffStatusRequest) ProtoMessage

func (*SetTrackingOffStatusRequest) ProtoMessage()

func (*SetTrackingOffStatusRequest) ProtoReflect

func (*SetTrackingOffStatusRequest) Reset

func (x *SetTrackingOffStatusRequest) Reset()

func (*SetTrackingOffStatusRequest) String

func (x *SetTrackingOffStatusRequest) String() string

type SetTrackingOffStatusResponse

type SetTrackingOffStatusResponse struct {
	// contains filtered or unexported fields
}

func (*SetTrackingOffStatusResponse) Descriptor deprecated

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

Deprecated: Use SetTrackingOffStatusResponse.ProtoReflect.Descriptor instead.

func (*SetTrackingOffStatusResponse) ProtoMessage

func (*SetTrackingOffStatusResponse) ProtoMessage()

func (*SetTrackingOffStatusResponse) ProtoReflect

func (*SetTrackingOffStatusResponse) Reset

func (x *SetTrackingOffStatusResponse) Reset()

func (*SetTrackingOffStatusResponse) String

type SetTrackingPointStatusRequest

type SetTrackingPointStatusRequest struct {
	TrackedPoint *TrackPoint `protobuf:"bytes,1,opt,name=tracked_point,json=trackedPoint,proto3" json:"tracked_point,omitempty"` // The tracked point
	// contains filtered or unexported fields
}

func (*SetTrackingPointStatusRequest) Descriptor deprecated

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

Deprecated: Use SetTrackingPointStatusRequest.ProtoReflect.Descriptor instead.

func (*SetTrackingPointStatusRequest) GetTrackedPoint

func (x *SetTrackingPointStatusRequest) GetTrackedPoint() *TrackPoint

func (*SetTrackingPointStatusRequest) ProtoMessage

func (*SetTrackingPointStatusRequest) ProtoMessage()

func (*SetTrackingPointStatusRequest) ProtoReflect

func (*SetTrackingPointStatusRequest) Reset

func (x *SetTrackingPointStatusRequest) Reset()

func (*SetTrackingPointStatusRequest) String

type SetTrackingPointStatusResponse

type SetTrackingPointStatusResponse struct {
	// contains filtered or unexported fields
}

func (*SetTrackingPointStatusResponse) Descriptor deprecated

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

Deprecated: Use SetTrackingPointStatusResponse.ProtoReflect.Descriptor instead.

func (*SetTrackingPointStatusResponse) ProtoMessage

func (*SetTrackingPointStatusResponse) ProtoMessage()

func (*SetTrackingPointStatusResponse) ProtoReflect

func (*SetTrackingPointStatusResponse) Reset

func (x *SetTrackingPointStatusResponse) Reset()

func (*SetTrackingPointStatusResponse) String

type SetTrackingRectangleStatusRequest

type SetTrackingRectangleStatusRequest struct {
	TrackedRectangle *TrackRectangle `protobuf:"bytes,1,opt,name=tracked_rectangle,json=trackedRectangle,proto3" json:"tracked_rectangle,omitempty"` // The tracked rectangle
	// contains filtered or unexported fields
}

func (*SetTrackingRectangleStatusRequest) Descriptor deprecated

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

Deprecated: Use SetTrackingRectangleStatusRequest.ProtoReflect.Descriptor instead.

func (*SetTrackingRectangleStatusRequest) GetTrackedRectangle

func (x *SetTrackingRectangleStatusRequest) GetTrackedRectangle() *TrackRectangle

func (*SetTrackingRectangleStatusRequest) ProtoMessage

func (*SetTrackingRectangleStatusRequest) ProtoMessage()

func (*SetTrackingRectangleStatusRequest) ProtoReflect

func (*SetTrackingRectangleStatusRequest) Reset

func (*SetTrackingRectangleStatusRequest) String

type SetTrackingRectangleStatusResponse

type SetTrackingRectangleStatusResponse struct {
	// contains filtered or unexported fields
}

func (*SetTrackingRectangleStatusResponse) Descriptor deprecated

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

Deprecated: Use SetTrackingRectangleStatusResponse.ProtoReflect.Descriptor instead.

func (*SetTrackingRectangleStatusResponse) ProtoMessage

func (*SetTrackingRectangleStatusResponse) ProtoMessage()

func (*SetTrackingRectangleStatusResponse) ProtoReflect

func (*SetTrackingRectangleStatusResponse) Reset

func (*SetTrackingRectangleStatusResponse) String

type SubscribeTrackingOffCommandRequest

type SubscribeTrackingOffCommandRequest struct {
	// contains filtered or unexported fields
}

func (*SubscribeTrackingOffCommandRequest) Descriptor deprecated

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

Deprecated: Use SubscribeTrackingOffCommandRequest.ProtoReflect.Descriptor instead.

func (*SubscribeTrackingOffCommandRequest) ProtoMessage

func (*SubscribeTrackingOffCommandRequest) ProtoMessage()

func (*SubscribeTrackingOffCommandRequest) ProtoReflect

func (*SubscribeTrackingOffCommandRequest) Reset

func (*SubscribeTrackingOffCommandRequest) String

type SubscribeTrackingPointCommandRequest

type SubscribeTrackingPointCommandRequest struct {
	// contains filtered or unexported fields
}

func (*SubscribeTrackingPointCommandRequest) Descriptor deprecated

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

Deprecated: Use SubscribeTrackingPointCommandRequest.ProtoReflect.Descriptor instead.

func (*SubscribeTrackingPointCommandRequest) ProtoMessage

func (*SubscribeTrackingPointCommandRequest) ProtoMessage()

func (*SubscribeTrackingPointCommandRequest) ProtoReflect

func (*SubscribeTrackingPointCommandRequest) Reset

func (*SubscribeTrackingPointCommandRequest) String

type SubscribeTrackingRectangleCommandRequest

type SubscribeTrackingRectangleCommandRequest struct {
	// contains filtered or unexported fields
}

func (*SubscribeTrackingRectangleCommandRequest) Descriptor deprecated

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

Deprecated: Use SubscribeTrackingRectangleCommandRequest.ProtoReflect.Descriptor instead.

func (*SubscribeTrackingRectangleCommandRequest) ProtoMessage

func (*SubscribeTrackingRectangleCommandRequest) ProtoReflect

func (*SubscribeTrackingRectangleCommandRequest) Reset

func (*SubscribeTrackingRectangleCommandRequest) String

type TrackPoint

type TrackPoint struct {
	PointX float32 `protobuf:"fixed32,1,opt,name=point_x,json=pointX,proto3" json:"point_x,omitempty"` // Point to track x value (normalized 0..1, 0 is left, 1 is right).
	PointY float32 `protobuf:"fixed32,2,opt,name=point_y,json=pointY,proto3" json:"point_y,omitempty"` // Point to track y value (normalized 0..1, 0 is top, 1 is bottom).
	Radius float32 `protobuf:"fixed32,3,opt,name=radius,proto3" json:"radius,omitempty"`               // Point to track y value (normalized 0..1, 0 is top, 1 is bottom).
	// contains filtered or unexported fields
}

Point description type

func (*TrackPoint) Descriptor deprecated

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

Deprecated: Use TrackPoint.ProtoReflect.Descriptor instead.

func (*TrackPoint) GetPointX

func (x *TrackPoint) GetPointX() float32

func (*TrackPoint) GetPointY

func (x *TrackPoint) GetPointY() float32

func (*TrackPoint) GetRadius

func (x *TrackPoint) GetRadius() float32

func (*TrackPoint) ProtoMessage

func (*TrackPoint) ProtoMessage()

func (*TrackPoint) ProtoReflect

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

func (*TrackPoint) Reset

func (x *TrackPoint) Reset()

func (*TrackPoint) String

func (x *TrackPoint) String() string

type TrackRectangle

type TrackRectangle struct {
	TopLeftCornerX     float32 `protobuf:"fixed32,1,opt,name=top_left_corner_x,json=topLeftCornerX,proto3" json:"top_left_corner_x,omitempty"`             // Top left corner of rectangle x value (normalized 0..1, 0 is left, 1 is right).
	TopLeftCornerY     float32 `protobuf:"fixed32,2,opt,name=top_left_corner_y,json=topLeftCornerY,proto3" json:"top_left_corner_y,omitempty"`             // Top left corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom).
	BottomRightCornerX float32 `protobuf:"fixed32,3,opt,name=bottom_right_corner_x,json=bottomRightCornerX,proto3" json:"bottom_right_corner_x,omitempty"` // Bottom right corner of rectangle x value (normalized 0..1, 0 is left, 1 is right).
	BottomRightCornerY float32 `protobuf:"fixed32,4,opt,name=bottom_right_corner_y,json=bottomRightCornerY,proto3" json:"bottom_right_corner_y,omitempty"` // Bottom right corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom).
	// contains filtered or unexported fields
}

Rectangle description type

func (*TrackRectangle) Descriptor deprecated

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

Deprecated: Use TrackRectangle.ProtoReflect.Descriptor instead.

func (*TrackRectangle) GetBottomRightCornerX

func (x *TrackRectangle) GetBottomRightCornerX() float32

func (*TrackRectangle) GetBottomRightCornerY

func (x *TrackRectangle) GetBottomRightCornerY() float32

func (*TrackRectangle) GetTopLeftCornerX

func (x *TrackRectangle) GetTopLeftCornerX() float32

func (*TrackRectangle) GetTopLeftCornerY

func (x *TrackRectangle) GetTopLeftCornerY() float32

func (*TrackRectangle) ProtoMessage

func (*TrackRectangle) ProtoMessage()

func (*TrackRectangle) ProtoReflect

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

func (*TrackRectangle) Reset

func (x *TrackRectangle) Reset()

func (*TrackRectangle) String

func (x *TrackRectangle) String() string

type TrackingOffCommandResponse

type TrackingOffCommandResponse struct {
	Dummy int32 `protobuf:"varint,1,opt,name=dummy,proto3" json:"dummy,omitempty"` // Unused
	// contains filtered or unexported fields
}

func (*TrackingOffCommandResponse) Descriptor deprecated

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

Deprecated: Use TrackingOffCommandResponse.ProtoReflect.Descriptor instead.

func (*TrackingOffCommandResponse) GetDummy

func (x *TrackingOffCommandResponse) GetDummy() int32

func (*TrackingOffCommandResponse) ProtoMessage

func (*TrackingOffCommandResponse) ProtoMessage()

func (*TrackingOffCommandResponse) ProtoReflect

func (*TrackingOffCommandResponse) Reset

func (x *TrackingOffCommandResponse) Reset()

func (*TrackingOffCommandResponse) String

func (x *TrackingOffCommandResponse) String() string

type TrackingPointCommandResponse

type TrackingPointCommandResponse struct {
	TrackPoint *TrackPoint `protobuf:"bytes,1,opt,name=track_point,json=trackPoint,proto3" json:"track_point,omitempty"` // The point to track if a point is to be tracked
	// contains filtered or unexported fields
}

func (*TrackingPointCommandResponse) Descriptor deprecated

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

Deprecated: Use TrackingPointCommandResponse.ProtoReflect.Descriptor instead.

func (*TrackingPointCommandResponse) GetTrackPoint

func (x *TrackingPointCommandResponse) GetTrackPoint() *TrackPoint

func (*TrackingPointCommandResponse) ProtoMessage

func (*TrackingPointCommandResponse) ProtoMessage()

func (*TrackingPointCommandResponse) ProtoReflect

func (*TrackingPointCommandResponse) Reset

func (x *TrackingPointCommandResponse) Reset()

func (*TrackingPointCommandResponse) String

type TrackingRectangleCommandResponse

type TrackingRectangleCommandResponse struct {
	TrackRectangle *TrackRectangle `protobuf:"bytes,1,opt,name=track_rectangle,json=trackRectangle,proto3" json:"track_rectangle,omitempty"` // The point to track if a point is to be tracked
	// contains filtered or unexported fields
}

func (*TrackingRectangleCommandResponse) Descriptor deprecated

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

Deprecated: Use TrackingRectangleCommandResponse.ProtoReflect.Descriptor instead.

func (*TrackingRectangleCommandResponse) GetTrackRectangle

func (x *TrackingRectangleCommandResponse) GetTrackRectangle() *TrackRectangle

func (*TrackingRectangleCommandResponse) ProtoMessage

func (*TrackingRectangleCommandResponse) ProtoMessage()

func (*TrackingRectangleCommandResponse) ProtoReflect

func (*TrackingRectangleCommandResponse) Reset

func (*TrackingRectangleCommandResponse) String

type TrackingServerResult

type TrackingServerResult struct {
	Result TrackingServerResult_Result `` // Result enum value
	/* 126-byte string literal not displayed */
	ResultStr string `protobuf:"bytes,2,opt,name=result_str,json=resultStr,proto3" json:"result_str,omitempty"` // Human-readable English string describing the result
	// contains filtered or unexported fields
}

Result type

func (*TrackingServerResult) Descriptor deprecated

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

Deprecated: Use TrackingServerResult.ProtoReflect.Descriptor instead.

func (*TrackingServerResult) GetResult

func (*TrackingServerResult) GetResultStr

func (x *TrackingServerResult) GetResultStr() string

func (*TrackingServerResult) ProtoMessage

func (*TrackingServerResult) ProtoMessage()

func (*TrackingServerResult) ProtoReflect

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

func (*TrackingServerResult) Reset

func (x *TrackingServerResult) Reset()

func (*TrackingServerResult) String

func (x *TrackingServerResult) String() string

type TrackingServerResult_Result

type TrackingServerResult_Result int32

Possible results returned for tracking_server requests.

const (
	TrackingServerResult_RESULT_UNKNOWN          TrackingServerResult_Result = 0 // Unknown result
	TrackingServerResult_RESULT_SUCCESS          TrackingServerResult_Result = 1 // Request succeeded
	TrackingServerResult_RESULT_NO_SYSTEM        TrackingServerResult_Result = 2 // No system is connected
	TrackingServerResult_RESULT_CONNECTION_ERROR TrackingServerResult_Result = 3 // Connection error
)

func (TrackingServerResult_Result) Descriptor

func (TrackingServerResult_Result) Enum

func (TrackingServerResult_Result) EnumDescriptor deprecated

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

Deprecated: Use TrackingServerResult_Result.Descriptor instead.

func (TrackingServerResult_Result) Number

func (TrackingServerResult_Result) String

func (TrackingServerResult_Result) Type

type TrackingServerServiceClient

type TrackingServerServiceClient interface {
	// Set/update the current point tracking status.
	SetTrackingPointStatus(ctx context.Context, in *SetTrackingPointStatusRequest, opts ...grpc.CallOption) (*SetTrackingPointStatusResponse, error)
	// Set/update the current rectangle tracking status.
	SetTrackingRectangleStatus(ctx context.Context, in *SetTrackingRectangleStatusRequest, opts ...grpc.CallOption) (*SetTrackingRectangleStatusResponse, error)
	// Set the current tracking status to off.
	SetTrackingOffStatus(ctx context.Context, in *SetTrackingOffStatusRequest, opts ...grpc.CallOption) (*SetTrackingOffStatusResponse, error)
	// Subscribe to incoming tracking point command.
	SubscribeTrackingPointCommand(ctx context.Context, in *SubscribeTrackingPointCommandRequest, opts ...grpc.CallOption) (TrackingServerService_SubscribeTrackingPointCommandClient, error)
	// Subscribe to incoming tracking rectangle command.
	SubscribeTrackingRectangleCommand(ctx context.Context, in *SubscribeTrackingRectangleCommandRequest, opts ...grpc.CallOption) (TrackingServerService_SubscribeTrackingRectangleCommandClient, error)
	// Subscribe to incoming tracking off command.
	SubscribeTrackingOffCommand(ctx context.Context, in *SubscribeTrackingOffCommandRequest, opts ...grpc.CallOption) (TrackingServerService_SubscribeTrackingOffCommandClient, error)
	// Respond to an incoming tracking point command.
	RespondTrackingPointCommand(ctx context.Context, in *RespondTrackingPointCommandRequest, opts ...grpc.CallOption) (*RespondTrackingPointCommandResponse, error)
	// Respond to an incoming tracking rectangle command.
	RespondTrackingRectangleCommand(ctx context.Context, in *RespondTrackingRectangleCommandRequest, opts ...grpc.CallOption) (*RespondTrackingRectangleCommandResponse, error)
	// Respond to an incoming tracking off command.
	RespondTrackingOffCommand(ctx context.Context, in *RespondTrackingOffCommandRequest, opts ...grpc.CallOption) (*RespondTrackingOffCommandResponse, error)
}

TrackingServerServiceClient is the client API for TrackingServerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TrackingServerServiceServer

type TrackingServerServiceServer interface {
	// Set/update the current point tracking status.
	SetTrackingPointStatus(context.Context, *SetTrackingPointStatusRequest) (*SetTrackingPointStatusResponse, error)
	// Set/update the current rectangle tracking status.
	SetTrackingRectangleStatus(context.Context, *SetTrackingRectangleStatusRequest) (*SetTrackingRectangleStatusResponse, error)
	// Set the current tracking status to off.
	SetTrackingOffStatus(context.Context, *SetTrackingOffStatusRequest) (*SetTrackingOffStatusResponse, error)
	// Subscribe to incoming tracking point command.
	SubscribeTrackingPointCommand(*SubscribeTrackingPointCommandRequest, TrackingServerService_SubscribeTrackingPointCommandServer) error
	// Subscribe to incoming tracking rectangle command.
	SubscribeTrackingRectangleCommand(*SubscribeTrackingRectangleCommandRequest, TrackingServerService_SubscribeTrackingRectangleCommandServer) error
	// Subscribe to incoming tracking off command.
	SubscribeTrackingOffCommand(*SubscribeTrackingOffCommandRequest, TrackingServerService_SubscribeTrackingOffCommandServer) error
	// Respond to an incoming tracking point command.
	RespondTrackingPointCommand(context.Context, *RespondTrackingPointCommandRequest) (*RespondTrackingPointCommandResponse, error)
	// Respond to an incoming tracking rectangle command.
	RespondTrackingRectangleCommand(context.Context, *RespondTrackingRectangleCommandRequest) (*RespondTrackingRectangleCommandResponse, error)
	// Respond to an incoming tracking off command.
	RespondTrackingOffCommand(context.Context, *RespondTrackingOffCommandRequest) (*RespondTrackingOffCommandResponse, error)
	// contains filtered or unexported methods
}

TrackingServerServiceServer is the server API for TrackingServerService service. All implementations must embed UnimplementedTrackingServerServiceServer for forward compatibility

type TrackingServerService_SubscribeTrackingOffCommandClient

type TrackingServerService_SubscribeTrackingOffCommandClient interface {
	Recv() (*TrackingOffCommandResponse, error)
	grpc.ClientStream
}

type TrackingServerService_SubscribeTrackingOffCommandServer

type TrackingServerService_SubscribeTrackingOffCommandServer interface {
	Send(*TrackingOffCommandResponse) error
	grpc.ServerStream
}

type TrackingServerService_SubscribeTrackingPointCommandClient

type TrackingServerService_SubscribeTrackingPointCommandClient interface {
	Recv() (*TrackingPointCommandResponse, error)
	grpc.ClientStream
}

type TrackingServerService_SubscribeTrackingPointCommandServer

type TrackingServerService_SubscribeTrackingPointCommandServer interface {
	Send(*TrackingPointCommandResponse) error
	grpc.ServerStream
}

type TrackingServerService_SubscribeTrackingRectangleCommandClient

type TrackingServerService_SubscribeTrackingRectangleCommandClient interface {
	Recv() (*TrackingRectangleCommandResponse, error)
	grpc.ClientStream
}

type TrackingServerService_SubscribeTrackingRectangleCommandServer

type TrackingServerService_SubscribeTrackingRectangleCommandServer interface {
	Send(*TrackingRectangleCommandResponse) error
	grpc.ServerStream
}

type UnimplementedTrackingServerServiceServer

type UnimplementedTrackingServerServiceServer struct {
}

UnimplementedTrackingServerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTrackingServerServiceServer) SetTrackingOffStatus

type UnsafeTrackingServerServiceServer

type UnsafeTrackingServerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTrackingServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TrackingServerServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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