Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterActionServerServiceServer(s grpc.ServiceRegistrar, srv ActionServerServiceServer)
- type ActionServerResult
- func (*ActionServerResult) Descriptor() ([]byte, []int)deprecated
- func (x *ActionServerResult) GetResult() ActionServerResult_Result
- func (x *ActionServerResult) GetResultStr() string
- func (*ActionServerResult) ProtoMessage()
- func (x *ActionServerResult) ProtoReflect() protoreflect.Message
- func (x *ActionServerResult) Reset()
- func (x *ActionServerResult) String() string
- type ActionServerResult_Result
- func (ActionServerResult_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ActionServerResult_Result) Enum() *ActionServerResult_Result
- func (ActionServerResult_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActionServerResult_Result) Number() protoreflect.EnumNumber
- func (x ActionServerResult_Result) String() string
- func (ActionServerResult_Result) Type() protoreflect.EnumType
- type ActionServerServiceClient
- type ActionServerServiceServer
- type ActionServerService_SubscribeArmDisarmClient
- type ActionServerService_SubscribeArmDisarmServer
- type ActionServerService_SubscribeFlightModeChangeClient
- type ActionServerService_SubscribeFlightModeChangeServer
- type ActionServerService_SubscribeLandClient
- type ActionServerService_SubscribeLandServer
- type ActionServerService_SubscribeRebootClient
- type ActionServerService_SubscribeRebootServer
- type ActionServerService_SubscribeShutdownClient
- type ActionServerService_SubscribeShutdownServer
- type ActionServerService_SubscribeTakeoffClient
- type ActionServerService_SubscribeTakeoffServer
- type ActionServerService_SubscribeTerminateClient
- type ActionServerService_SubscribeTerminateServer
- type AllowableFlightModes
- func (*AllowableFlightModes) Descriptor() ([]byte, []int)deprecated
- func (x *AllowableFlightModes) GetCanAutoMode() bool
- func (x *AllowableFlightModes) GetCanGuidedMode() bool
- func (x *AllowableFlightModes) GetCanStabilizeMode() bool
- func (*AllowableFlightModes) ProtoMessage()
- func (x *AllowableFlightModes) ProtoReflect() protoreflect.Message
- func (x *AllowableFlightModes) Reset()
- func (x *AllowableFlightModes) String() string
- type ArmDisarm
- type ArmDisarmResponse
- func (*ArmDisarmResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArmDisarmResponse) GetActionServerResult() *ActionServerResult
- func (x *ArmDisarmResponse) GetArm() *ArmDisarm
- func (*ArmDisarmResponse) ProtoMessage()
- func (x *ArmDisarmResponse) ProtoReflect() protoreflect.Message
- func (x *ArmDisarmResponse) Reset()
- func (x *ArmDisarmResponse) String() string
- type FlightMode
- type FlightModeChangeResponse
- func (*FlightModeChangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FlightModeChangeResponse) GetActionServerResult() *ActionServerResult
- func (x *FlightModeChangeResponse) GetFlightMode() FlightMode
- func (*FlightModeChangeResponse) ProtoMessage()
- func (x *FlightModeChangeResponse) ProtoReflect() protoreflect.Message
- func (x *FlightModeChangeResponse) Reset()
- func (x *FlightModeChangeResponse) String() string
- type GetAllowableFlightModesRequest
- func (*GetAllowableFlightModesRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAllowableFlightModesRequest) ProtoMessage()
- func (x *GetAllowableFlightModesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllowableFlightModesRequest) Reset()
- func (x *GetAllowableFlightModesRequest) String() string
- type GetAllowableFlightModesResponse
- func (*GetAllowableFlightModesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllowableFlightModesResponse) GetFlightModes() *AllowableFlightModes
- func (*GetAllowableFlightModesResponse) ProtoMessage()
- func (x *GetAllowableFlightModesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllowableFlightModesResponse) Reset()
- func (x *GetAllowableFlightModesResponse) String() string
- type LandResponse
- func (*LandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LandResponse) GetActionServerResult() *ActionServerResult
- func (x *LandResponse) GetLand() bool
- func (*LandResponse) ProtoMessage()
- func (x *LandResponse) ProtoReflect() protoreflect.Message
- func (x *LandResponse) Reset()
- func (x *LandResponse) String() string
- type RebootResponse
- func (*RebootResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RebootResponse) GetActionServerResult() *ActionServerResult
- func (x *RebootResponse) GetReboot() bool
- func (*RebootResponse) ProtoMessage()
- func (x *RebootResponse) ProtoReflect() protoreflect.Message
- func (x *RebootResponse) Reset()
- func (x *RebootResponse) String() string
- type ServiceImpl
- func (a *ServiceImpl) ArmDisarm(ctx context.Context) (<-chan *ArmDisarm, error)
- func (a *ServiceImpl) FlightModeChange(ctx context.Context) (<-chan FlightMode, error)
- func (s *ServiceImpl) GetAllowableFlightModes(ctx context.Context) (*GetAllowableFlightModesResponse, error)
- func (a *ServiceImpl) Land(ctx context.Context) (<-chan bool, error)
- func (a *ServiceImpl) Reboot(ctx context.Context) (<-chan bool, error)
- func (s *ServiceImpl) SetAllowTakeoff(ctx context.Context, allowTakeoff bool) (*SetAllowTakeoffResponse, error)
- func (s *ServiceImpl) SetAllowableFlightModes(ctx context.Context, flightModes *AllowableFlightModes) (*SetAllowableFlightModesResponse, error)
- func (s *ServiceImpl) SetArmable(ctx context.Context, armable bool, forceArmable bool) (*SetArmableResponse, error)
- func (s *ServiceImpl) SetDisarmable(ctx context.Context, disarmable bool, forceDisarmable bool) (*SetDisarmableResponse, error)
- func (a *ServiceImpl) Shutdown(ctx context.Context) (<-chan bool, error)
- func (a *ServiceImpl) Takeoff(ctx context.Context) (<-chan bool, error)
- func (a *ServiceImpl) Terminate(ctx context.Context) (<-chan bool, error)
- type SetAllowTakeoffRequest
- func (*SetAllowTakeoffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAllowTakeoffRequest) GetAllowTakeoff() bool
- func (*SetAllowTakeoffRequest) ProtoMessage()
- func (x *SetAllowTakeoffRequest) ProtoReflect() protoreflect.Message
- func (x *SetAllowTakeoffRequest) Reset()
- func (x *SetAllowTakeoffRequest) String() string
- type SetAllowTakeoffResponse
- func (*SetAllowTakeoffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetAllowTakeoffResponse) GetActionServerResult() *ActionServerResult
- func (*SetAllowTakeoffResponse) ProtoMessage()
- func (x *SetAllowTakeoffResponse) ProtoReflect() protoreflect.Message
- func (x *SetAllowTakeoffResponse) Reset()
- func (x *SetAllowTakeoffResponse) String() string
- type SetAllowableFlightModesRequest
- func (*SetAllowableFlightModesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAllowableFlightModesRequest) GetFlightModes() *AllowableFlightModes
- func (*SetAllowableFlightModesRequest) ProtoMessage()
- func (x *SetAllowableFlightModesRequest) ProtoReflect() protoreflect.Message
- func (x *SetAllowableFlightModesRequest) Reset()
- func (x *SetAllowableFlightModesRequest) String() string
- type SetAllowableFlightModesResponse
- func (*SetAllowableFlightModesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetAllowableFlightModesResponse) GetActionServerResult() *ActionServerResult
- func (*SetAllowableFlightModesResponse) ProtoMessage()
- func (x *SetAllowableFlightModesResponse) ProtoReflect() protoreflect.Message
- func (x *SetAllowableFlightModesResponse) Reset()
- func (x *SetAllowableFlightModesResponse) String() string
- type SetArmableRequest
- func (*SetArmableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetArmableRequest) GetArmable() bool
- func (x *SetArmableRequest) GetForceArmable() bool
- func (*SetArmableRequest) ProtoMessage()
- func (x *SetArmableRequest) ProtoReflect() protoreflect.Message
- func (x *SetArmableRequest) Reset()
- func (x *SetArmableRequest) String() string
- type SetArmableResponse
- func (*SetArmableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetArmableResponse) GetActionServerResult() *ActionServerResult
- func (*SetArmableResponse) ProtoMessage()
- func (x *SetArmableResponse) ProtoReflect() protoreflect.Message
- func (x *SetArmableResponse) Reset()
- func (x *SetArmableResponse) String() string
- type SetDisarmableRequest
- func (*SetDisarmableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDisarmableRequest) GetDisarmable() bool
- func (x *SetDisarmableRequest) GetForceDisarmable() bool
- func (*SetDisarmableRequest) ProtoMessage()
- func (x *SetDisarmableRequest) ProtoReflect() protoreflect.Message
- func (x *SetDisarmableRequest) Reset()
- func (x *SetDisarmableRequest) String() string
- type SetDisarmableResponse
- func (*SetDisarmableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetDisarmableResponse) GetActionServerResult() *ActionServerResult
- func (*SetDisarmableResponse) ProtoMessage()
- func (x *SetDisarmableResponse) ProtoReflect() protoreflect.Message
- func (x *SetDisarmableResponse) Reset()
- func (x *SetDisarmableResponse) String() string
- type ShutdownResponse
- func (*ShutdownResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShutdownResponse) GetActionServerResult() *ActionServerResult
- func (x *ShutdownResponse) GetShutdown() bool
- func (*ShutdownResponse) ProtoMessage()
- func (x *ShutdownResponse) ProtoReflect() protoreflect.Message
- func (x *ShutdownResponse) Reset()
- func (x *ShutdownResponse) String() string
- type SubscribeArmDisarmRequest
- type SubscribeFlightModeChangeRequest
- func (*SubscribeFlightModeChangeRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeFlightModeChangeRequest) ProtoMessage()
- func (x *SubscribeFlightModeChangeRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeFlightModeChangeRequest) Reset()
- func (x *SubscribeFlightModeChangeRequest) String() string
- type SubscribeLandRequest
- type SubscribeRebootRequest
- type SubscribeShutdownRequest
- type SubscribeTakeoffRequest
- type SubscribeTerminateRequest
- type TakeoffResponse
- func (*TakeoffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TakeoffResponse) GetActionServerResult() *ActionServerResult
- func (x *TakeoffResponse) GetTakeoff() bool
- func (*TakeoffResponse) ProtoMessage()
- func (x *TakeoffResponse) ProtoReflect() protoreflect.Message
- func (x *TakeoffResponse) Reset()
- func (x *TakeoffResponse) String() string
- type TerminateResponse
- func (*TerminateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateResponse) GetActionServerResult() *ActionServerResult
- func (x *TerminateResponse) GetTerminate() bool
- func (*TerminateResponse) ProtoMessage()
- func (x *TerminateResponse) ProtoReflect() protoreflect.Message
- func (x *TerminateResponse) Reset()
- func (x *TerminateResponse) String() string
- type UnimplementedActionServerServiceServer
- func (UnimplementedActionServerServiceServer) GetAllowableFlightModes(context.Context, *GetAllowableFlightModesRequest) (*GetAllowableFlightModesResponse, error)
- func (UnimplementedActionServerServiceServer) SetAllowTakeoff(context.Context, *SetAllowTakeoffRequest) (*SetAllowTakeoffResponse, error)
- func (UnimplementedActionServerServiceServer) SetAllowableFlightModes(context.Context, *SetAllowableFlightModesRequest) (*SetAllowableFlightModesResponse, error)
- func (UnimplementedActionServerServiceServer) SetArmable(context.Context, *SetArmableRequest) (*SetArmableResponse, error)
- func (UnimplementedActionServerServiceServer) SetDisarmable(context.Context, *SetDisarmableRequest) (*SetDisarmableResponse, error)
- func (UnimplementedActionServerServiceServer) SubscribeArmDisarm(*SubscribeArmDisarmRequest, grpc.ServerStreamingServer[ArmDisarmResponse]) error
- func (UnimplementedActionServerServiceServer) SubscribeFlightModeChange(*SubscribeFlightModeChangeRequest, ...) error
- func (UnimplementedActionServerServiceServer) SubscribeLand(*SubscribeLandRequest, grpc.ServerStreamingServer[LandResponse]) error
- func (UnimplementedActionServerServiceServer) SubscribeReboot(*SubscribeRebootRequest, grpc.ServerStreamingServer[RebootResponse]) error
- func (UnimplementedActionServerServiceServer) SubscribeShutdown(*SubscribeShutdownRequest, grpc.ServerStreamingServer[ShutdownResponse]) error
- func (UnimplementedActionServerServiceServer) SubscribeTakeoff(*SubscribeTakeoffRequest, grpc.ServerStreamingServer[TakeoffResponse]) error
- func (UnimplementedActionServerServiceServer) SubscribeTerminate(*SubscribeTerminateRequest, grpc.ServerStreamingServer[TerminateResponse]) error
- type UnsafeActionServerServiceServer
Constants ¶
const ( ActionServerService_SubscribeArmDisarm_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SubscribeArmDisarm" ActionServerService_SubscribeFlightModeChange_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SubscribeFlightModeChange" ActionServerService_SubscribeTakeoff_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SubscribeTakeoff" ActionServerService_SubscribeLand_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SubscribeLand" ActionServerService_SubscribeReboot_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SubscribeReboot" ActionServerService_SubscribeShutdown_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SubscribeShutdown" ActionServerService_SubscribeTerminate_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SubscribeTerminate" ActionServerService_SetAllowTakeoff_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SetAllowTakeoff" ActionServerService_SetArmable_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SetArmable" ActionServerService_SetDisarmable_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SetDisarmable" ActionServerService_SetAllowableFlightModes_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/SetAllowableFlightModes" ActionServerService_GetAllowableFlightModes_FullMethodName = "/mavsdk.rpc.action_server.ActionServerService/GetAllowableFlightModes" )
Variables ¶
var ( FlightMode_name = map[int32]string{ 0: "FLIGHT_MODE_UNKNOWN", 1: "FLIGHT_MODE_READY", 2: "FLIGHT_MODE_TAKEOFF", 3: "FLIGHT_MODE_HOLD", 4: "FLIGHT_MODE_MISSION", 5: "FLIGHT_MODE_RETURN_TO_LAUNCH", 6: "FLIGHT_MODE_LAND", 7: "FLIGHT_MODE_OFFBOARD", 8: "FLIGHT_MODE_FOLLOW_ME", 9: "FLIGHT_MODE_MANUAL", 10: "FLIGHT_MODE_ALTCTL", 11: "FLIGHT_MODE_POSCTL", 12: "FLIGHT_MODE_ACRO", 13: "FLIGHT_MODE_STABILIZED", } FlightMode_value = map[string]int32{ "FLIGHT_MODE_UNKNOWN": 0, "FLIGHT_MODE_READY": 1, "FLIGHT_MODE_TAKEOFF": 2, "FLIGHT_MODE_HOLD": 3, "FLIGHT_MODE_MISSION": 4, "FLIGHT_MODE_RETURN_TO_LAUNCH": 5, "FLIGHT_MODE_LAND": 6, "FLIGHT_MODE_OFFBOARD": 7, "FLIGHT_MODE_FOLLOW_ME": 8, "FLIGHT_MODE_MANUAL": 9, "FLIGHT_MODE_ALTCTL": 10, "FLIGHT_MODE_POSCTL": 11, "FLIGHT_MODE_ACRO": 12, "FLIGHT_MODE_STABILIZED": 13, } )
Enum value maps for FlightMode.
var ( ActionServerResult_Result_name = map[int32]string{ 0: "RESULT_UNKNOWN", 1: "RESULT_SUCCESS", 2: "RESULT_NO_SYSTEM", 3: "RESULT_CONNECTION_ERROR", 4: "RESULT_BUSY", 5: "RESULT_COMMAND_DENIED", 6: "RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN", 7: "RESULT_COMMAND_DENIED_NOT_LANDED", 8: "RESULT_TIMEOUT", 9: "RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN", 10: "RESULT_NO_VTOL_TRANSITION_SUPPORT", 11: "RESULT_PARAMETER_ERROR", 12: "RESULT_NEXT", } ActionServerResult_Result_value = map[string]int32{ "RESULT_UNKNOWN": 0, "RESULT_SUCCESS": 1, "RESULT_NO_SYSTEM": 2, "RESULT_CONNECTION_ERROR": 3, "RESULT_BUSY": 4, "RESULT_COMMAND_DENIED": 5, "RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN": 6, "RESULT_COMMAND_DENIED_NOT_LANDED": 7, "RESULT_TIMEOUT": 8, "RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN": 9, "RESULT_NO_VTOL_TRANSITION_SUPPORT": 10, "RESULT_PARAMETER_ERROR": 11, "RESULT_NEXT": 12, } )
Enum value maps for ActionServerResult_Result.
var ActionServerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mavsdk.rpc.action_server.ActionServerService", HandlerType: (*ActionServerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetAllowTakeoff", Handler: _ActionServerService_SetAllowTakeoff_Handler, }, { MethodName: "SetArmable", Handler: _ActionServerService_SetArmable_Handler, }, { MethodName: "SetDisarmable", Handler: _ActionServerService_SetDisarmable_Handler, }, { MethodName: "SetAllowableFlightModes", Handler: _ActionServerService_SetAllowableFlightModes_Handler, }, { MethodName: "GetAllowableFlightModes", Handler: _ActionServerService_GetAllowableFlightModes_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeArmDisarm", Handler: _ActionServerService_SubscribeArmDisarm_Handler, ServerStreams: true, }, { StreamName: "SubscribeFlightModeChange", Handler: _ActionServerService_SubscribeFlightModeChange_Handler, ServerStreams: true, }, { StreamName: "SubscribeTakeoff", Handler: _ActionServerService_SubscribeTakeoff_Handler, ServerStreams: true, }, { StreamName: "SubscribeLand", Handler: _ActionServerService_SubscribeLand_Handler, ServerStreams: true, }, { StreamName: "SubscribeReboot", Handler: _ActionServerService_SubscribeReboot_Handler, ServerStreams: true, }, { StreamName: "SubscribeShutdown", Handler: _ActionServerService_SubscribeShutdown_Handler, ServerStreams: true, }, { StreamName: "SubscribeTerminate", Handler: _ActionServerService_SubscribeTerminate_Handler, ServerStreams: true, }, }, Metadata: "action_server.proto", }
ActionServerService_ServiceDesc is the grpc.ServiceDesc for ActionServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_action_server_proto protoreflect.FileDescriptor
Functions ¶
func RegisterActionServerServiceServer ¶
func RegisterActionServerServiceServer(s grpc.ServiceRegistrar, srv ActionServerServiceServer)
Types ¶
type ActionServerResult ¶
type ActionServerResult struct { Result ActionServerResult_Result `protobuf:"varint,1,opt,name=result,proto3,enum=mavsdk.rpc.action_server.ActionServerResult_Result" json:"result,omitempty"` // Result enum value 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 (*ActionServerResult) Descriptor
deprecated
func (*ActionServerResult) Descriptor() ([]byte, []int)
Deprecated: Use ActionServerResult.ProtoReflect.Descriptor instead.
func (*ActionServerResult) GetResult ¶
func (x *ActionServerResult) GetResult() ActionServerResult_Result
func (*ActionServerResult) GetResultStr ¶
func (x *ActionServerResult) GetResultStr() string
func (*ActionServerResult) ProtoMessage ¶
func (*ActionServerResult) ProtoMessage()
func (*ActionServerResult) ProtoReflect ¶
func (x *ActionServerResult) ProtoReflect() protoreflect.Message
func (*ActionServerResult) Reset ¶
func (x *ActionServerResult) Reset()
func (*ActionServerResult) String ¶
func (x *ActionServerResult) String() string
type ActionServerResult_Result ¶
type ActionServerResult_Result int32
Possible results returned for action requests.
const ( ActionServerResult_RESULT_UNKNOWN ActionServerResult_Result = 0 // Unknown result ActionServerResult_RESULT_SUCCESS ActionServerResult_Result = 1 // Request was successful ActionServerResult_RESULT_NO_SYSTEM ActionServerResult_Result = 2 // No system is connected ActionServerResult_RESULT_CONNECTION_ERROR ActionServerResult_Result = 3 // Connection error ActionServerResult_RESULT_BUSY ActionServerResult_Result = 4 // Vehicle is busy ActionServerResult_RESULT_COMMAND_DENIED ActionServerResult_Result = 5 // Command refused by vehicle ActionServerResult_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN ActionServerResult_Result = 6 // Command refused because landed state is unknown ActionServerResult_RESULT_COMMAND_DENIED_NOT_LANDED ActionServerResult_Result = 7 // Command refused because vehicle not landed ActionServerResult_RESULT_TIMEOUT ActionServerResult_Result = 8 // Request timed out ActionServerResult_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN ActionServerResult_Result = 9 // Hybrid/VTOL transition support is unknown ActionServerResult_RESULT_NO_VTOL_TRANSITION_SUPPORT ActionServerResult_Result = 10 // Vehicle does not support hybrid/VTOL transitions ActionServerResult_RESULT_PARAMETER_ERROR ActionServerResult_Result = 11 // Error getting or setting parameter ActionServerResult_RESULT_NEXT ActionServerResult_Result = 12 // Intermediate message showing progress or instructions on the next steps )
func (ActionServerResult_Result) Descriptor ¶
func (ActionServerResult_Result) Descriptor() protoreflect.EnumDescriptor
func (ActionServerResult_Result) Enum ¶
func (x ActionServerResult_Result) Enum() *ActionServerResult_Result
func (ActionServerResult_Result) EnumDescriptor
deprecated
func (ActionServerResult_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionServerResult_Result.Descriptor instead.
func (ActionServerResult_Result) Number ¶
func (x ActionServerResult_Result) Number() protoreflect.EnumNumber
func (ActionServerResult_Result) String ¶
func (x ActionServerResult_Result) String() string
func (ActionServerResult_Result) Type ¶
func (ActionServerResult_Result) Type() protoreflect.EnumType
type ActionServerServiceClient ¶
type ActionServerServiceClient interface { // Subscribe to ARM/DISARM commands SubscribeArmDisarm(ctx context.Context, in *SubscribeArmDisarmRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ArmDisarmResponse], error) // Subscribe to DO_SET_MODE SubscribeFlightModeChange(ctx context.Context, in *SubscribeFlightModeChangeRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[FlightModeChangeResponse], error) // Subscribe to takeoff command SubscribeTakeoff(ctx context.Context, in *SubscribeTakeoffRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TakeoffResponse], error) // Subscribe to land command SubscribeLand(ctx context.Context, in *SubscribeLandRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[LandResponse], error) // Subscribe to reboot command SubscribeReboot(ctx context.Context, in *SubscribeRebootRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[RebootResponse], error) // Subscribe to shutdown command SubscribeShutdown(ctx context.Context, in *SubscribeShutdownRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ShutdownResponse], error) // Subscribe to terminate command SubscribeTerminate(ctx context.Context, in *SubscribeTerminateRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TerminateResponse], error) // Can the vehicle takeoff SetAllowTakeoff(ctx context.Context, in *SetAllowTakeoffRequest, opts ...grpc.CallOption) (*SetAllowTakeoffResponse, error) // Can the vehicle arm when requested SetArmable(ctx context.Context, in *SetArmableRequest, opts ...grpc.CallOption) (*SetArmableResponse, error) // Can the vehicle disarm when requested SetDisarmable(ctx context.Context, in *SetDisarmableRequest, opts ...grpc.CallOption) (*SetDisarmableResponse, error) // Set which modes the vehicle can transition to (Manual always allowed) SetAllowableFlightModes(ctx context.Context, in *SetAllowableFlightModesRequest, opts ...grpc.CallOption) (*SetAllowableFlightModesResponse, error) // Get which modes the vehicle can transition to (Manual always allowed) GetAllowableFlightModes(ctx context.Context, in *GetAllowableFlightModesRequest, opts ...grpc.CallOption) (*GetAllowableFlightModesResponse, error) }
ActionServerServiceClient is the client API for ActionServerService 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.
Provide vehicle actions (as a server) such as arming, taking off, and landing.
func NewActionServerServiceClient ¶
func NewActionServerServiceClient(cc grpc.ClientConnInterface) ActionServerServiceClient
type ActionServerServiceServer ¶
type ActionServerServiceServer interface { // Subscribe to ARM/DISARM commands SubscribeArmDisarm(*SubscribeArmDisarmRequest, grpc.ServerStreamingServer[ArmDisarmResponse]) error // Subscribe to DO_SET_MODE SubscribeFlightModeChange(*SubscribeFlightModeChangeRequest, grpc.ServerStreamingServer[FlightModeChangeResponse]) error // Subscribe to takeoff command SubscribeTakeoff(*SubscribeTakeoffRequest, grpc.ServerStreamingServer[TakeoffResponse]) error // Subscribe to land command SubscribeLand(*SubscribeLandRequest, grpc.ServerStreamingServer[LandResponse]) error // Subscribe to reboot command SubscribeReboot(*SubscribeRebootRequest, grpc.ServerStreamingServer[RebootResponse]) error // Subscribe to shutdown command SubscribeShutdown(*SubscribeShutdownRequest, grpc.ServerStreamingServer[ShutdownResponse]) error // Subscribe to terminate command SubscribeTerminate(*SubscribeTerminateRequest, grpc.ServerStreamingServer[TerminateResponse]) error // Can the vehicle takeoff SetAllowTakeoff(context.Context, *SetAllowTakeoffRequest) (*SetAllowTakeoffResponse, error) // Can the vehicle arm when requested SetArmable(context.Context, *SetArmableRequest) (*SetArmableResponse, error) // Can the vehicle disarm when requested SetDisarmable(context.Context, *SetDisarmableRequest) (*SetDisarmableResponse, error) // Set which modes the vehicle can transition to (Manual always allowed) SetAllowableFlightModes(context.Context, *SetAllowableFlightModesRequest) (*SetAllowableFlightModesResponse, error) // Get which modes the vehicle can transition to (Manual always allowed) GetAllowableFlightModes(context.Context, *GetAllowableFlightModesRequest) (*GetAllowableFlightModesResponse, error) // contains filtered or unexported methods }
ActionServerServiceServer is the server API for ActionServerService service. All implementations must embed UnimplementedActionServerServiceServer for forward compatibility.
Provide vehicle actions (as a server) such as arming, taking off, and landing.
type ActionServerService_SubscribeArmDisarmClient ¶
type ActionServerService_SubscribeArmDisarmClient = grpc.ServerStreamingClient[ArmDisarmResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeArmDisarmServer ¶
type ActionServerService_SubscribeArmDisarmServer = grpc.ServerStreamingServer[ArmDisarmResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeFlightModeChangeClient ¶
type ActionServerService_SubscribeFlightModeChangeClient = grpc.ServerStreamingClient[FlightModeChangeResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeFlightModeChangeServer ¶
type ActionServerService_SubscribeFlightModeChangeServer = grpc.ServerStreamingServer[FlightModeChangeResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeLandClient ¶
type ActionServerService_SubscribeLandClient = grpc.ServerStreamingClient[LandResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeLandServer ¶
type ActionServerService_SubscribeLandServer = grpc.ServerStreamingServer[LandResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeRebootClient ¶
type ActionServerService_SubscribeRebootClient = grpc.ServerStreamingClient[RebootResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeRebootServer ¶
type ActionServerService_SubscribeRebootServer = grpc.ServerStreamingServer[RebootResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeShutdownClient ¶
type ActionServerService_SubscribeShutdownClient = grpc.ServerStreamingClient[ShutdownResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeShutdownServer ¶
type ActionServerService_SubscribeShutdownServer = grpc.ServerStreamingServer[ShutdownResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeTakeoffClient ¶
type ActionServerService_SubscribeTakeoffClient = grpc.ServerStreamingClient[TakeoffResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeTakeoffServer ¶
type ActionServerService_SubscribeTakeoffServer = grpc.ServerStreamingServer[TakeoffResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeTerminateClient ¶
type ActionServerService_SubscribeTerminateClient = grpc.ServerStreamingClient[TerminateResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ActionServerService_SubscribeTerminateServer ¶
type ActionServerService_SubscribeTerminateServer = grpc.ServerStreamingServer[TerminateResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AllowableFlightModes ¶
type AllowableFlightModes struct { CanAutoMode bool `protobuf:"varint,1,opt,name=can_auto_mode,json=canAutoMode,proto3" json:"can_auto_mode,omitempty"` // Auto/mission mode CanGuidedMode bool `protobuf:"varint,2,opt,name=can_guided_mode,json=canGuidedMode,proto3" json:"can_guided_mode,omitempty"` // Guided mode CanStabilizeMode bool `protobuf:"varint,3,opt,name=can_stabilize_mode,json=canStabilizeMode,proto3" json:"can_stabilize_mode,omitempty"` // Stabilize mode // contains filtered or unexported fields }
State to check if the vehicle can transition to respective flightmodes
func (*AllowableFlightModes) Descriptor
deprecated
func (*AllowableFlightModes) Descriptor() ([]byte, []int)
Deprecated: Use AllowableFlightModes.ProtoReflect.Descriptor instead.
func (*AllowableFlightModes) GetCanAutoMode ¶
func (x *AllowableFlightModes) GetCanAutoMode() bool
func (*AllowableFlightModes) GetCanGuidedMode ¶
func (x *AllowableFlightModes) GetCanGuidedMode() bool
func (*AllowableFlightModes) GetCanStabilizeMode ¶
func (x *AllowableFlightModes) GetCanStabilizeMode() bool
func (*AllowableFlightModes) ProtoMessage ¶
func (*AllowableFlightModes) ProtoMessage()
func (*AllowableFlightModes) ProtoReflect ¶
func (x *AllowableFlightModes) ProtoReflect() protoreflect.Message
func (*AllowableFlightModes) Reset ¶
func (x *AllowableFlightModes) Reset()
func (*AllowableFlightModes) String ¶
func (x *AllowableFlightModes) String() string
type ArmDisarm ¶
type ArmDisarm struct { Arm bool `protobuf:"varint,1,opt,name=arm,proto3" json:"arm,omitempty"` // Should vehicle arm Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // Should arm override pre-flight checks // contains filtered or unexported fields }
Arming message type
func (*ArmDisarm) Descriptor
deprecated
func (*ArmDisarm) ProtoMessage ¶
func (*ArmDisarm) ProtoMessage()
func (*ArmDisarm) ProtoReflect ¶
func (x *ArmDisarm) ProtoReflect() protoreflect.Message
type ArmDisarmResponse ¶
type ArmDisarmResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` Arm *ArmDisarm `protobuf:"bytes,2,opt,name=arm,proto3" json:"arm,omitempty"` // contains filtered or unexported fields }
func (*ArmDisarmResponse) Descriptor
deprecated
func (*ArmDisarmResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArmDisarmResponse.ProtoReflect.Descriptor instead.
func (*ArmDisarmResponse) GetActionServerResult ¶
func (x *ArmDisarmResponse) GetActionServerResult() *ActionServerResult
func (*ArmDisarmResponse) GetArm ¶
func (x *ArmDisarmResponse) GetArm() *ArmDisarm
func (*ArmDisarmResponse) ProtoMessage ¶
func (*ArmDisarmResponse) ProtoMessage()
func (*ArmDisarmResponse) ProtoReflect ¶
func (x *ArmDisarmResponse) ProtoReflect() protoreflect.Message
func (*ArmDisarmResponse) Reset ¶
func (x *ArmDisarmResponse) Reset()
func (*ArmDisarmResponse) String ¶
func (x *ArmDisarmResponse) String() string
type FlightMode ¶
type FlightMode int32
Flight modes.
For more information about flight modes, check out https://docs.px4.io/master/en/config/flight_mode.html.
const ( FlightMode_FLIGHT_MODE_UNKNOWN FlightMode = 0 // Mode not known FlightMode_FLIGHT_MODE_READY FlightMode = 1 // Armed and ready to take off FlightMode_FLIGHT_MODE_TAKEOFF FlightMode = 2 // Taking off FlightMode_FLIGHT_MODE_HOLD FlightMode = 3 // Holding (hovering in place (or circling for fixed-wing vehicles) FlightMode_FLIGHT_MODE_MISSION FlightMode = 4 // In mission FlightMode_FLIGHT_MODE_RETURN_TO_LAUNCH FlightMode = 5 // Returning to launch position (then landing) FlightMode_FLIGHT_MODE_LAND FlightMode = 6 // Landing FlightMode_FLIGHT_MODE_OFFBOARD FlightMode = 7 // In 'offboard' mode FlightMode_FLIGHT_MODE_FOLLOW_ME FlightMode = 8 // In 'follow-me' mode FlightMode_FLIGHT_MODE_MANUAL FlightMode = 9 // In 'Manual' mode FlightMode_FLIGHT_MODE_ALTCTL FlightMode = 10 // In 'Altitude Control' mode FlightMode_FLIGHT_MODE_POSCTL FlightMode = 11 // In 'Position Control' mode FlightMode_FLIGHT_MODE_ACRO FlightMode = 12 // In 'Acro' mode FlightMode_FLIGHT_MODE_STABILIZED FlightMode = 13 // In 'Stabilize' mode )
func (FlightMode) Descriptor ¶
func (FlightMode) Descriptor() protoreflect.EnumDescriptor
func (FlightMode) Enum ¶
func (x FlightMode) Enum() *FlightMode
func (FlightMode) EnumDescriptor
deprecated
func (FlightMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use FlightMode.Descriptor instead.
func (FlightMode) Number ¶
func (x FlightMode) Number() protoreflect.EnumNumber
func (FlightMode) String ¶
func (x FlightMode) String() string
func (FlightMode) Type ¶
func (FlightMode) Type() protoreflect.EnumType
type FlightModeChangeResponse ¶
type FlightModeChangeResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` FlightMode FlightMode `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FlightModeChangeResponse) Descriptor
deprecated
func (*FlightModeChangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use FlightModeChangeResponse.ProtoReflect.Descriptor instead.
func (*FlightModeChangeResponse) GetActionServerResult ¶
func (x *FlightModeChangeResponse) GetActionServerResult() *ActionServerResult
func (*FlightModeChangeResponse) GetFlightMode ¶
func (x *FlightModeChangeResponse) GetFlightMode() FlightMode
func (*FlightModeChangeResponse) ProtoMessage ¶
func (*FlightModeChangeResponse) ProtoMessage()
func (*FlightModeChangeResponse) ProtoReflect ¶
func (x *FlightModeChangeResponse) ProtoReflect() protoreflect.Message
func (*FlightModeChangeResponse) Reset ¶
func (x *FlightModeChangeResponse) Reset()
func (*FlightModeChangeResponse) String ¶
func (x *FlightModeChangeResponse) String() string
type GetAllowableFlightModesRequest ¶
type GetAllowableFlightModesRequest struct {
// contains filtered or unexported fields
}
func (*GetAllowableFlightModesRequest) Descriptor
deprecated
func (*GetAllowableFlightModesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllowableFlightModesRequest.ProtoReflect.Descriptor instead.
func (*GetAllowableFlightModesRequest) ProtoMessage ¶
func (*GetAllowableFlightModesRequest) ProtoMessage()
func (*GetAllowableFlightModesRequest) ProtoReflect ¶
func (x *GetAllowableFlightModesRequest) ProtoReflect() protoreflect.Message
func (*GetAllowableFlightModesRequest) Reset ¶
func (x *GetAllowableFlightModesRequest) Reset()
func (*GetAllowableFlightModesRequest) String ¶
func (x *GetAllowableFlightModesRequest) String() string
type GetAllowableFlightModesResponse ¶
type GetAllowableFlightModesResponse struct { FlightModes *AllowableFlightModes `protobuf:"bytes,1,opt,name=flight_modes,json=flightModes,proto3" json:"flight_modes,omitempty"` // contains filtered or unexported fields }
func (*GetAllowableFlightModesResponse) Descriptor
deprecated
func (*GetAllowableFlightModesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllowableFlightModesResponse.ProtoReflect.Descriptor instead.
func (*GetAllowableFlightModesResponse) GetFlightModes ¶
func (x *GetAllowableFlightModesResponse) GetFlightModes() *AllowableFlightModes
func (*GetAllowableFlightModesResponse) ProtoMessage ¶
func (*GetAllowableFlightModesResponse) ProtoMessage()
func (*GetAllowableFlightModesResponse) ProtoReflect ¶
func (x *GetAllowableFlightModesResponse) ProtoReflect() protoreflect.Message
func (*GetAllowableFlightModesResponse) Reset ¶
func (x *GetAllowableFlightModesResponse) Reset()
func (*GetAllowableFlightModesResponse) String ¶
func (x *GetAllowableFlightModesResponse) String() string
type LandResponse ¶
type LandResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` Land bool `protobuf:"varint,2,opt,name=land,proto3" json:"land,omitempty"` // contains filtered or unexported fields }
func (*LandResponse) Descriptor
deprecated
func (*LandResponse) Descriptor() ([]byte, []int)
Deprecated: Use LandResponse.ProtoReflect.Descriptor instead.
func (*LandResponse) GetActionServerResult ¶
func (x *LandResponse) GetActionServerResult() *ActionServerResult
func (*LandResponse) GetLand ¶
func (x *LandResponse) GetLand() bool
func (*LandResponse) ProtoMessage ¶
func (*LandResponse) ProtoMessage()
func (*LandResponse) ProtoReflect ¶
func (x *LandResponse) ProtoReflect() protoreflect.Message
func (*LandResponse) Reset ¶
func (x *LandResponse) Reset()
func (*LandResponse) String ¶
func (x *LandResponse) String() string
type RebootResponse ¶
type RebootResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` Reboot bool `protobuf:"varint,2,opt,name=reboot,proto3" json:"reboot,omitempty"` // contains filtered or unexported fields }
func (*RebootResponse) Descriptor
deprecated
func (*RebootResponse) Descriptor() ([]byte, []int)
Deprecated: Use RebootResponse.ProtoReflect.Descriptor instead.
func (*RebootResponse) GetActionServerResult ¶
func (x *RebootResponse) GetActionServerResult() *ActionServerResult
func (*RebootResponse) GetReboot ¶
func (x *RebootResponse) GetReboot() bool
func (*RebootResponse) ProtoMessage ¶
func (*RebootResponse) ProtoMessage()
func (*RebootResponse) ProtoReflect ¶
func (x *RebootResponse) ProtoReflect() protoreflect.Message
func (*RebootResponse) Reset ¶
func (x *RebootResponse) Reset()
func (*RebootResponse) String ¶
func (x *RebootResponse) String() string
type ServiceImpl ¶
type ServiceImpl struct {
Client ActionServerServiceClient
}
func (*ServiceImpl) ArmDisarm ¶
func (a *ServiceImpl) ArmDisarm(ctx context.Context) (<-chan *ArmDisarm, error)
func (*ServiceImpl) FlightModeChange ¶
func (a *ServiceImpl) FlightModeChange(ctx context.Context) (<-chan FlightMode, error)
func (*ServiceImpl) GetAllowableFlightModes ¶
func (s *ServiceImpl) GetAllowableFlightModes(ctx context.Context) (*GetAllowableFlightModesResponse, error)
func (*ServiceImpl) SetAllowTakeoff ¶
func (s *ServiceImpl) SetAllowTakeoff(ctx context.Context, allowTakeoff bool) (*SetAllowTakeoffResponse, error)
func (*ServiceImpl) SetAllowableFlightModes ¶
func (s *ServiceImpl) SetAllowableFlightModes(ctx context.Context, flightModes *AllowableFlightModes) (*SetAllowableFlightModesResponse, error)
func (*ServiceImpl) SetArmable ¶
func (s *ServiceImpl) SetArmable(ctx context.Context, armable bool, forceArmable bool) (*SetArmableResponse, error)
func (*ServiceImpl) SetDisarmable ¶
func (s *ServiceImpl) SetDisarmable(ctx context.Context, disarmable bool, forceDisarmable bool) (*SetDisarmableResponse, error)
func (*ServiceImpl) Shutdown ¶
func (a *ServiceImpl) Shutdown(ctx context.Context) (<-chan bool, error)
type SetAllowTakeoffRequest ¶
type SetAllowTakeoffRequest struct { AllowTakeoff bool `protobuf:"varint,1,opt,name=allow_takeoff,json=allowTakeoff,proto3" json:"allow_takeoff,omitempty"` // Is takeoff allowed? // contains filtered or unexported fields }
func (*SetAllowTakeoffRequest) Descriptor
deprecated
func (*SetAllowTakeoffRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAllowTakeoffRequest.ProtoReflect.Descriptor instead.
func (*SetAllowTakeoffRequest) GetAllowTakeoff ¶
func (x *SetAllowTakeoffRequest) GetAllowTakeoff() bool
func (*SetAllowTakeoffRequest) ProtoMessage ¶
func (*SetAllowTakeoffRequest) ProtoMessage()
func (*SetAllowTakeoffRequest) ProtoReflect ¶
func (x *SetAllowTakeoffRequest) ProtoReflect() protoreflect.Message
func (*SetAllowTakeoffRequest) Reset ¶
func (x *SetAllowTakeoffRequest) Reset()
func (*SetAllowTakeoffRequest) String ¶
func (x *SetAllowTakeoffRequest) String() string
type SetAllowTakeoffResponse ¶
type SetAllowTakeoffResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` // contains filtered or unexported fields }
func (*SetAllowTakeoffResponse) Descriptor
deprecated
func (*SetAllowTakeoffResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAllowTakeoffResponse.ProtoReflect.Descriptor instead.
func (*SetAllowTakeoffResponse) GetActionServerResult ¶
func (x *SetAllowTakeoffResponse) GetActionServerResult() *ActionServerResult
func (*SetAllowTakeoffResponse) ProtoMessage ¶
func (*SetAllowTakeoffResponse) ProtoMessage()
func (*SetAllowTakeoffResponse) ProtoReflect ¶
func (x *SetAllowTakeoffResponse) ProtoReflect() protoreflect.Message
func (*SetAllowTakeoffResponse) Reset ¶
func (x *SetAllowTakeoffResponse) Reset()
func (*SetAllowTakeoffResponse) String ¶
func (x *SetAllowTakeoffResponse) String() string
type SetAllowableFlightModesRequest ¶
type SetAllowableFlightModesRequest struct { FlightModes *AllowableFlightModes `protobuf:"bytes,1,opt,name=flight_modes,json=flightModes,proto3" json:"flight_modes,omitempty"` // contains filtered or unexported fields }
func (*SetAllowableFlightModesRequest) Descriptor
deprecated
func (*SetAllowableFlightModesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAllowableFlightModesRequest.ProtoReflect.Descriptor instead.
func (*SetAllowableFlightModesRequest) GetFlightModes ¶
func (x *SetAllowableFlightModesRequest) GetFlightModes() *AllowableFlightModes
func (*SetAllowableFlightModesRequest) ProtoMessage ¶
func (*SetAllowableFlightModesRequest) ProtoMessage()
func (*SetAllowableFlightModesRequest) ProtoReflect ¶
func (x *SetAllowableFlightModesRequest) ProtoReflect() protoreflect.Message
func (*SetAllowableFlightModesRequest) Reset ¶
func (x *SetAllowableFlightModesRequest) Reset()
func (*SetAllowableFlightModesRequest) String ¶
func (x *SetAllowableFlightModesRequest) String() string
type SetAllowableFlightModesResponse ¶
type SetAllowableFlightModesResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` // contains filtered or unexported fields }
func (*SetAllowableFlightModesResponse) Descriptor
deprecated
func (*SetAllowableFlightModesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAllowableFlightModesResponse.ProtoReflect.Descriptor instead.
func (*SetAllowableFlightModesResponse) GetActionServerResult ¶
func (x *SetAllowableFlightModesResponse) GetActionServerResult() *ActionServerResult
func (*SetAllowableFlightModesResponse) ProtoMessage ¶
func (*SetAllowableFlightModesResponse) ProtoMessage()
func (*SetAllowableFlightModesResponse) ProtoReflect ¶
func (x *SetAllowableFlightModesResponse) ProtoReflect() protoreflect.Message
func (*SetAllowableFlightModesResponse) Reset ¶
func (x *SetAllowableFlightModesResponse) Reset()
func (*SetAllowableFlightModesResponse) String ¶
func (x *SetAllowableFlightModesResponse) String() string
type SetArmableRequest ¶
type SetArmableRequest struct { Armable bool `protobuf:"varint,1,opt,name=armable,proto3" json:"armable,omitempty"` // Is Armable now? ForceArmable bool `protobuf:"varint,2,opt,name=force_armable,json=forceArmable,proto3" json:"force_armable,omitempty"` // Is armable with force? // contains filtered or unexported fields }
func (*SetArmableRequest) Descriptor
deprecated
func (*SetArmableRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetArmableRequest.ProtoReflect.Descriptor instead.
func (*SetArmableRequest) GetArmable ¶
func (x *SetArmableRequest) GetArmable() bool
func (*SetArmableRequest) GetForceArmable ¶
func (x *SetArmableRequest) GetForceArmable() bool
func (*SetArmableRequest) ProtoMessage ¶
func (*SetArmableRequest) ProtoMessage()
func (*SetArmableRequest) ProtoReflect ¶
func (x *SetArmableRequest) ProtoReflect() protoreflect.Message
func (*SetArmableRequest) Reset ¶
func (x *SetArmableRequest) Reset()
func (*SetArmableRequest) String ¶
func (x *SetArmableRequest) String() string
type SetArmableResponse ¶
type SetArmableResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` // contains filtered or unexported fields }
func (*SetArmableResponse) Descriptor
deprecated
func (*SetArmableResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetArmableResponse.ProtoReflect.Descriptor instead.
func (*SetArmableResponse) GetActionServerResult ¶
func (x *SetArmableResponse) GetActionServerResult() *ActionServerResult
func (*SetArmableResponse) ProtoMessage ¶
func (*SetArmableResponse) ProtoMessage()
func (*SetArmableResponse) ProtoReflect ¶
func (x *SetArmableResponse) ProtoReflect() protoreflect.Message
func (*SetArmableResponse) Reset ¶
func (x *SetArmableResponse) Reset()
func (*SetArmableResponse) String ¶
func (x *SetArmableResponse) String() string
type SetDisarmableRequest ¶
type SetDisarmableRequest struct { Disarmable bool `protobuf:"varint,1,opt,name=disarmable,proto3" json:"disarmable,omitempty"` // Is disarmable now? ForceDisarmable bool `protobuf:"varint,2,opt,name=force_disarmable,json=forceDisarmable,proto3" json:"force_disarmable,omitempty"` // Is disarmable with force? (Kill) // contains filtered or unexported fields }
func (*SetDisarmableRequest) Descriptor
deprecated
func (*SetDisarmableRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDisarmableRequest.ProtoReflect.Descriptor instead.
func (*SetDisarmableRequest) GetDisarmable ¶
func (x *SetDisarmableRequest) GetDisarmable() bool
func (*SetDisarmableRequest) GetForceDisarmable ¶
func (x *SetDisarmableRequest) GetForceDisarmable() bool
func (*SetDisarmableRequest) ProtoMessage ¶
func (*SetDisarmableRequest) ProtoMessage()
func (*SetDisarmableRequest) ProtoReflect ¶
func (x *SetDisarmableRequest) ProtoReflect() protoreflect.Message
func (*SetDisarmableRequest) Reset ¶
func (x *SetDisarmableRequest) Reset()
func (*SetDisarmableRequest) String ¶
func (x *SetDisarmableRequest) String() string
type SetDisarmableResponse ¶
type SetDisarmableResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` // contains filtered or unexported fields }
func (*SetDisarmableResponse) Descriptor
deprecated
func (*SetDisarmableResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetDisarmableResponse.ProtoReflect.Descriptor instead.
func (*SetDisarmableResponse) GetActionServerResult ¶
func (x *SetDisarmableResponse) GetActionServerResult() *ActionServerResult
func (*SetDisarmableResponse) ProtoMessage ¶
func (*SetDisarmableResponse) ProtoMessage()
func (*SetDisarmableResponse) ProtoReflect ¶
func (x *SetDisarmableResponse) ProtoReflect() protoreflect.Message
func (*SetDisarmableResponse) Reset ¶
func (x *SetDisarmableResponse) Reset()
func (*SetDisarmableResponse) String ¶
func (x *SetDisarmableResponse) String() string
type ShutdownResponse ¶
type ShutdownResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` Shutdown bool `protobuf:"varint,2,opt,name=shutdown,proto3" json:"shutdown,omitempty"` // contains filtered or unexported fields }
func (*ShutdownResponse) Descriptor
deprecated
func (*ShutdownResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.
func (*ShutdownResponse) GetActionServerResult ¶
func (x *ShutdownResponse) GetActionServerResult() *ActionServerResult
func (*ShutdownResponse) GetShutdown ¶
func (x *ShutdownResponse) GetShutdown() bool
func (*ShutdownResponse) ProtoMessage ¶
func (*ShutdownResponse) ProtoMessage()
func (*ShutdownResponse) ProtoReflect ¶
func (x *ShutdownResponse) ProtoReflect() protoreflect.Message
func (*ShutdownResponse) Reset ¶
func (x *ShutdownResponse) Reset()
func (*ShutdownResponse) String ¶
func (x *ShutdownResponse) String() string
type SubscribeArmDisarmRequest ¶
type SubscribeArmDisarmRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeArmDisarmRequest) Descriptor
deprecated
func (*SubscribeArmDisarmRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeArmDisarmRequest.ProtoReflect.Descriptor instead.
func (*SubscribeArmDisarmRequest) ProtoMessage ¶
func (*SubscribeArmDisarmRequest) ProtoMessage()
func (*SubscribeArmDisarmRequest) ProtoReflect ¶
func (x *SubscribeArmDisarmRequest) ProtoReflect() protoreflect.Message
func (*SubscribeArmDisarmRequest) Reset ¶
func (x *SubscribeArmDisarmRequest) Reset()
func (*SubscribeArmDisarmRequest) String ¶
func (x *SubscribeArmDisarmRequest) String() string
type SubscribeFlightModeChangeRequest ¶
type SubscribeFlightModeChangeRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeFlightModeChangeRequest) Descriptor
deprecated
func (*SubscribeFlightModeChangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeFlightModeChangeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeFlightModeChangeRequest) ProtoMessage ¶
func (*SubscribeFlightModeChangeRequest) ProtoMessage()
func (*SubscribeFlightModeChangeRequest) ProtoReflect ¶
func (x *SubscribeFlightModeChangeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeFlightModeChangeRequest) Reset ¶
func (x *SubscribeFlightModeChangeRequest) Reset()
func (*SubscribeFlightModeChangeRequest) String ¶
func (x *SubscribeFlightModeChangeRequest) String() string
type SubscribeLandRequest ¶
type SubscribeLandRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeLandRequest) Descriptor
deprecated
func (*SubscribeLandRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeLandRequest.ProtoReflect.Descriptor instead.
func (*SubscribeLandRequest) ProtoMessage ¶
func (*SubscribeLandRequest) ProtoMessage()
func (*SubscribeLandRequest) ProtoReflect ¶
func (x *SubscribeLandRequest) ProtoReflect() protoreflect.Message
func (*SubscribeLandRequest) Reset ¶
func (x *SubscribeLandRequest) Reset()
func (*SubscribeLandRequest) String ¶
func (x *SubscribeLandRequest) String() string
type SubscribeRebootRequest ¶
type SubscribeRebootRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeRebootRequest) Descriptor
deprecated
func (*SubscribeRebootRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRebootRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRebootRequest) ProtoMessage ¶
func (*SubscribeRebootRequest) ProtoMessage()
func (*SubscribeRebootRequest) ProtoReflect ¶
func (x *SubscribeRebootRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRebootRequest) Reset ¶
func (x *SubscribeRebootRequest) Reset()
func (*SubscribeRebootRequest) String ¶
func (x *SubscribeRebootRequest) String() string
type SubscribeShutdownRequest ¶
type SubscribeShutdownRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeShutdownRequest) Descriptor
deprecated
func (*SubscribeShutdownRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeShutdownRequest.ProtoReflect.Descriptor instead.
func (*SubscribeShutdownRequest) ProtoMessage ¶
func (*SubscribeShutdownRequest) ProtoMessage()
func (*SubscribeShutdownRequest) ProtoReflect ¶
func (x *SubscribeShutdownRequest) ProtoReflect() protoreflect.Message
func (*SubscribeShutdownRequest) Reset ¶
func (x *SubscribeShutdownRequest) Reset()
func (*SubscribeShutdownRequest) String ¶
func (x *SubscribeShutdownRequest) String() string
type SubscribeTakeoffRequest ¶
type SubscribeTakeoffRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeTakeoffRequest) Descriptor
deprecated
func (*SubscribeTakeoffRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeTakeoffRequest.ProtoReflect.Descriptor instead.
func (*SubscribeTakeoffRequest) ProtoMessage ¶
func (*SubscribeTakeoffRequest) ProtoMessage()
func (*SubscribeTakeoffRequest) ProtoReflect ¶
func (x *SubscribeTakeoffRequest) ProtoReflect() protoreflect.Message
func (*SubscribeTakeoffRequest) Reset ¶
func (x *SubscribeTakeoffRequest) Reset()
func (*SubscribeTakeoffRequest) String ¶
func (x *SubscribeTakeoffRequest) String() string
type SubscribeTerminateRequest ¶
type SubscribeTerminateRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeTerminateRequest) Descriptor
deprecated
func (*SubscribeTerminateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeTerminateRequest.ProtoReflect.Descriptor instead.
func (*SubscribeTerminateRequest) ProtoMessage ¶
func (*SubscribeTerminateRequest) ProtoMessage()
func (*SubscribeTerminateRequest) ProtoReflect ¶
func (x *SubscribeTerminateRequest) ProtoReflect() protoreflect.Message
func (*SubscribeTerminateRequest) Reset ¶
func (x *SubscribeTerminateRequest) Reset()
func (*SubscribeTerminateRequest) String ¶
func (x *SubscribeTerminateRequest) String() string
type TakeoffResponse ¶
type TakeoffResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` Takeoff bool `protobuf:"varint,2,opt,name=takeoff,proto3" json:"takeoff,omitempty"` // contains filtered or unexported fields }
func (*TakeoffResponse) Descriptor
deprecated
func (*TakeoffResponse) Descriptor() ([]byte, []int)
Deprecated: Use TakeoffResponse.ProtoReflect.Descriptor instead.
func (*TakeoffResponse) GetActionServerResult ¶
func (x *TakeoffResponse) GetActionServerResult() *ActionServerResult
func (*TakeoffResponse) GetTakeoff ¶
func (x *TakeoffResponse) GetTakeoff() bool
func (*TakeoffResponse) ProtoMessage ¶
func (*TakeoffResponse) ProtoMessage()
func (*TakeoffResponse) ProtoReflect ¶
func (x *TakeoffResponse) ProtoReflect() protoreflect.Message
func (*TakeoffResponse) Reset ¶
func (x *TakeoffResponse) Reset()
func (*TakeoffResponse) String ¶
func (x *TakeoffResponse) String() string
type TerminateResponse ¶
type TerminateResponse struct { ActionServerResult *ActionServerResult `protobuf:"bytes,1,opt,name=action_server_result,json=actionServerResult,proto3" json:"action_server_result,omitempty"` Terminate bool `protobuf:"varint,2,opt,name=terminate,proto3" json:"terminate,omitempty"` // contains filtered or unexported fields }
func (*TerminateResponse) Descriptor
deprecated
func (*TerminateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TerminateResponse.ProtoReflect.Descriptor instead.
func (*TerminateResponse) GetActionServerResult ¶
func (x *TerminateResponse) GetActionServerResult() *ActionServerResult
func (*TerminateResponse) GetTerminate ¶
func (x *TerminateResponse) GetTerminate() bool
func (*TerminateResponse) ProtoMessage ¶
func (*TerminateResponse) ProtoMessage()
func (*TerminateResponse) ProtoReflect ¶
func (x *TerminateResponse) ProtoReflect() protoreflect.Message
func (*TerminateResponse) Reset ¶
func (x *TerminateResponse) Reset()
func (*TerminateResponse) String ¶
func (x *TerminateResponse) String() string
type UnimplementedActionServerServiceServer ¶
type UnimplementedActionServerServiceServer struct{}
UnimplementedActionServerServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedActionServerServiceServer) GetAllowableFlightModes ¶
func (UnimplementedActionServerServiceServer) GetAllowableFlightModes(context.Context, *GetAllowableFlightModesRequest) (*GetAllowableFlightModesResponse, error)
func (UnimplementedActionServerServiceServer) SetAllowTakeoff ¶
func (UnimplementedActionServerServiceServer) SetAllowTakeoff(context.Context, *SetAllowTakeoffRequest) (*SetAllowTakeoffResponse, error)
func (UnimplementedActionServerServiceServer) SetAllowableFlightModes ¶
func (UnimplementedActionServerServiceServer) SetAllowableFlightModes(context.Context, *SetAllowableFlightModesRequest) (*SetAllowableFlightModesResponse, error)
func (UnimplementedActionServerServiceServer) SetArmable ¶
func (UnimplementedActionServerServiceServer) SetArmable(context.Context, *SetArmableRequest) (*SetArmableResponse, error)
func (UnimplementedActionServerServiceServer) SetDisarmable ¶
func (UnimplementedActionServerServiceServer) SetDisarmable(context.Context, *SetDisarmableRequest) (*SetDisarmableResponse, error)
func (UnimplementedActionServerServiceServer) SubscribeArmDisarm ¶
func (UnimplementedActionServerServiceServer) SubscribeArmDisarm(*SubscribeArmDisarmRequest, grpc.ServerStreamingServer[ArmDisarmResponse]) error
func (UnimplementedActionServerServiceServer) SubscribeFlightModeChange ¶
func (UnimplementedActionServerServiceServer) SubscribeFlightModeChange(*SubscribeFlightModeChangeRequest, grpc.ServerStreamingServer[FlightModeChangeResponse]) error
func (UnimplementedActionServerServiceServer) SubscribeLand ¶
func (UnimplementedActionServerServiceServer) SubscribeLand(*SubscribeLandRequest, grpc.ServerStreamingServer[LandResponse]) error
func (UnimplementedActionServerServiceServer) SubscribeReboot ¶
func (UnimplementedActionServerServiceServer) SubscribeReboot(*SubscribeRebootRequest, grpc.ServerStreamingServer[RebootResponse]) error
func (UnimplementedActionServerServiceServer) SubscribeShutdown ¶
func (UnimplementedActionServerServiceServer) SubscribeShutdown(*SubscribeShutdownRequest, grpc.ServerStreamingServer[ShutdownResponse]) error
func (UnimplementedActionServerServiceServer) SubscribeTakeoff ¶
func (UnimplementedActionServerServiceServer) SubscribeTakeoff(*SubscribeTakeoffRequest, grpc.ServerStreamingServer[TakeoffResponse]) error
func (UnimplementedActionServerServiceServer) SubscribeTerminate ¶
func (UnimplementedActionServerServiceServer) SubscribeTerminate(*SubscribeTerminateRequest, grpc.ServerStreamingServer[TerminateResponse]) error
type UnsafeActionServerServiceServer ¶
type UnsafeActionServerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActionServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActionServerServiceServer will result in compilation errors.