Documentation ¶
Index ¶
- Variables
- func RegisterMissionRawServerServiceServer(s grpc.ServiceRegistrar, srv MissionRawServerServiceServer)
- type ClearAllResponse
- type CurrentItemChangedResponse
- func (*CurrentItemChangedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentItemChangedResponse) GetMissionItem() *MissionItem
- func (*CurrentItemChangedResponse) ProtoMessage()
- func (x *CurrentItemChangedResponse) ProtoReflect() protoreflect.Message
- func (x *CurrentItemChangedResponse) Reset()
- func (x *CurrentItemChangedResponse) String() string
- type IncomingMissionResponse
- func (*IncomingMissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IncomingMissionResponse) GetMissionPlan() *MissionPlan
- func (x *IncomingMissionResponse) GetMissionRawServerResult() *MissionRawServerResult
- func (*IncomingMissionResponse) ProtoMessage()
- func (x *IncomingMissionResponse) ProtoReflect() protoreflect.Message
- func (x *IncomingMissionResponse) Reset()
- func (x *IncomingMissionResponse) String() string
- type MissionItem
- func (*MissionItem) Descriptor() ([]byte, []int)deprecated
- func (x *MissionItem) GetAutocontinue() uint32
- func (x *MissionItem) GetCommand() uint32
- func (x *MissionItem) GetCurrent() uint32
- func (x *MissionItem) GetFrame() uint32
- func (x *MissionItem) GetMissionType() uint32
- func (x *MissionItem) GetParam1() float32
- func (x *MissionItem) GetParam2() float32
- func (x *MissionItem) GetParam3() float32
- func (x *MissionItem) GetParam4() float32
- func (x *MissionItem) GetSeq() uint32
- func (x *MissionItem) GetX() int32
- func (x *MissionItem) GetY() int32
- func (x *MissionItem) GetZ() float32
- func (*MissionItem) ProtoMessage()
- func (x *MissionItem) ProtoReflect() protoreflect.Message
- func (x *MissionItem) Reset()
- func (x *MissionItem) String() string
- type MissionPlan
- type MissionProgress
- func (*MissionProgress) Descriptor() ([]byte, []int)deprecated
- func (x *MissionProgress) GetCurrent() int32
- func (x *MissionProgress) GetTotal() int32
- func (*MissionProgress) ProtoMessage()
- func (x *MissionProgress) ProtoReflect() protoreflect.Message
- func (x *MissionProgress) Reset()
- func (x *MissionProgress) String() string
- type MissionRawServerResult
- func (*MissionRawServerResult) Descriptor() ([]byte, []int)deprecated
- func (x *MissionRawServerResult) GetResult() MissionRawServerResult_Result
- func (x *MissionRawServerResult) GetResultStr() string
- func (*MissionRawServerResult) ProtoMessage()
- func (x *MissionRawServerResult) ProtoReflect() protoreflect.Message
- func (x *MissionRawServerResult) Reset()
- func (x *MissionRawServerResult) String() string
- type MissionRawServerResult_Result
- func (MissionRawServerResult_Result) Descriptor() protoreflect.EnumDescriptor
- func (x MissionRawServerResult_Result) Enum() *MissionRawServerResult_Result
- func (MissionRawServerResult_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x MissionRawServerResult_Result) Number() protoreflect.EnumNumber
- func (x MissionRawServerResult_Result) String() string
- func (MissionRawServerResult_Result) Type() protoreflect.EnumType
- type MissionRawServerServiceClient
- type MissionRawServerServiceServer
- type MissionRawServerService_SubscribeClearAllClient
- type MissionRawServerService_SubscribeClearAllServer
- type MissionRawServerService_SubscribeCurrentItemChangedClient
- type MissionRawServerService_SubscribeCurrentItemChangedServer
- type MissionRawServerService_SubscribeIncomingMissionClient
- type MissionRawServerService_SubscribeIncomingMissionServer
- type ServiceImpl
- func (a *ServiceImpl) ClearAll(ctx context.Context) (<-chan uint32, error)
- func (a *ServiceImpl) CurrentItemChanged(ctx context.Context) (<-chan *MissionItem, error)
- func (a *ServiceImpl) IncomingMission(ctx context.Context) (<-chan *MissionPlan, error)
- func (s *ServiceImpl) SetCurrentItemComplete(ctx context.Context) (*SetCurrentItemCompleteResponse, error)
- type SetCurrentItemCompleteRequest
- func (*SetCurrentItemCompleteRequest) Descriptor() ([]byte, []int)deprecated
- func (*SetCurrentItemCompleteRequest) ProtoMessage()
- func (x *SetCurrentItemCompleteRequest) ProtoReflect() protoreflect.Message
- func (x *SetCurrentItemCompleteRequest) Reset()
- func (x *SetCurrentItemCompleteRequest) String() string
- type SetCurrentItemCompleteResponse
- func (*SetCurrentItemCompleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetCurrentItemCompleteResponse) ProtoMessage()
- func (x *SetCurrentItemCompleteResponse) ProtoReflect() protoreflect.Message
- func (x *SetCurrentItemCompleteResponse) Reset()
- func (x *SetCurrentItemCompleteResponse) String() string
- type SubscribeClearAllRequest
- type SubscribeCurrentItemChangedRequest
- func (*SubscribeCurrentItemChangedRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeCurrentItemChangedRequest) ProtoMessage()
- func (x *SubscribeCurrentItemChangedRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeCurrentItemChangedRequest) Reset()
- func (x *SubscribeCurrentItemChangedRequest) String() string
- type SubscribeIncomingMissionRequest
- func (*SubscribeIncomingMissionRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeIncomingMissionRequest) ProtoMessage()
- func (x *SubscribeIncomingMissionRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeIncomingMissionRequest) Reset()
- func (x *SubscribeIncomingMissionRequest) String() string
- type UnimplementedMissionRawServerServiceServer
- func (UnimplementedMissionRawServerServiceServer) SetCurrentItemComplete(context.Context, *SetCurrentItemCompleteRequest) (*SetCurrentItemCompleteResponse, error)
- func (UnimplementedMissionRawServerServiceServer) SubscribeClearAll(*SubscribeClearAllRequest, MissionRawServerService_SubscribeClearAllServer) error
- func (UnimplementedMissionRawServerServiceServer) SubscribeCurrentItemChanged(*SubscribeCurrentItemChangedRequest, ...) error
- func (UnimplementedMissionRawServerServiceServer) SubscribeIncomingMission(*SubscribeIncomingMissionRequest, ...) error
- type UnsafeMissionRawServerServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( MissionRawServerResult_Result_name = map[int32]string{ 0: "RESULT_UNKNOWN", 1: "RESULT_SUCCESS", 2: "RESULT_ERROR", 3: "RESULT_TOO_MANY_MISSION_ITEMS", 4: "RESULT_BUSY", 5: "RESULT_TIMEOUT", 6: "RESULT_INVALID_ARGUMENT", 7: "RESULT_UNSUPPORTED", 8: "RESULT_NO_MISSION_AVAILABLE", 11: "RESULT_UNSUPPORTED_MISSION_CMD", 12: "RESULT_TRANSFER_CANCELLED", 13: "RESULT_NO_SYSTEM", 14: "RESULT_NEXT", } MissionRawServerResult_Result_value = map[string]int32{ "RESULT_UNKNOWN": 0, "RESULT_SUCCESS": 1, "RESULT_ERROR": 2, "RESULT_TOO_MANY_MISSION_ITEMS": 3, "RESULT_BUSY": 4, "RESULT_TIMEOUT": 5, "RESULT_INVALID_ARGUMENT": 6, "RESULT_UNSUPPORTED": 7, "RESULT_NO_MISSION_AVAILABLE": 8, "RESULT_UNSUPPORTED_MISSION_CMD": 11, "RESULT_TRANSFER_CANCELLED": 12, "RESULT_NO_SYSTEM": 13, "RESULT_NEXT": 14, } )
Enum value maps for MissionRawServerResult_Result.
var File_mission_raw_server_proto protoreflect.FileDescriptor
var MissionRawServerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mavsdk.rpc.mission_raw_server.MissionRawServerService", HandlerType: (*MissionRawServerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetCurrentItemComplete", Handler: _MissionRawServerService_SetCurrentItemComplete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeIncomingMission", Handler: _MissionRawServerService_SubscribeIncomingMission_Handler, ServerStreams: true, }, { StreamName: "SubscribeCurrentItemChanged", Handler: _MissionRawServerService_SubscribeCurrentItemChanged_Handler, ServerStreams: true, }, { StreamName: "SubscribeClearAll", Handler: _MissionRawServerService_SubscribeClearAll_Handler, ServerStreams: true, }, }, Metadata: "mission_raw_server.proto", }
MissionRawServerService_ServiceDesc is the grpc.ServiceDesc for MissionRawServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMissionRawServerServiceServer ¶
func RegisterMissionRawServerServiceServer(s grpc.ServiceRegistrar, srv MissionRawServerServiceServer)
Types ¶
type ClearAllResponse ¶
type ClearAllResponse struct { ClearType uint32 `protobuf:"varint,1,opt,name=clear_type,json=clearType,proto3" json:"clear_type,omitempty"` // contains filtered or unexported fields }
func (*ClearAllResponse) Descriptor
deprecated
func (*ClearAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClearAllResponse.ProtoReflect.Descriptor instead.
func (*ClearAllResponse) GetClearType ¶
func (x *ClearAllResponse) GetClearType() uint32
func (*ClearAllResponse) ProtoMessage ¶
func (*ClearAllResponse) ProtoMessage()
func (*ClearAllResponse) ProtoReflect ¶
func (x *ClearAllResponse) ProtoReflect() protoreflect.Message
func (*ClearAllResponse) Reset ¶
func (x *ClearAllResponse) Reset()
func (*ClearAllResponse) String ¶
func (x *ClearAllResponse) String() string
type CurrentItemChangedResponse ¶
type CurrentItemChangedResponse struct { MissionItem *MissionItem `protobuf:"bytes,1,opt,name=mission_item,json=missionItem,proto3" json:"mission_item,omitempty"` // contains filtered or unexported fields }
func (*CurrentItemChangedResponse) Descriptor
deprecated
func (*CurrentItemChangedResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrentItemChangedResponse.ProtoReflect.Descriptor instead.
func (*CurrentItemChangedResponse) GetMissionItem ¶
func (x *CurrentItemChangedResponse) GetMissionItem() *MissionItem
func (*CurrentItemChangedResponse) ProtoMessage ¶
func (*CurrentItemChangedResponse) ProtoMessage()
func (*CurrentItemChangedResponse) ProtoReflect ¶
func (x *CurrentItemChangedResponse) ProtoReflect() protoreflect.Message
func (*CurrentItemChangedResponse) Reset ¶
func (x *CurrentItemChangedResponse) Reset()
func (*CurrentItemChangedResponse) String ¶
func (x *CurrentItemChangedResponse) String() string
type IncomingMissionResponse ¶
type IncomingMissionResponse struct { MissionRawServerResult *MissionRawServerResult `` /* 131-byte string literal not displayed */ MissionPlan *MissionPlan `protobuf:"bytes,2,opt,name=mission_plan,json=missionPlan,proto3" json:"mission_plan,omitempty"` // The mission plan // contains filtered or unexported fields }
func (*IncomingMissionResponse) Descriptor
deprecated
func (*IncomingMissionResponse) Descriptor() ([]byte, []int)
Deprecated: Use IncomingMissionResponse.ProtoReflect.Descriptor instead.
func (*IncomingMissionResponse) GetMissionPlan ¶
func (x *IncomingMissionResponse) GetMissionPlan() *MissionPlan
func (*IncomingMissionResponse) GetMissionRawServerResult ¶
func (x *IncomingMissionResponse) GetMissionRawServerResult() *MissionRawServerResult
func (*IncomingMissionResponse) ProtoMessage ¶
func (*IncomingMissionResponse) ProtoMessage()
func (*IncomingMissionResponse) ProtoReflect ¶
func (x *IncomingMissionResponse) ProtoReflect() protoreflect.Message
func (*IncomingMissionResponse) Reset ¶
func (x *IncomingMissionResponse) Reset()
func (*IncomingMissionResponse) String ¶
func (x *IncomingMissionResponse) String() string
type MissionItem ¶
type MissionItem struct { Seq uint32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` // Sequence (uint16_t) Frame uint32 `protobuf:"varint,2,opt,name=frame,proto3" json:"frame,omitempty"` // The coordinate system of the waypoint (actually uint8_t) Command uint32 `protobuf:"varint,3,opt,name=command,proto3" json:"command,omitempty"` // The scheduled action for the waypoint (actually uint16_t) Current uint32 `protobuf:"varint,4,opt,name=current,proto3" json:"current,omitempty"` // false:0, true:1 (actually uint8_t) Autocontinue uint32 `protobuf:"varint,5,opt,name=autocontinue,proto3" json:"autocontinue,omitempty"` // Autocontinue to next waypoint (actually uint8_t) Param1 float32 `protobuf:"fixed32,6,opt,name=param1,proto3" json:"param1,omitempty"` // PARAM1, see MAV_CMD enum Param2 float32 `protobuf:"fixed32,7,opt,name=param2,proto3" json:"param2,omitempty"` // PARAM2, see MAV_CMD enum Param3 float32 `protobuf:"fixed32,8,opt,name=param3,proto3" json:"param3,omitempty"` // PARAM3, see MAV_CMD enum Param4 float32 `protobuf:"fixed32,9,opt,name=param4,proto3" json:"param4,omitempty"` // PARAM4, see MAV_CMD enum X int32 `protobuf:"varint,10,opt,name=x,proto3" json:"x,omitempty"` // PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 Y int32 `protobuf:"varint,11,opt,name=y,proto3" json:"y,omitempty"` // PARAM6 / y position: local: x position in meters * 1e4, global: longitude in degrees *10^7 Z float32 `protobuf:"fixed32,12,opt,name=z,proto3" json:"z,omitempty"` // PARAM7 / local: Z coordinate, global: altitude (relative or absolute, depending on frame) MissionType uint32 `protobuf:"varint,13,opt,name=mission_type,json=missionType,proto3" json:"mission_type,omitempty"` // Mission type (actually uint8_t) // contains filtered or unexported fields }
Mission item exactly identical to MAVLink MISSION_ITEM_INT.
func (*MissionItem) Descriptor
deprecated
func (*MissionItem) Descriptor() ([]byte, []int)
Deprecated: Use MissionItem.ProtoReflect.Descriptor instead.
func (*MissionItem) GetAutocontinue ¶
func (x *MissionItem) GetAutocontinue() uint32
func (*MissionItem) GetCommand ¶
func (x *MissionItem) GetCommand() uint32
func (*MissionItem) GetCurrent ¶
func (x *MissionItem) GetCurrent() uint32
func (*MissionItem) GetFrame ¶
func (x *MissionItem) GetFrame() uint32
func (*MissionItem) GetMissionType ¶
func (x *MissionItem) GetMissionType() uint32
func (*MissionItem) GetParam1 ¶
func (x *MissionItem) GetParam1() float32
func (*MissionItem) GetParam2 ¶
func (x *MissionItem) GetParam2() float32
func (*MissionItem) GetParam3 ¶
func (x *MissionItem) GetParam3() float32
func (*MissionItem) GetParam4 ¶
func (x *MissionItem) GetParam4() float32
func (*MissionItem) GetSeq ¶
func (x *MissionItem) GetSeq() uint32
func (*MissionItem) GetX ¶
func (x *MissionItem) GetX() int32
func (*MissionItem) GetY ¶
func (x *MissionItem) GetY() int32
func (*MissionItem) GetZ ¶
func (x *MissionItem) GetZ() float32
func (*MissionItem) ProtoMessage ¶
func (*MissionItem) ProtoMessage()
func (*MissionItem) ProtoReflect ¶
func (x *MissionItem) ProtoReflect() protoreflect.Message
func (*MissionItem) Reset ¶
func (x *MissionItem) Reset()
func (*MissionItem) String ¶
func (x *MissionItem) String() string
type MissionPlan ¶
type MissionPlan struct { MissionItems []*MissionItem `protobuf:"bytes,1,rep,name=mission_items,json=missionItems,proto3" json:"mission_items,omitempty"` // The mission items // contains filtered or unexported fields }
Mission plan type
func (*MissionPlan) Descriptor
deprecated
func (*MissionPlan) Descriptor() ([]byte, []int)
Deprecated: Use MissionPlan.ProtoReflect.Descriptor instead.
func (*MissionPlan) GetMissionItems ¶
func (x *MissionPlan) GetMissionItems() []*MissionItem
func (*MissionPlan) ProtoMessage ¶
func (*MissionPlan) ProtoMessage()
func (*MissionPlan) ProtoReflect ¶
func (x *MissionPlan) ProtoReflect() protoreflect.Message
func (*MissionPlan) Reset ¶
func (x *MissionPlan) Reset()
func (*MissionPlan) String ¶
func (x *MissionPlan) String() string
type MissionProgress ¶
type MissionProgress struct { Current int32 `protobuf:"varint,1,opt,name=current,proto3" json:"current,omitempty"` // Current mission item index (0-based), if equal to total, the mission is finished Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // Total number of mission items // contains filtered or unexported fields }
Mission progress type.
func (*MissionProgress) Descriptor
deprecated
func (*MissionProgress) Descriptor() ([]byte, []int)
Deprecated: Use MissionProgress.ProtoReflect.Descriptor instead.
func (*MissionProgress) GetCurrent ¶
func (x *MissionProgress) GetCurrent() int32
func (*MissionProgress) GetTotal ¶
func (x *MissionProgress) GetTotal() int32
func (*MissionProgress) ProtoMessage ¶
func (*MissionProgress) ProtoMessage()
func (*MissionProgress) ProtoReflect ¶
func (x *MissionProgress) ProtoReflect() protoreflect.Message
func (*MissionProgress) Reset ¶
func (x *MissionProgress) Reset()
func (*MissionProgress) String ¶
func (x *MissionProgress) String() string
type MissionRawServerResult ¶
type MissionRawServerResult struct { Result MissionRawServerResult_Result `` // Result enum value /* 131-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 (*MissionRawServerResult) Descriptor
deprecated
func (*MissionRawServerResult) Descriptor() ([]byte, []int)
Deprecated: Use MissionRawServerResult.ProtoReflect.Descriptor instead.
func (*MissionRawServerResult) GetResult ¶
func (x *MissionRawServerResult) GetResult() MissionRawServerResult_Result
func (*MissionRawServerResult) GetResultStr ¶
func (x *MissionRawServerResult) GetResultStr() string
func (*MissionRawServerResult) ProtoMessage ¶
func (*MissionRawServerResult) ProtoMessage()
func (*MissionRawServerResult) ProtoReflect ¶
func (x *MissionRawServerResult) ProtoReflect() protoreflect.Message
func (*MissionRawServerResult) Reset ¶
func (x *MissionRawServerResult) Reset()
func (*MissionRawServerResult) String ¶
func (x *MissionRawServerResult) String() string
type MissionRawServerResult_Result ¶
type MissionRawServerResult_Result int32
Possible results returned for action requests.
const ( MissionRawServerResult_RESULT_UNKNOWN MissionRawServerResult_Result = 0 // Unknown result MissionRawServerResult_RESULT_SUCCESS MissionRawServerResult_Result = 1 // Request succeeded MissionRawServerResult_RESULT_ERROR MissionRawServerResult_Result = 2 // Error MissionRawServerResult_RESULT_TOO_MANY_MISSION_ITEMS MissionRawServerResult_Result = 3 // Too many mission items in the mission MissionRawServerResult_RESULT_BUSY MissionRawServerResult_Result = 4 // Vehicle is busy MissionRawServerResult_RESULT_TIMEOUT MissionRawServerResult_Result = 5 // Request timed out MissionRawServerResult_RESULT_INVALID_ARGUMENT MissionRawServerResult_Result = 6 // Invalid argument MissionRawServerResult_RESULT_UNSUPPORTED MissionRawServerResult_Result = 7 // Mission downloaded from the system is not supported MissionRawServerResult_RESULT_NO_MISSION_AVAILABLE MissionRawServerResult_Result = 8 // No mission available on the system MissionRawServerResult_RESULT_UNSUPPORTED_MISSION_CMD MissionRawServerResult_Result = 11 // Unsupported mission command MissionRawServerResult_RESULT_TRANSFER_CANCELLED MissionRawServerResult_Result = 12 // Mission transfer (upload or download) has been cancelled MissionRawServerResult_RESULT_NO_SYSTEM MissionRawServerResult_Result = 13 // No system connected MissionRawServerResult_RESULT_NEXT MissionRawServerResult_Result = 14 // Intermediate message showing progress or instructions on the next steps )
func (MissionRawServerResult_Result) Descriptor ¶
func (MissionRawServerResult_Result) Descriptor() protoreflect.EnumDescriptor
func (MissionRawServerResult_Result) Enum ¶
func (x MissionRawServerResult_Result) Enum() *MissionRawServerResult_Result
func (MissionRawServerResult_Result) EnumDescriptor
deprecated
func (MissionRawServerResult_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use MissionRawServerResult_Result.Descriptor instead.
func (MissionRawServerResult_Result) Number ¶
func (x MissionRawServerResult_Result) Number() protoreflect.EnumNumber
func (MissionRawServerResult_Result) String ¶
func (x MissionRawServerResult_Result) String() string
func (MissionRawServerResult_Result) Type ¶
func (MissionRawServerResult_Result) Type() protoreflect.EnumType
type MissionRawServerServiceClient ¶
type MissionRawServerServiceClient interface { // Subscribe to when a new mission is uploaded (asynchronous). SubscribeIncomingMission(ctx context.Context, in *SubscribeIncomingMissionRequest, opts ...grpc.CallOption) (MissionRawServerService_SubscribeIncomingMissionClient, error) // Subscribe to when a new current item is set SubscribeCurrentItemChanged(ctx context.Context, in *SubscribeCurrentItemChangedRequest, opts ...grpc.CallOption) (MissionRawServerService_SubscribeCurrentItemChangedClient, error) // Set Current item as completed SetCurrentItemComplete(ctx context.Context, in *SetCurrentItemCompleteRequest, opts ...grpc.CallOption) (*SetCurrentItemCompleteResponse, error) // Subscribe when a MISSION_CLEAR_ALL is received SubscribeClearAll(ctx context.Context, in *SubscribeClearAllRequest, opts ...grpc.CallOption) (MissionRawServerService_SubscribeClearAllClient, error) }
MissionRawServerServiceClient is the client API for MissionRawServerService 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.
func NewMissionRawServerServiceClient ¶
func NewMissionRawServerServiceClient(cc grpc.ClientConnInterface) MissionRawServerServiceClient
type MissionRawServerServiceServer ¶
type MissionRawServerServiceServer interface { // Subscribe to when a new mission is uploaded (asynchronous). SubscribeIncomingMission(*SubscribeIncomingMissionRequest, MissionRawServerService_SubscribeIncomingMissionServer) error // Subscribe to when a new current item is set SubscribeCurrentItemChanged(*SubscribeCurrentItemChangedRequest, MissionRawServerService_SubscribeCurrentItemChangedServer) error // Set Current item as completed SetCurrentItemComplete(context.Context, *SetCurrentItemCompleteRequest) (*SetCurrentItemCompleteResponse, error) // Subscribe when a MISSION_CLEAR_ALL is received SubscribeClearAll(*SubscribeClearAllRequest, MissionRawServerService_SubscribeClearAllServer) error // contains filtered or unexported methods }
MissionRawServerServiceServer is the server API for MissionRawServerService service. All implementations must embed UnimplementedMissionRawServerServiceServer for forward compatibility
type MissionRawServerService_SubscribeClearAllClient ¶
type MissionRawServerService_SubscribeClearAllClient interface { Recv() (*ClearAllResponse, error) grpc.ClientStream }
type MissionRawServerService_SubscribeClearAllServer ¶
type MissionRawServerService_SubscribeClearAllServer interface { Send(*ClearAllResponse) error grpc.ServerStream }
type MissionRawServerService_SubscribeCurrentItemChangedClient ¶
type MissionRawServerService_SubscribeCurrentItemChangedClient interface { Recv() (*CurrentItemChangedResponse, error) grpc.ClientStream }
type MissionRawServerService_SubscribeCurrentItemChangedServer ¶
type MissionRawServerService_SubscribeCurrentItemChangedServer interface { Send(*CurrentItemChangedResponse) error grpc.ServerStream }
type MissionRawServerService_SubscribeIncomingMissionClient ¶
type MissionRawServerService_SubscribeIncomingMissionClient interface { Recv() (*IncomingMissionResponse, error) grpc.ClientStream }
type MissionRawServerService_SubscribeIncomingMissionServer ¶
type MissionRawServerService_SubscribeIncomingMissionServer interface { Send(*IncomingMissionResponse) error grpc.ServerStream }
type ServiceImpl ¶
type ServiceImpl struct {
Client MissionRawServerServiceClient
}
func (*ServiceImpl) ClearAll ¶
func (a *ServiceImpl) ClearAll(ctx context.Context) (<-chan uint32, error)
func (*ServiceImpl) CurrentItemChanged ¶
func (a *ServiceImpl) CurrentItemChanged(ctx context.Context) (<-chan *MissionItem, error)
func (*ServiceImpl) IncomingMission ¶
func (a *ServiceImpl) IncomingMission(ctx context.Context) (<-chan *MissionPlan, error)
func (*ServiceImpl) SetCurrentItemComplete ¶
func (s *ServiceImpl) SetCurrentItemComplete(ctx context.Context) (*SetCurrentItemCompleteResponse, error)
type SetCurrentItemCompleteRequest ¶
type SetCurrentItemCompleteRequest struct {
// contains filtered or unexported fields
}
func (*SetCurrentItemCompleteRequest) Descriptor
deprecated
func (*SetCurrentItemCompleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCurrentItemCompleteRequest.ProtoReflect.Descriptor instead.
func (*SetCurrentItemCompleteRequest) ProtoMessage ¶
func (*SetCurrentItemCompleteRequest) ProtoMessage()
func (*SetCurrentItemCompleteRequest) ProtoReflect ¶
func (x *SetCurrentItemCompleteRequest) ProtoReflect() protoreflect.Message
func (*SetCurrentItemCompleteRequest) Reset ¶
func (x *SetCurrentItemCompleteRequest) Reset()
func (*SetCurrentItemCompleteRequest) String ¶
func (x *SetCurrentItemCompleteRequest) String() string
type SetCurrentItemCompleteResponse ¶
type SetCurrentItemCompleteResponse struct {
// contains filtered or unexported fields
}
func (*SetCurrentItemCompleteResponse) Descriptor
deprecated
func (*SetCurrentItemCompleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetCurrentItemCompleteResponse.ProtoReflect.Descriptor instead.
func (*SetCurrentItemCompleteResponse) ProtoMessage ¶
func (*SetCurrentItemCompleteResponse) ProtoMessage()
func (*SetCurrentItemCompleteResponse) ProtoReflect ¶
func (x *SetCurrentItemCompleteResponse) ProtoReflect() protoreflect.Message
func (*SetCurrentItemCompleteResponse) Reset ¶
func (x *SetCurrentItemCompleteResponse) Reset()
func (*SetCurrentItemCompleteResponse) String ¶
func (x *SetCurrentItemCompleteResponse) String() string
type SubscribeClearAllRequest ¶
type SubscribeClearAllRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeClearAllRequest) Descriptor
deprecated
func (*SubscribeClearAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeClearAllRequest.ProtoReflect.Descriptor instead.
func (*SubscribeClearAllRequest) ProtoMessage ¶
func (*SubscribeClearAllRequest) ProtoMessage()
func (*SubscribeClearAllRequest) ProtoReflect ¶
func (x *SubscribeClearAllRequest) ProtoReflect() protoreflect.Message
func (*SubscribeClearAllRequest) Reset ¶
func (x *SubscribeClearAllRequest) Reset()
func (*SubscribeClearAllRequest) String ¶
func (x *SubscribeClearAllRequest) String() string
type SubscribeCurrentItemChangedRequest ¶
type SubscribeCurrentItemChangedRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeCurrentItemChangedRequest) Descriptor
deprecated
func (*SubscribeCurrentItemChangedRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeCurrentItemChangedRequest.ProtoReflect.Descriptor instead.
func (*SubscribeCurrentItemChangedRequest) ProtoMessage ¶
func (*SubscribeCurrentItemChangedRequest) ProtoMessage()
func (*SubscribeCurrentItemChangedRequest) ProtoReflect ¶
func (x *SubscribeCurrentItemChangedRequest) ProtoReflect() protoreflect.Message
func (*SubscribeCurrentItemChangedRequest) Reset ¶
func (x *SubscribeCurrentItemChangedRequest) Reset()
func (*SubscribeCurrentItemChangedRequest) String ¶
func (x *SubscribeCurrentItemChangedRequest) String() string
type SubscribeIncomingMissionRequest ¶
type SubscribeIncomingMissionRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeIncomingMissionRequest) Descriptor
deprecated
func (*SubscribeIncomingMissionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeIncomingMissionRequest.ProtoReflect.Descriptor instead.
func (*SubscribeIncomingMissionRequest) ProtoMessage ¶
func (*SubscribeIncomingMissionRequest) ProtoMessage()
func (*SubscribeIncomingMissionRequest) ProtoReflect ¶
func (x *SubscribeIncomingMissionRequest) ProtoReflect() protoreflect.Message
func (*SubscribeIncomingMissionRequest) Reset ¶
func (x *SubscribeIncomingMissionRequest) Reset()
func (*SubscribeIncomingMissionRequest) String ¶
func (x *SubscribeIncomingMissionRequest) String() string
type UnimplementedMissionRawServerServiceServer ¶
type UnimplementedMissionRawServerServiceServer struct { }
UnimplementedMissionRawServerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMissionRawServerServiceServer) SetCurrentItemComplete ¶
func (UnimplementedMissionRawServerServiceServer) SetCurrentItemComplete(context.Context, *SetCurrentItemCompleteRequest) (*SetCurrentItemCompleteResponse, error)
func (UnimplementedMissionRawServerServiceServer) SubscribeClearAll ¶
func (UnimplementedMissionRawServerServiceServer) SubscribeClearAll(*SubscribeClearAllRequest, MissionRawServerService_SubscribeClearAllServer) error
func (UnimplementedMissionRawServerServiceServer) SubscribeCurrentItemChanged ¶
func (UnimplementedMissionRawServerServiceServer) SubscribeCurrentItemChanged(*SubscribeCurrentItemChangedRequest, MissionRawServerService_SubscribeCurrentItemChangedServer) error
func (UnimplementedMissionRawServerServiceServer) SubscribeIncomingMission ¶
func (UnimplementedMissionRawServerServiceServer) SubscribeIncomingMission(*SubscribeIncomingMissionRequest, MissionRawServerService_SubscribeIncomingMissionServer) error
type UnsafeMissionRawServerServiceServer ¶
type UnsafeMissionRawServerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMissionRawServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MissionRawServerServiceServer will result in compilation errors.