Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterActionServiceServer(s grpc.ServiceRegistrar, srv ActionServiceServer)
- type ActionResult
- func (*ActionResult) Descriptor() ([]byte, []int)deprecated
- func (x *ActionResult) GetResult() ActionResult_Result
- func (x *ActionResult) GetResultStr() string
- func (*ActionResult) ProtoMessage()
- func (x *ActionResult) ProtoReflect() protoreflect.Message
- func (x *ActionResult) Reset()
- func (x *ActionResult) String() string
- type ActionResult_Result
- func (ActionResult_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ActionResult_Result) Enum() *ActionResult_Result
- func (ActionResult_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActionResult_Result) Number() protoreflect.EnumNumber
- func (x ActionResult_Result) String() string
- func (ActionResult_Result) Type() protoreflect.EnumType
- type ActionServiceClient
- type ActionServiceServer
- type ArmForceRequest
- type ArmForceResponse
- func (*ArmForceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArmForceResponse) GetActionResult() *ActionResult
- func (*ArmForceResponse) ProtoMessage()
- func (x *ArmForceResponse) ProtoReflect() protoreflect.Message
- func (x *ArmForceResponse) Reset()
- func (x *ArmForceResponse) String() string
- type ArmRequest
- type ArmResponse
- type DisarmRequest
- type DisarmResponse
- type DoOrbitRequest
- func (*DoOrbitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DoOrbitRequest) GetAbsoluteAltitudeM() float64
- func (x *DoOrbitRequest) GetLatitudeDeg() float64
- func (x *DoOrbitRequest) GetLongitudeDeg() float64
- func (x *DoOrbitRequest) GetRadiusM() float32
- func (x *DoOrbitRequest) GetVelocityMs() float32
- func (x *DoOrbitRequest) GetYawBehavior() OrbitYawBehavior
- func (*DoOrbitRequest) ProtoMessage()
- func (x *DoOrbitRequest) ProtoReflect() protoreflect.Message
- func (x *DoOrbitRequest) Reset()
- func (x *DoOrbitRequest) String() string
- type DoOrbitResponse
- type GetMaximumSpeedRequest
- type GetMaximumSpeedResponse
- func (*GetMaximumSpeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMaximumSpeedResponse) GetActionResult() *ActionResult
- func (x *GetMaximumSpeedResponse) GetSpeed() float32
- func (*GetMaximumSpeedResponse) ProtoMessage()
- func (x *GetMaximumSpeedResponse) ProtoReflect() protoreflect.Message
- func (x *GetMaximumSpeedResponse) Reset()
- func (x *GetMaximumSpeedResponse) String() string
- type GetReturnToLaunchAltitudeRequest
- func (*GetReturnToLaunchAltitudeRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetReturnToLaunchAltitudeRequest) ProtoMessage()
- func (x *GetReturnToLaunchAltitudeRequest) ProtoReflect() protoreflect.Message
- func (x *GetReturnToLaunchAltitudeRequest) Reset()
- func (x *GetReturnToLaunchAltitudeRequest) String() string
- type GetReturnToLaunchAltitudeResponse
- func (*GetReturnToLaunchAltitudeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReturnToLaunchAltitudeResponse) GetActionResult() *ActionResult
- func (x *GetReturnToLaunchAltitudeResponse) GetRelativeAltitudeM() float32
- func (*GetReturnToLaunchAltitudeResponse) ProtoMessage()
- func (x *GetReturnToLaunchAltitudeResponse) ProtoReflect() protoreflect.Message
- func (x *GetReturnToLaunchAltitudeResponse) Reset()
- func (x *GetReturnToLaunchAltitudeResponse) String() string
- type GetTakeoffAltitudeRequest
- type GetTakeoffAltitudeResponse
- func (*GetTakeoffAltitudeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTakeoffAltitudeResponse) GetActionResult() *ActionResult
- func (x *GetTakeoffAltitudeResponse) GetAltitude() float32
- func (*GetTakeoffAltitudeResponse) ProtoMessage()
- func (x *GetTakeoffAltitudeResponse) ProtoReflect() protoreflect.Message
- func (x *GetTakeoffAltitudeResponse) Reset()
- func (x *GetTakeoffAltitudeResponse) String() string
- type GotoLocationRequest
- func (*GotoLocationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GotoLocationRequest) GetAbsoluteAltitudeM() float32
- func (x *GotoLocationRequest) GetLatitudeDeg() float64
- func (x *GotoLocationRequest) GetLongitudeDeg() float64
- func (x *GotoLocationRequest) GetYawDeg() float32
- func (*GotoLocationRequest) ProtoMessage()
- func (x *GotoLocationRequest) ProtoReflect() protoreflect.Message
- func (x *GotoLocationRequest) Reset()
- func (x *GotoLocationRequest) String() string
- type GotoLocationResponse
- func (*GotoLocationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GotoLocationResponse) GetActionResult() *ActionResult
- func (*GotoLocationResponse) ProtoMessage()
- func (x *GotoLocationResponse) ProtoReflect() protoreflect.Message
- func (x *GotoLocationResponse) Reset()
- func (x *GotoLocationResponse) String() string
- type HoldRequest
- type HoldResponse
- type KillRequest
- type KillResponse
- type LandRequest
- type LandResponse
- type OrbitYawBehavior
- func (OrbitYawBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x OrbitYawBehavior) Enum() *OrbitYawBehavior
- func (OrbitYawBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrbitYawBehavior) Number() protoreflect.EnumNumber
- func (x OrbitYawBehavior) String() string
- func (OrbitYawBehavior) Type() protoreflect.EnumType
- type RebootRequest
- type RebootResponse
- type ReturnToLaunchRequest
- type ReturnToLaunchResponse
- func (*ReturnToLaunchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReturnToLaunchResponse) GetActionResult() *ActionResult
- func (*ReturnToLaunchResponse) ProtoMessage()
- func (x *ReturnToLaunchResponse) ProtoReflect() protoreflect.Message
- func (x *ReturnToLaunchResponse) Reset()
- func (x *ReturnToLaunchResponse) String() string
- type ServiceImpl
- func (s *ServiceImpl) Arm(ctx context.Context) (*ArmResponse, error)
- func (s *ServiceImpl) ArmForce(ctx context.Context) (*ArmForceResponse, error)
- func (s *ServiceImpl) Disarm(ctx context.Context) (*DisarmResponse, error)
- func (s *ServiceImpl) DoOrbit(ctx context.Context, radiusM float32, velocityMs float32, ...) (*DoOrbitResponse, error)
- func (s *ServiceImpl) GetMaximumSpeed(ctx context.Context) (*GetMaximumSpeedResponse, error)
- func (s *ServiceImpl) GetReturnToLaunchAltitude(ctx context.Context) (*GetReturnToLaunchAltitudeResponse, error)
- func (s *ServiceImpl) GetTakeoffAltitude(ctx context.Context) (*GetTakeoffAltitudeResponse, error)
- func (s *ServiceImpl) GotoLocation(ctx context.Context, latitudeDeg float64, longitudeDeg float64, ...) (*GotoLocationResponse, error)
- func (s *ServiceImpl) Hold(ctx context.Context) (*HoldResponse, error)
- func (s *ServiceImpl) Kill(ctx context.Context) (*KillResponse, error)
- func (s *ServiceImpl) Land(ctx context.Context) (*LandResponse, error)
- func (s *ServiceImpl) Reboot(ctx context.Context) (*RebootResponse, error)
- func (s *ServiceImpl) ReturnToLaunch(ctx context.Context) (*ReturnToLaunchResponse, error)
- func (s *ServiceImpl) SetActuator(ctx context.Context, index int32, value float32) (*SetActuatorResponse, error)
- func (s *ServiceImpl) SetCurrentSpeed(ctx context.Context, speedMS float32) (*SetCurrentSpeedResponse, error)
- func (s *ServiceImpl) SetMaximumSpeed(ctx context.Context, speed float32) (*SetMaximumSpeedResponse, error)
- func (s *ServiceImpl) SetReturnToLaunchAltitude(ctx context.Context, relativeAltitudeM float32) (*SetReturnToLaunchAltitudeResponse, error)
- func (s *ServiceImpl) SetTakeoffAltitude(ctx context.Context, altitude float32) (*SetTakeoffAltitudeResponse, error)
- func (s *ServiceImpl) Shutdown(ctx context.Context) (*ShutdownResponse, error)
- func (s *ServiceImpl) Takeoff(ctx context.Context) (*TakeoffResponse, error)
- func (s *ServiceImpl) Terminate(ctx context.Context) (*TerminateResponse, error)
- func (s *ServiceImpl) TransitionToFixedwing(ctx context.Context) (*TransitionToFixedwingResponse, error)
- func (s *ServiceImpl) TransitionToMulticopter(ctx context.Context) (*TransitionToMulticopterResponse, error)
- type SetActuatorRequest
- func (*SetActuatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetActuatorRequest) GetIndex() int32
- func (x *SetActuatorRequest) GetValue() float32
- func (*SetActuatorRequest) ProtoMessage()
- func (x *SetActuatorRequest) ProtoReflect() protoreflect.Message
- func (x *SetActuatorRequest) Reset()
- func (x *SetActuatorRequest) String() string
- type SetActuatorResponse
- func (*SetActuatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetActuatorResponse) GetActionResult() *ActionResult
- func (*SetActuatorResponse) ProtoMessage()
- func (x *SetActuatorResponse) ProtoReflect() protoreflect.Message
- func (x *SetActuatorResponse) Reset()
- func (x *SetActuatorResponse) String() string
- type SetCurrentSpeedRequest
- func (*SetCurrentSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetCurrentSpeedRequest) GetSpeedMS() float32
- func (*SetCurrentSpeedRequest) ProtoMessage()
- func (x *SetCurrentSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *SetCurrentSpeedRequest) Reset()
- func (x *SetCurrentSpeedRequest) String() string
- type SetCurrentSpeedResponse
- func (*SetCurrentSpeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetCurrentSpeedResponse) GetActionResult() *ActionResult
- func (*SetCurrentSpeedResponse) ProtoMessage()
- func (x *SetCurrentSpeedResponse) ProtoReflect() protoreflect.Message
- func (x *SetCurrentSpeedResponse) Reset()
- func (x *SetCurrentSpeedResponse) String() string
- type SetMaximumSpeedRequest
- func (*SetMaximumSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMaximumSpeedRequest) GetSpeed() float32
- func (*SetMaximumSpeedRequest) ProtoMessage()
- func (x *SetMaximumSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *SetMaximumSpeedRequest) Reset()
- func (x *SetMaximumSpeedRequest) String() string
- type SetMaximumSpeedResponse
- func (*SetMaximumSpeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetMaximumSpeedResponse) GetActionResult() *ActionResult
- func (*SetMaximumSpeedResponse) ProtoMessage()
- func (x *SetMaximumSpeedResponse) ProtoReflect() protoreflect.Message
- func (x *SetMaximumSpeedResponse) Reset()
- func (x *SetMaximumSpeedResponse) String() string
- type SetReturnToLaunchAltitudeRequest
- func (*SetReturnToLaunchAltitudeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetReturnToLaunchAltitudeRequest) GetRelativeAltitudeM() float32
- func (*SetReturnToLaunchAltitudeRequest) ProtoMessage()
- func (x *SetReturnToLaunchAltitudeRequest) ProtoReflect() protoreflect.Message
- func (x *SetReturnToLaunchAltitudeRequest) Reset()
- func (x *SetReturnToLaunchAltitudeRequest) String() string
- type SetReturnToLaunchAltitudeResponse
- func (*SetReturnToLaunchAltitudeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetReturnToLaunchAltitudeResponse) GetActionResult() *ActionResult
- func (*SetReturnToLaunchAltitudeResponse) ProtoMessage()
- func (x *SetReturnToLaunchAltitudeResponse) ProtoReflect() protoreflect.Message
- func (x *SetReturnToLaunchAltitudeResponse) Reset()
- func (x *SetReturnToLaunchAltitudeResponse) String() string
- type SetTakeoffAltitudeRequest
- func (*SetTakeoffAltitudeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTakeoffAltitudeRequest) GetAltitude() float32
- func (*SetTakeoffAltitudeRequest) ProtoMessage()
- func (x *SetTakeoffAltitudeRequest) ProtoReflect() protoreflect.Message
- func (x *SetTakeoffAltitudeRequest) Reset()
- func (x *SetTakeoffAltitudeRequest) String() string
- type SetTakeoffAltitudeResponse
- func (*SetTakeoffAltitudeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetTakeoffAltitudeResponse) GetActionResult() *ActionResult
- func (*SetTakeoffAltitudeResponse) ProtoMessage()
- func (x *SetTakeoffAltitudeResponse) ProtoReflect() protoreflect.Message
- func (x *SetTakeoffAltitudeResponse) Reset()
- func (x *SetTakeoffAltitudeResponse) String() string
- type ShutdownRequest
- type ShutdownResponse
- func (*ShutdownResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShutdownResponse) GetActionResult() *ActionResult
- func (*ShutdownResponse) ProtoMessage()
- func (x *ShutdownResponse) ProtoReflect() protoreflect.Message
- func (x *ShutdownResponse) Reset()
- func (x *ShutdownResponse) String() string
- type TakeoffRequest
- type TakeoffResponse
- type TerminateRequest
- type TerminateResponse
- func (*TerminateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateResponse) GetActionResult() *ActionResult
- func (*TerminateResponse) ProtoMessage()
- func (x *TerminateResponse) ProtoReflect() protoreflect.Message
- func (x *TerminateResponse) Reset()
- func (x *TerminateResponse) String() string
- type TransitionToFixedwingRequest
- func (*TransitionToFixedwingRequest) Descriptor() ([]byte, []int)deprecated
- func (*TransitionToFixedwingRequest) ProtoMessage()
- func (x *TransitionToFixedwingRequest) ProtoReflect() protoreflect.Message
- func (x *TransitionToFixedwingRequest) Reset()
- func (x *TransitionToFixedwingRequest) String() string
- type TransitionToFixedwingResponse
- func (*TransitionToFixedwingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionToFixedwingResponse) GetActionResult() *ActionResult
- func (*TransitionToFixedwingResponse) ProtoMessage()
- func (x *TransitionToFixedwingResponse) ProtoReflect() protoreflect.Message
- func (x *TransitionToFixedwingResponse) Reset()
- func (x *TransitionToFixedwingResponse) String() string
- type TransitionToMulticopterRequest
- func (*TransitionToMulticopterRequest) Descriptor() ([]byte, []int)deprecated
- func (*TransitionToMulticopterRequest) ProtoMessage()
- func (x *TransitionToMulticopterRequest) ProtoReflect() protoreflect.Message
- func (x *TransitionToMulticopterRequest) Reset()
- func (x *TransitionToMulticopterRequest) String() string
- type TransitionToMulticopterResponse
- func (*TransitionToMulticopterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionToMulticopterResponse) GetActionResult() *ActionResult
- func (*TransitionToMulticopterResponse) ProtoMessage()
- func (x *TransitionToMulticopterResponse) ProtoReflect() protoreflect.Message
- func (x *TransitionToMulticopterResponse) Reset()
- func (x *TransitionToMulticopterResponse) String() string
- type UnimplementedActionServiceServer
- func (UnimplementedActionServiceServer) Arm(context.Context, *ArmRequest) (*ArmResponse, error)
- func (UnimplementedActionServiceServer) ArmForce(context.Context, *ArmForceRequest) (*ArmForceResponse, error)
- func (UnimplementedActionServiceServer) Disarm(context.Context, *DisarmRequest) (*DisarmResponse, error)
- func (UnimplementedActionServiceServer) DoOrbit(context.Context, *DoOrbitRequest) (*DoOrbitResponse, error)
- func (UnimplementedActionServiceServer) GetMaximumSpeed(context.Context, *GetMaximumSpeedRequest) (*GetMaximumSpeedResponse, error)
- func (UnimplementedActionServiceServer) GetReturnToLaunchAltitude(context.Context, *GetReturnToLaunchAltitudeRequest) (*GetReturnToLaunchAltitudeResponse, error)
- func (UnimplementedActionServiceServer) GetTakeoffAltitude(context.Context, *GetTakeoffAltitudeRequest) (*GetTakeoffAltitudeResponse, error)
- func (UnimplementedActionServiceServer) GotoLocation(context.Context, *GotoLocationRequest) (*GotoLocationResponse, error)
- func (UnimplementedActionServiceServer) Hold(context.Context, *HoldRequest) (*HoldResponse, error)
- func (UnimplementedActionServiceServer) Kill(context.Context, *KillRequest) (*KillResponse, error)
- func (UnimplementedActionServiceServer) Land(context.Context, *LandRequest) (*LandResponse, error)
- func (UnimplementedActionServiceServer) Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
- func (UnimplementedActionServiceServer) ReturnToLaunch(context.Context, *ReturnToLaunchRequest) (*ReturnToLaunchResponse, error)
- func (UnimplementedActionServiceServer) SetActuator(context.Context, *SetActuatorRequest) (*SetActuatorResponse, error)
- func (UnimplementedActionServiceServer) SetCurrentSpeed(context.Context, *SetCurrentSpeedRequest) (*SetCurrentSpeedResponse, error)
- func (UnimplementedActionServiceServer) SetMaximumSpeed(context.Context, *SetMaximumSpeedRequest) (*SetMaximumSpeedResponse, error)
- func (UnimplementedActionServiceServer) SetReturnToLaunchAltitude(context.Context, *SetReturnToLaunchAltitudeRequest) (*SetReturnToLaunchAltitudeResponse, error)
- func (UnimplementedActionServiceServer) SetTakeoffAltitude(context.Context, *SetTakeoffAltitudeRequest) (*SetTakeoffAltitudeResponse, error)
- func (UnimplementedActionServiceServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
- func (UnimplementedActionServiceServer) Takeoff(context.Context, *TakeoffRequest) (*TakeoffResponse, error)
- func (UnimplementedActionServiceServer) Terminate(context.Context, *TerminateRequest) (*TerminateResponse, error)
- func (UnimplementedActionServiceServer) TransitionToFixedwing(context.Context, *TransitionToFixedwingRequest) (*TransitionToFixedwingResponse, error)
- func (UnimplementedActionServiceServer) TransitionToMulticopter(context.Context, *TransitionToMulticopterRequest) (*TransitionToMulticopterResponse, error)
- type UnsafeActionServiceServer
Constants ¶
const ( ActionService_Arm_FullMethodName = "/mavsdk.rpc.action.ActionService/Arm" ActionService_ArmForce_FullMethodName = "/mavsdk.rpc.action.ActionService/ArmForce" ActionService_Disarm_FullMethodName = "/mavsdk.rpc.action.ActionService/Disarm" ActionService_Takeoff_FullMethodName = "/mavsdk.rpc.action.ActionService/Takeoff" ActionService_Land_FullMethodName = "/mavsdk.rpc.action.ActionService/Land" ActionService_Reboot_FullMethodName = "/mavsdk.rpc.action.ActionService/Reboot" ActionService_Shutdown_FullMethodName = "/mavsdk.rpc.action.ActionService/Shutdown" ActionService_Terminate_FullMethodName = "/mavsdk.rpc.action.ActionService/Terminate" ActionService_Kill_FullMethodName = "/mavsdk.rpc.action.ActionService/Kill" ActionService_ReturnToLaunch_FullMethodName = "/mavsdk.rpc.action.ActionService/ReturnToLaunch" ActionService_GotoLocation_FullMethodName = "/mavsdk.rpc.action.ActionService/GotoLocation" ActionService_DoOrbit_FullMethodName = "/mavsdk.rpc.action.ActionService/DoOrbit" ActionService_Hold_FullMethodName = "/mavsdk.rpc.action.ActionService/Hold" ActionService_SetActuator_FullMethodName = "/mavsdk.rpc.action.ActionService/SetActuator" ActionService_TransitionToFixedwing_FullMethodName = "/mavsdk.rpc.action.ActionService/TransitionToFixedwing" ActionService_TransitionToMulticopter_FullMethodName = "/mavsdk.rpc.action.ActionService/TransitionToMulticopter" ActionService_GetTakeoffAltitude_FullMethodName = "/mavsdk.rpc.action.ActionService/GetTakeoffAltitude" ActionService_SetTakeoffAltitude_FullMethodName = "/mavsdk.rpc.action.ActionService/SetTakeoffAltitude" ActionService_GetMaximumSpeed_FullMethodName = "/mavsdk.rpc.action.ActionService/GetMaximumSpeed" ActionService_SetMaximumSpeed_FullMethodName = "/mavsdk.rpc.action.ActionService/SetMaximumSpeed" ActionService_GetReturnToLaunchAltitude_FullMethodName = "/mavsdk.rpc.action.ActionService/GetReturnToLaunchAltitude" ActionService_SetReturnToLaunchAltitude_FullMethodName = "/mavsdk.rpc.action.ActionService/SetReturnToLaunchAltitude" ActionService_SetCurrentSpeed_FullMethodName = "/mavsdk.rpc.action.ActionService/SetCurrentSpeed" )
Variables ¶
var ( OrbitYawBehavior_name = map[int32]string{ 0: "ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER", 1: "ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING", 2: "ORBIT_YAW_BEHAVIOR_UNCONTROLLED", 3: "ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE", 4: "ORBIT_YAW_BEHAVIOR_RC_CONTROLLED", } OrbitYawBehavior_value = map[string]int32{ "ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER": 0, "ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING": 1, "ORBIT_YAW_BEHAVIOR_UNCONTROLLED": 2, "ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE": 3, "ORBIT_YAW_BEHAVIOR_RC_CONTROLLED": 4, } )
Enum value maps for OrbitYawBehavior.
var ( ActionResult_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_UNSUPPORTED", 13: "RESULT_FAILED", 14: "RESULT_INVALID_ARGUMENT", } ActionResult_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_UNSUPPORTED": 12, "RESULT_FAILED": 13, "RESULT_INVALID_ARGUMENT": 14, } )
Enum value maps for ActionResult_Result.
var ActionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mavsdk.rpc.action.ActionService", HandlerType: (*ActionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Arm", Handler: _ActionService_Arm_Handler, }, { MethodName: "ArmForce", Handler: _ActionService_ArmForce_Handler, }, { MethodName: "Disarm", Handler: _ActionService_Disarm_Handler, }, { MethodName: "Takeoff", Handler: _ActionService_Takeoff_Handler, }, { MethodName: "Land", Handler: _ActionService_Land_Handler, }, { MethodName: "Reboot", Handler: _ActionService_Reboot_Handler, }, { MethodName: "Shutdown", Handler: _ActionService_Shutdown_Handler, }, { MethodName: "Terminate", Handler: _ActionService_Terminate_Handler, }, { MethodName: "Kill", Handler: _ActionService_Kill_Handler, }, { MethodName: "ReturnToLaunch", Handler: _ActionService_ReturnToLaunch_Handler, }, { MethodName: "GotoLocation", Handler: _ActionService_GotoLocation_Handler, }, { MethodName: "DoOrbit", Handler: _ActionService_DoOrbit_Handler, }, { MethodName: "Hold", Handler: _ActionService_Hold_Handler, }, { MethodName: "SetActuator", Handler: _ActionService_SetActuator_Handler, }, { MethodName: "TransitionToFixedwing", Handler: _ActionService_TransitionToFixedwing_Handler, }, { MethodName: "TransitionToMulticopter", Handler: _ActionService_TransitionToMulticopter_Handler, }, { MethodName: "GetTakeoffAltitude", Handler: _ActionService_GetTakeoffAltitude_Handler, }, { MethodName: "SetTakeoffAltitude", Handler: _ActionService_SetTakeoffAltitude_Handler, }, { MethodName: "GetMaximumSpeed", Handler: _ActionService_GetMaximumSpeed_Handler, }, { MethodName: "SetMaximumSpeed", Handler: _ActionService_SetMaximumSpeed_Handler, }, { MethodName: "GetReturnToLaunchAltitude", Handler: _ActionService_GetReturnToLaunchAltitude_Handler, }, { MethodName: "SetReturnToLaunchAltitude", Handler: _ActionService_SetReturnToLaunchAltitude_Handler, }, { MethodName: "SetCurrentSpeed", Handler: _ActionService_SetCurrentSpeed_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "action.proto", }
ActionService_ServiceDesc is the grpc.ServiceDesc for ActionService 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_proto protoreflect.FileDescriptor
Functions ¶
func RegisterActionServiceServer ¶
func RegisterActionServiceServer(s grpc.ServiceRegistrar, srv ActionServiceServer)
Types ¶
type ActionResult ¶
type ActionResult struct { Result ActionResult_Result `protobuf:"varint,1,opt,name=result,proto3,enum=mavsdk.rpc.action.ActionResult_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 (*ActionResult) Descriptor
deprecated
func (*ActionResult) Descriptor() ([]byte, []int)
Deprecated: Use ActionResult.ProtoReflect.Descriptor instead.
func (*ActionResult) GetResult ¶
func (x *ActionResult) GetResult() ActionResult_Result
func (*ActionResult) GetResultStr ¶
func (x *ActionResult) GetResultStr() string
func (*ActionResult) ProtoMessage ¶
func (*ActionResult) ProtoMessage()
func (*ActionResult) ProtoReflect ¶
func (x *ActionResult) ProtoReflect() protoreflect.Message
func (*ActionResult) Reset ¶
func (x *ActionResult) Reset()
func (*ActionResult) String ¶
func (x *ActionResult) String() string
type ActionResult_Result ¶
type ActionResult_Result int32
Possible results returned for action requests.
const ( ActionResult_RESULT_UNKNOWN ActionResult_Result = 0 // Unknown result ActionResult_RESULT_SUCCESS ActionResult_Result = 1 // Request was successful ActionResult_RESULT_NO_SYSTEM ActionResult_Result = 2 // No system is connected ActionResult_RESULT_CONNECTION_ERROR ActionResult_Result = 3 // Connection error ActionResult_RESULT_BUSY ActionResult_Result = 4 // Vehicle is busy ActionResult_RESULT_COMMAND_DENIED ActionResult_Result = 5 // Command refused by vehicle ActionResult_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN ActionResult_Result = 6 // Command refused because landed state is unknown ActionResult_RESULT_COMMAND_DENIED_NOT_LANDED ActionResult_Result = 7 // Command refused because vehicle not landed ActionResult_RESULT_TIMEOUT ActionResult_Result = 8 // Request timed out ActionResult_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN ActionResult_Result = 9 // Hybrid/VTOL transition support is unknown ActionResult_RESULT_NO_VTOL_TRANSITION_SUPPORT ActionResult_Result = 10 // Vehicle does not support hybrid/VTOL transitions ActionResult_RESULT_PARAMETER_ERROR ActionResult_Result = 11 // Error getting or setting parameter ActionResult_RESULT_UNSUPPORTED ActionResult_Result = 12 // Action not supported ActionResult_RESULT_FAILED ActionResult_Result = 13 // Action failed ActionResult_RESULT_INVALID_ARGUMENT ActionResult_Result = 14 // Invalid argument )
func (ActionResult_Result) Descriptor ¶
func (ActionResult_Result) Descriptor() protoreflect.EnumDescriptor
func (ActionResult_Result) Enum ¶
func (x ActionResult_Result) Enum() *ActionResult_Result
func (ActionResult_Result) EnumDescriptor
deprecated
func (ActionResult_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionResult_Result.Descriptor instead.
func (ActionResult_Result) Number ¶
func (x ActionResult_Result) Number() protoreflect.EnumNumber
func (ActionResult_Result) String ¶
func (x ActionResult_Result) String() string
func (ActionResult_Result) Type ¶
func (ActionResult_Result) Type() protoreflect.EnumType
type ActionServiceClient ¶
type ActionServiceClient interface { // Send command to arm the drone. // // Arming a drone normally causes motors to spin at idle. // Before arming take all safety precautions and stand clear of the drone! Arm(ctx context.Context, in *ArmRequest, opts ...grpc.CallOption) (*ArmResponse, error) // Send command to force-arm the drone without any checks. // // Attention: this is not to be used for normal flying but only bench tests! // // Arming a drone normally causes motors to spin at idle. // Before arming take all safety precautions and stand clear of the drone! ArmForce(ctx context.Context, in *ArmForceRequest, opts ...grpc.CallOption) (*ArmForceResponse, error) // Send command to disarm the drone. // // This will disarm a drone that considers itself landed. If flying, the drone should // reject the disarm command. Disarming means that all motors will stop. Disarm(ctx context.Context, in *DisarmRequest, opts ...grpc.CallOption) (*DisarmResponse, error) // Send command to take off and hover. // // This switches the drone into position control mode and commands // it to take off and hover at the takeoff altitude. // // Note that the vehicle must be armed before it can take off. Takeoff(ctx context.Context, in *TakeoffRequest, opts ...grpc.CallOption) (*TakeoffResponse, error) // Send command to land at the current position. // // This switches the drone to 'Land' flight mode. Land(ctx context.Context, in *LandRequest, opts ...grpc.CallOption) (*LandResponse, error) // Send command to reboot the drone components. // // This will reboot the autopilot, companion computer, camera and gimbal. Reboot(ctx context.Context, in *RebootRequest, opts ...grpc.CallOption) (*RebootResponse, error) // Send command to shut down the drone components. // // This will shut down the autopilot, onboard computer, camera and gimbal. // This command should only be used when the autopilot is disarmed and autopilots commonly // reject it if they are not already ready to shut down. Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) // Send command to terminate the drone. // // This will run the terminate routine as configured on the drone (e.g. disarm and open the parachute). Terminate(ctx context.Context, in *TerminateRequest, opts ...grpc.CallOption) (*TerminateResponse, error) // Send command to kill the drone. // // This will disarm a drone irrespective of whether it is landed or flying. // Note that the drone will fall out of the sky if this command is used while flying. Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error) // Send command to return to the launch (takeoff) position and land. // // This switches the drone into [Return mode](https://docs.px4.io/master/en/flight_modes/return.html) which // generally means it will rise up to a certain altitude to clear any obstacles before heading // back to the launch (takeoff) position and land there. ReturnToLaunch(ctx context.Context, in *ReturnToLaunchRequest, opts ...grpc.CallOption) (*ReturnToLaunchResponse, error) // Send command to move the vehicle to a specific global position. // // The latitude and longitude are given in degrees (WGS84 frame) and the altitude // in meters AMSL (above mean sea level). // // The yaw angle is in degrees (frame is NED, 0 is North, positive is clockwise). GotoLocation(ctx context.Context, in *GotoLocationRequest, opts ...grpc.CallOption) (*GotoLocationResponse, error) // Send command do orbit to the drone. // // This will run the orbit routine with the given parameters. DoOrbit(ctx context.Context, in *DoOrbitRequest, opts ...grpc.CallOption) (*DoOrbitResponse, error) // Send command to hold position (a.k.a. "Loiter"). // // Sends a command to drone to change to Hold flight mode, causing the // vehicle to stop and maintain its current GPS position and altitude. // // Note: this command is specific to the PX4 Autopilot flight stack as // it implies a change to a PX4-specific mode. Hold(ctx context.Context, in *HoldRequest, opts ...grpc.CallOption) (*HoldResponse, error) // Send command to set the value of an actuator. // // Note that the index of the actuator starts at 1 and that the value goes from -1 to 1. SetActuator(ctx context.Context, in *SetActuatorRequest, opts ...grpc.CallOption) (*SetActuatorResponse, error) // Send command to transition the drone to fixedwing. // // The associated action will only be executed for VTOL vehicles (on other vehicle types the // command will fail). The command will succeed if called when the vehicle // is already in fixedwing mode. TransitionToFixedwing(ctx context.Context, in *TransitionToFixedwingRequest, opts ...grpc.CallOption) (*TransitionToFixedwingResponse, error) // Send command to transition the drone to multicopter. // // The associated action will only be executed for VTOL vehicles (on other vehicle types the // command will fail). The command will succeed if called when the vehicle // is already in multicopter mode. TransitionToMulticopter(ctx context.Context, in *TransitionToMulticopterRequest, opts ...grpc.CallOption) (*TransitionToMulticopterResponse, error) // Get the takeoff altitude (in meters above ground). GetTakeoffAltitude(ctx context.Context, in *GetTakeoffAltitudeRequest, opts ...grpc.CallOption) (*GetTakeoffAltitudeResponse, error) // Set takeoff altitude (in meters above ground). SetTakeoffAltitude(ctx context.Context, in *SetTakeoffAltitudeRequest, opts ...grpc.CallOption) (*SetTakeoffAltitudeResponse, error) // Get the vehicle maximum speed (in metres/second). GetMaximumSpeed(ctx context.Context, in *GetMaximumSpeedRequest, opts ...grpc.CallOption) (*GetMaximumSpeedResponse, error) // Set vehicle maximum speed (in metres/second). SetMaximumSpeed(ctx context.Context, in *SetMaximumSpeedRequest, opts ...grpc.CallOption) (*SetMaximumSpeedResponse, error) // Get the return to launch minimum return altitude (in meters). GetReturnToLaunchAltitude(ctx context.Context, in *GetReturnToLaunchAltitudeRequest, opts ...grpc.CallOption) (*GetReturnToLaunchAltitudeResponse, error) // Set the return to launch minimum return altitude (in meters). SetReturnToLaunchAltitude(ctx context.Context, in *SetReturnToLaunchAltitudeRequest, opts ...grpc.CallOption) (*SetReturnToLaunchAltitudeResponse, error) // Set current speed. // // This will set the speed during a mission, reposition, and similar. // It is ephemeral, so not stored on the drone and does not survive a reboot. SetCurrentSpeed(ctx context.Context, in *SetCurrentSpeedRequest, opts ...grpc.CallOption) (*SetCurrentSpeedResponse, error) }
ActionServiceClient is the client API for ActionService 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.
Enable simple actions such as arming, taking off, and landing.
func NewActionServiceClient ¶
func NewActionServiceClient(cc grpc.ClientConnInterface) ActionServiceClient
type ActionServiceServer ¶
type ActionServiceServer interface { // Send command to arm the drone. // // Arming a drone normally causes motors to spin at idle. // Before arming take all safety precautions and stand clear of the drone! Arm(context.Context, *ArmRequest) (*ArmResponse, error) // Send command to force-arm the drone without any checks. // // Attention: this is not to be used for normal flying but only bench tests! // // Arming a drone normally causes motors to spin at idle. // Before arming take all safety precautions and stand clear of the drone! ArmForce(context.Context, *ArmForceRequest) (*ArmForceResponse, error) // Send command to disarm the drone. // // This will disarm a drone that considers itself landed. If flying, the drone should // reject the disarm command. Disarming means that all motors will stop. Disarm(context.Context, *DisarmRequest) (*DisarmResponse, error) // Send command to take off and hover. // // This switches the drone into position control mode and commands // it to take off and hover at the takeoff altitude. // // Note that the vehicle must be armed before it can take off. Takeoff(context.Context, *TakeoffRequest) (*TakeoffResponse, error) // Send command to land at the current position. // // This switches the drone to 'Land' flight mode. Land(context.Context, *LandRequest) (*LandResponse, error) // Send command to reboot the drone components. // // This will reboot the autopilot, companion computer, camera and gimbal. Reboot(context.Context, *RebootRequest) (*RebootResponse, error) // Send command to shut down the drone components. // // This will shut down the autopilot, onboard computer, camera and gimbal. // This command should only be used when the autopilot is disarmed and autopilots commonly // reject it if they are not already ready to shut down. Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error) // Send command to terminate the drone. // // This will run the terminate routine as configured on the drone (e.g. disarm and open the parachute). Terminate(context.Context, *TerminateRequest) (*TerminateResponse, error) // Send command to kill the drone. // // This will disarm a drone irrespective of whether it is landed or flying. // Note that the drone will fall out of the sky if this command is used while flying. Kill(context.Context, *KillRequest) (*KillResponse, error) // Send command to return to the launch (takeoff) position and land. // // This switches the drone into [Return mode](https://docs.px4.io/master/en/flight_modes/return.html) which // generally means it will rise up to a certain altitude to clear any obstacles before heading // back to the launch (takeoff) position and land there. ReturnToLaunch(context.Context, *ReturnToLaunchRequest) (*ReturnToLaunchResponse, error) // Send command to move the vehicle to a specific global position. // // The latitude and longitude are given in degrees (WGS84 frame) and the altitude // in meters AMSL (above mean sea level). // // The yaw angle is in degrees (frame is NED, 0 is North, positive is clockwise). GotoLocation(context.Context, *GotoLocationRequest) (*GotoLocationResponse, error) // Send command do orbit to the drone. // // This will run the orbit routine with the given parameters. DoOrbit(context.Context, *DoOrbitRequest) (*DoOrbitResponse, error) // Send command to hold position (a.k.a. "Loiter"). // // Sends a command to drone to change to Hold flight mode, causing the // vehicle to stop and maintain its current GPS position and altitude. // // Note: this command is specific to the PX4 Autopilot flight stack as // it implies a change to a PX4-specific mode. Hold(context.Context, *HoldRequest) (*HoldResponse, error) // Send command to set the value of an actuator. // // Note that the index of the actuator starts at 1 and that the value goes from -1 to 1. SetActuator(context.Context, *SetActuatorRequest) (*SetActuatorResponse, error) // Send command to transition the drone to fixedwing. // // The associated action will only be executed for VTOL vehicles (on other vehicle types the // command will fail). The command will succeed if called when the vehicle // is already in fixedwing mode. TransitionToFixedwing(context.Context, *TransitionToFixedwingRequest) (*TransitionToFixedwingResponse, error) // Send command to transition the drone to multicopter. // // The associated action will only be executed for VTOL vehicles (on other vehicle types the // command will fail). The command will succeed if called when the vehicle // is already in multicopter mode. TransitionToMulticopter(context.Context, *TransitionToMulticopterRequest) (*TransitionToMulticopterResponse, error) // Get the takeoff altitude (in meters above ground). GetTakeoffAltitude(context.Context, *GetTakeoffAltitudeRequest) (*GetTakeoffAltitudeResponse, error) // Set takeoff altitude (in meters above ground). SetTakeoffAltitude(context.Context, *SetTakeoffAltitudeRequest) (*SetTakeoffAltitudeResponse, error) // Get the vehicle maximum speed (in metres/second). GetMaximumSpeed(context.Context, *GetMaximumSpeedRequest) (*GetMaximumSpeedResponse, error) // Set vehicle maximum speed (in metres/second). SetMaximumSpeed(context.Context, *SetMaximumSpeedRequest) (*SetMaximumSpeedResponse, error) // Get the return to launch minimum return altitude (in meters). GetReturnToLaunchAltitude(context.Context, *GetReturnToLaunchAltitudeRequest) (*GetReturnToLaunchAltitudeResponse, error) // Set the return to launch minimum return altitude (in meters). SetReturnToLaunchAltitude(context.Context, *SetReturnToLaunchAltitudeRequest) (*SetReturnToLaunchAltitudeResponse, error) // Set current speed. // // This will set the speed during a mission, reposition, and similar. // It is ephemeral, so not stored on the drone and does not survive a reboot. SetCurrentSpeed(context.Context, *SetCurrentSpeedRequest) (*SetCurrentSpeedResponse, error) // contains filtered or unexported methods }
ActionServiceServer is the server API for ActionService service. All implementations must embed UnimplementedActionServiceServer for forward compatibility.
Enable simple actions such as arming, taking off, and landing.
type ArmForceRequest ¶ added in v0.0.8
type ArmForceRequest struct {
// contains filtered or unexported fields
}
func (*ArmForceRequest) Descriptor
deprecated
added in
v0.0.8
func (*ArmForceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArmForceRequest.ProtoReflect.Descriptor instead.
func (*ArmForceRequest) ProtoMessage ¶ added in v0.0.8
func (*ArmForceRequest) ProtoMessage()
func (*ArmForceRequest) ProtoReflect ¶ added in v0.0.8
func (x *ArmForceRequest) ProtoReflect() protoreflect.Message
func (*ArmForceRequest) Reset ¶ added in v0.0.8
func (x *ArmForceRequest) Reset()
func (*ArmForceRequest) String ¶ added in v0.0.8
func (x *ArmForceRequest) String() string
type ArmForceResponse ¶ added in v0.0.8
type ArmForceResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*ArmForceResponse) Descriptor
deprecated
added in
v0.0.8
func (*ArmForceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArmForceResponse.ProtoReflect.Descriptor instead.
func (*ArmForceResponse) GetActionResult ¶ added in v0.0.8
func (x *ArmForceResponse) GetActionResult() *ActionResult
func (*ArmForceResponse) ProtoMessage ¶ added in v0.0.8
func (*ArmForceResponse) ProtoMessage()
func (*ArmForceResponse) ProtoReflect ¶ added in v0.0.8
func (x *ArmForceResponse) ProtoReflect() protoreflect.Message
func (*ArmForceResponse) Reset ¶ added in v0.0.8
func (x *ArmForceResponse) Reset()
func (*ArmForceResponse) String ¶ added in v0.0.8
func (x *ArmForceResponse) String() string
type ArmRequest ¶
type ArmRequest struct {
// contains filtered or unexported fields
}
func (*ArmRequest) Descriptor
deprecated
func (*ArmRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArmRequest.ProtoReflect.Descriptor instead.
func (*ArmRequest) ProtoMessage ¶
func (*ArmRequest) ProtoMessage()
func (*ArmRequest) ProtoReflect ¶
func (x *ArmRequest) ProtoReflect() protoreflect.Message
func (*ArmRequest) Reset ¶
func (x *ArmRequest) Reset()
func (*ArmRequest) String ¶
func (x *ArmRequest) String() string
type ArmResponse ¶
type ArmResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*ArmResponse) Descriptor
deprecated
func (*ArmResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArmResponse.ProtoReflect.Descriptor instead.
func (*ArmResponse) GetActionResult ¶
func (x *ArmResponse) GetActionResult() *ActionResult
func (*ArmResponse) ProtoMessage ¶
func (*ArmResponse) ProtoMessage()
func (*ArmResponse) ProtoReflect ¶
func (x *ArmResponse) ProtoReflect() protoreflect.Message
func (*ArmResponse) Reset ¶
func (x *ArmResponse) Reset()
func (*ArmResponse) String ¶
func (x *ArmResponse) String() string
type DisarmRequest ¶
type DisarmRequest struct {
// contains filtered or unexported fields
}
func (*DisarmRequest) Descriptor
deprecated
func (*DisarmRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisarmRequest.ProtoReflect.Descriptor instead.
func (*DisarmRequest) ProtoMessage ¶
func (*DisarmRequest) ProtoMessage()
func (*DisarmRequest) ProtoReflect ¶
func (x *DisarmRequest) ProtoReflect() protoreflect.Message
func (*DisarmRequest) Reset ¶
func (x *DisarmRequest) Reset()
func (*DisarmRequest) String ¶
func (x *DisarmRequest) String() string
type DisarmResponse ¶
type DisarmResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*DisarmResponse) Descriptor
deprecated
func (*DisarmResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisarmResponse.ProtoReflect.Descriptor instead.
func (*DisarmResponse) GetActionResult ¶
func (x *DisarmResponse) GetActionResult() *ActionResult
func (*DisarmResponse) ProtoMessage ¶
func (*DisarmResponse) ProtoMessage()
func (*DisarmResponse) ProtoReflect ¶
func (x *DisarmResponse) ProtoReflect() protoreflect.Message
func (*DisarmResponse) Reset ¶
func (x *DisarmResponse) Reset()
func (*DisarmResponse) String ¶
func (x *DisarmResponse) String() string
type DoOrbitRequest ¶ added in v0.0.3
type DoOrbitRequest struct { RadiusM float32 `protobuf:"fixed32,1,opt,name=radius_m,json=radiusM,proto3" json:"radius_m,omitempty"` // Radius of circle (in meters) VelocityMs float32 `protobuf:"fixed32,2,opt,name=velocity_ms,json=velocityMs,proto3" json:"velocity_ms,omitempty"` // Tangential velocity (in m/s) YawBehavior OrbitYawBehavior `` // Yaw behavior of vehicle (ORBIT_YAW_BEHAVIOUR) /* 135-byte string literal not displayed */ LatitudeDeg float64 `protobuf:"fixed64,5,opt,name=latitude_deg,json=latitudeDeg,proto3" json:"latitude_deg,omitempty"` // Center point latitude in degrees. NAN: use current latitude for center LongitudeDeg float64 `protobuf:"fixed64,6,opt,name=longitude_deg,json=longitudeDeg,proto3" json:"longitude_deg,omitempty"` // Center point longitude in degrees. NAN: use current longitude for center AbsoluteAltitudeM float64 `protobuf:"fixed64,7,opt,name=absolute_altitude_m,json=absoluteAltitudeM,proto3" json:"absolute_altitude_m,omitempty"` // Center point altitude in meters. NAN: use current altitude for center // contains filtered or unexported fields }
func (*DoOrbitRequest) Descriptor
deprecated
added in
v0.0.3
func (*DoOrbitRequest) Descriptor() ([]byte, []int)
Deprecated: Use DoOrbitRequest.ProtoReflect.Descriptor instead.
func (*DoOrbitRequest) GetAbsoluteAltitudeM ¶ added in v0.0.3
func (x *DoOrbitRequest) GetAbsoluteAltitudeM() float64
func (*DoOrbitRequest) GetLatitudeDeg ¶ added in v0.0.3
func (x *DoOrbitRequest) GetLatitudeDeg() float64
func (*DoOrbitRequest) GetLongitudeDeg ¶ added in v0.0.3
func (x *DoOrbitRequest) GetLongitudeDeg() float64
func (*DoOrbitRequest) GetRadiusM ¶ added in v0.0.3
func (x *DoOrbitRequest) GetRadiusM() float32
func (*DoOrbitRequest) GetVelocityMs ¶ added in v0.0.3
func (x *DoOrbitRequest) GetVelocityMs() float32
func (*DoOrbitRequest) GetYawBehavior ¶ added in v0.0.3
func (x *DoOrbitRequest) GetYawBehavior() OrbitYawBehavior
func (*DoOrbitRequest) ProtoMessage ¶ added in v0.0.3
func (*DoOrbitRequest) ProtoMessage()
func (*DoOrbitRequest) ProtoReflect ¶ added in v0.0.3
func (x *DoOrbitRequest) ProtoReflect() protoreflect.Message
func (*DoOrbitRequest) Reset ¶ added in v0.0.3
func (x *DoOrbitRequest) Reset()
func (*DoOrbitRequest) String ¶ added in v0.0.3
func (x *DoOrbitRequest) String() string
type DoOrbitResponse ¶ added in v0.0.3
type DoOrbitResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*DoOrbitResponse) Descriptor
deprecated
added in
v0.0.3
func (*DoOrbitResponse) Descriptor() ([]byte, []int)
Deprecated: Use DoOrbitResponse.ProtoReflect.Descriptor instead.
func (*DoOrbitResponse) GetActionResult ¶ added in v0.0.3
func (x *DoOrbitResponse) GetActionResult() *ActionResult
func (*DoOrbitResponse) ProtoMessage ¶ added in v0.0.3
func (*DoOrbitResponse) ProtoMessage()
func (*DoOrbitResponse) ProtoReflect ¶ added in v0.0.3
func (x *DoOrbitResponse) ProtoReflect() protoreflect.Message
func (*DoOrbitResponse) Reset ¶ added in v0.0.3
func (x *DoOrbitResponse) Reset()
func (*DoOrbitResponse) String ¶ added in v0.0.3
func (x *DoOrbitResponse) String() string
type GetMaximumSpeedRequest ¶
type GetMaximumSpeedRequest struct {
// contains filtered or unexported fields
}
func (*GetMaximumSpeedRequest) Descriptor
deprecated
func (*GetMaximumSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMaximumSpeedRequest.ProtoReflect.Descriptor instead.
func (*GetMaximumSpeedRequest) ProtoMessage ¶
func (*GetMaximumSpeedRequest) ProtoMessage()
func (*GetMaximumSpeedRequest) ProtoReflect ¶
func (x *GetMaximumSpeedRequest) ProtoReflect() protoreflect.Message
func (*GetMaximumSpeedRequest) Reset ¶
func (x *GetMaximumSpeedRequest) Reset()
func (*GetMaximumSpeedRequest) String ¶
func (x *GetMaximumSpeedRequest) String() string
type GetMaximumSpeedResponse ¶
type GetMaximumSpeedResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` Speed float32 `protobuf:"fixed32,2,opt,name=speed,proto3" json:"speed,omitempty"` // Maximum speed (in metres/second) // contains filtered or unexported fields }
func (*GetMaximumSpeedResponse) Descriptor
deprecated
func (*GetMaximumSpeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMaximumSpeedResponse.ProtoReflect.Descriptor instead.
func (*GetMaximumSpeedResponse) GetActionResult ¶
func (x *GetMaximumSpeedResponse) GetActionResult() *ActionResult
func (*GetMaximumSpeedResponse) GetSpeed ¶
func (x *GetMaximumSpeedResponse) GetSpeed() float32
func (*GetMaximumSpeedResponse) ProtoMessage ¶
func (*GetMaximumSpeedResponse) ProtoMessage()
func (*GetMaximumSpeedResponse) ProtoReflect ¶
func (x *GetMaximumSpeedResponse) ProtoReflect() protoreflect.Message
func (*GetMaximumSpeedResponse) Reset ¶
func (x *GetMaximumSpeedResponse) Reset()
func (*GetMaximumSpeedResponse) String ¶
func (x *GetMaximumSpeedResponse) String() string
type GetReturnToLaunchAltitudeRequest ¶
type GetReturnToLaunchAltitudeRequest struct {
// contains filtered or unexported fields
}
func (*GetReturnToLaunchAltitudeRequest) Descriptor
deprecated
func (*GetReturnToLaunchAltitudeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReturnToLaunchAltitudeRequest.ProtoReflect.Descriptor instead.
func (*GetReturnToLaunchAltitudeRequest) ProtoMessage ¶
func (*GetReturnToLaunchAltitudeRequest) ProtoMessage()
func (*GetReturnToLaunchAltitudeRequest) ProtoReflect ¶
func (x *GetReturnToLaunchAltitudeRequest) ProtoReflect() protoreflect.Message
func (*GetReturnToLaunchAltitudeRequest) Reset ¶
func (x *GetReturnToLaunchAltitudeRequest) Reset()
func (*GetReturnToLaunchAltitudeRequest) String ¶
func (x *GetReturnToLaunchAltitudeRequest) String() string
type GetReturnToLaunchAltitudeResponse ¶
type GetReturnToLaunchAltitudeResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` RelativeAltitudeM float32 `protobuf:"fixed32,2,opt,name=relative_altitude_m,json=relativeAltitudeM,proto3" json:"relative_altitude_m,omitempty"` // Return altitude relative to takeoff location (in meters) // contains filtered or unexported fields }
func (*GetReturnToLaunchAltitudeResponse) Descriptor
deprecated
func (*GetReturnToLaunchAltitudeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReturnToLaunchAltitudeResponse.ProtoReflect.Descriptor instead.
func (*GetReturnToLaunchAltitudeResponse) GetActionResult ¶
func (x *GetReturnToLaunchAltitudeResponse) GetActionResult() *ActionResult
func (*GetReturnToLaunchAltitudeResponse) GetRelativeAltitudeM ¶
func (x *GetReturnToLaunchAltitudeResponse) GetRelativeAltitudeM() float32
func (*GetReturnToLaunchAltitudeResponse) ProtoMessage ¶
func (*GetReturnToLaunchAltitudeResponse) ProtoMessage()
func (*GetReturnToLaunchAltitudeResponse) ProtoReflect ¶
func (x *GetReturnToLaunchAltitudeResponse) ProtoReflect() protoreflect.Message
func (*GetReturnToLaunchAltitudeResponse) Reset ¶
func (x *GetReturnToLaunchAltitudeResponse) Reset()
func (*GetReturnToLaunchAltitudeResponse) String ¶
func (x *GetReturnToLaunchAltitudeResponse) String() string
type GetTakeoffAltitudeRequest ¶
type GetTakeoffAltitudeRequest struct {
// contains filtered or unexported fields
}
func (*GetTakeoffAltitudeRequest) Descriptor
deprecated
func (*GetTakeoffAltitudeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTakeoffAltitudeRequest.ProtoReflect.Descriptor instead.
func (*GetTakeoffAltitudeRequest) ProtoMessage ¶
func (*GetTakeoffAltitudeRequest) ProtoMessage()
func (*GetTakeoffAltitudeRequest) ProtoReflect ¶
func (x *GetTakeoffAltitudeRequest) ProtoReflect() protoreflect.Message
func (*GetTakeoffAltitudeRequest) Reset ¶
func (x *GetTakeoffAltitudeRequest) Reset()
func (*GetTakeoffAltitudeRequest) String ¶
func (x *GetTakeoffAltitudeRequest) String() string
type GetTakeoffAltitudeResponse ¶
type GetTakeoffAltitudeResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` Altitude float32 `protobuf:"fixed32,2,opt,name=altitude,proto3" json:"altitude,omitempty"` // Takeoff altitude relative to ground/takeoff location (in meters) // contains filtered or unexported fields }
func (*GetTakeoffAltitudeResponse) Descriptor
deprecated
func (*GetTakeoffAltitudeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTakeoffAltitudeResponse.ProtoReflect.Descriptor instead.
func (*GetTakeoffAltitudeResponse) GetActionResult ¶
func (x *GetTakeoffAltitudeResponse) GetActionResult() *ActionResult
func (*GetTakeoffAltitudeResponse) GetAltitude ¶
func (x *GetTakeoffAltitudeResponse) GetAltitude() float32
func (*GetTakeoffAltitudeResponse) ProtoMessage ¶
func (*GetTakeoffAltitudeResponse) ProtoMessage()
func (*GetTakeoffAltitudeResponse) ProtoReflect ¶
func (x *GetTakeoffAltitudeResponse) ProtoReflect() protoreflect.Message
func (*GetTakeoffAltitudeResponse) Reset ¶
func (x *GetTakeoffAltitudeResponse) Reset()
func (*GetTakeoffAltitudeResponse) String ¶
func (x *GetTakeoffAltitudeResponse) String() string
type GotoLocationRequest ¶
type GotoLocationRequest struct { LatitudeDeg float64 `protobuf:"fixed64,1,opt,name=latitude_deg,json=latitudeDeg,proto3" json:"latitude_deg,omitempty"` // Latitude (in degrees) LongitudeDeg float64 `protobuf:"fixed64,2,opt,name=longitude_deg,json=longitudeDeg,proto3" json:"longitude_deg,omitempty"` // Longitude (in degrees) AbsoluteAltitudeM float32 `protobuf:"fixed32,3,opt,name=absolute_altitude_m,json=absoluteAltitudeM,proto3" json:"absolute_altitude_m,omitempty"` // Altitude AMSL (in meters) YawDeg float32 `protobuf:"fixed32,4,opt,name=yaw_deg,json=yawDeg,proto3" json:"yaw_deg,omitempty"` // Yaw angle (in degrees, frame is NED, 0 is North, positive is clockwise) // contains filtered or unexported fields }
func (*GotoLocationRequest) Descriptor
deprecated
func (*GotoLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GotoLocationRequest.ProtoReflect.Descriptor instead.
func (*GotoLocationRequest) GetAbsoluteAltitudeM ¶
func (x *GotoLocationRequest) GetAbsoluteAltitudeM() float32
func (*GotoLocationRequest) GetLatitudeDeg ¶
func (x *GotoLocationRequest) GetLatitudeDeg() float64
func (*GotoLocationRequest) GetLongitudeDeg ¶
func (x *GotoLocationRequest) GetLongitudeDeg() float64
func (*GotoLocationRequest) GetYawDeg ¶
func (x *GotoLocationRequest) GetYawDeg() float32
func (*GotoLocationRequest) ProtoMessage ¶
func (*GotoLocationRequest) ProtoMessage()
func (*GotoLocationRequest) ProtoReflect ¶
func (x *GotoLocationRequest) ProtoReflect() protoreflect.Message
func (*GotoLocationRequest) Reset ¶
func (x *GotoLocationRequest) Reset()
func (*GotoLocationRequest) String ¶
func (x *GotoLocationRequest) String() string
type GotoLocationResponse ¶
type GotoLocationResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*GotoLocationResponse) Descriptor
deprecated
func (*GotoLocationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GotoLocationResponse.ProtoReflect.Descriptor instead.
func (*GotoLocationResponse) GetActionResult ¶
func (x *GotoLocationResponse) GetActionResult() *ActionResult
func (*GotoLocationResponse) ProtoMessage ¶
func (*GotoLocationResponse) ProtoMessage()
func (*GotoLocationResponse) ProtoReflect ¶
func (x *GotoLocationResponse) ProtoReflect() protoreflect.Message
func (*GotoLocationResponse) Reset ¶
func (x *GotoLocationResponse) Reset()
func (*GotoLocationResponse) String ¶
func (x *GotoLocationResponse) String() string
type HoldRequest ¶ added in v0.0.3
type HoldRequest struct {
// contains filtered or unexported fields
}
func (*HoldRequest) Descriptor
deprecated
added in
v0.0.3
func (*HoldRequest) Descriptor() ([]byte, []int)
Deprecated: Use HoldRequest.ProtoReflect.Descriptor instead.
func (*HoldRequest) ProtoMessage ¶ added in v0.0.3
func (*HoldRequest) ProtoMessage()
func (*HoldRequest) ProtoReflect ¶ added in v0.0.3
func (x *HoldRequest) ProtoReflect() protoreflect.Message
func (*HoldRequest) Reset ¶ added in v0.0.3
func (x *HoldRequest) Reset()
func (*HoldRequest) String ¶ added in v0.0.3
func (x *HoldRequest) String() string
type HoldResponse ¶ added in v0.0.3
type HoldResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*HoldResponse) Descriptor
deprecated
added in
v0.0.3
func (*HoldResponse) Descriptor() ([]byte, []int)
Deprecated: Use HoldResponse.ProtoReflect.Descriptor instead.
func (*HoldResponse) GetActionResult ¶ added in v0.0.3
func (x *HoldResponse) GetActionResult() *ActionResult
func (*HoldResponse) ProtoMessage ¶ added in v0.0.3
func (*HoldResponse) ProtoMessage()
func (*HoldResponse) ProtoReflect ¶ added in v0.0.3
func (x *HoldResponse) ProtoReflect() protoreflect.Message
func (*HoldResponse) Reset ¶ added in v0.0.3
func (x *HoldResponse) Reset()
func (*HoldResponse) String ¶ added in v0.0.3
func (x *HoldResponse) String() string
type KillRequest ¶
type KillRequest struct {
// contains filtered or unexported fields
}
func (*KillRequest) Descriptor
deprecated
func (*KillRequest) Descriptor() ([]byte, []int)
Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.
func (*KillRequest) ProtoMessage ¶
func (*KillRequest) ProtoMessage()
func (*KillRequest) ProtoReflect ¶
func (x *KillRequest) ProtoReflect() protoreflect.Message
func (*KillRequest) Reset ¶
func (x *KillRequest) Reset()
func (*KillRequest) String ¶
func (x *KillRequest) String() string
type KillResponse ¶
type KillResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*KillResponse) Descriptor
deprecated
func (*KillResponse) Descriptor() ([]byte, []int)
Deprecated: Use KillResponse.ProtoReflect.Descriptor instead.
func (*KillResponse) GetActionResult ¶
func (x *KillResponse) GetActionResult() *ActionResult
func (*KillResponse) ProtoMessage ¶
func (*KillResponse) ProtoMessage()
func (*KillResponse) ProtoReflect ¶
func (x *KillResponse) ProtoReflect() protoreflect.Message
func (*KillResponse) Reset ¶
func (x *KillResponse) Reset()
func (*KillResponse) String ¶
func (x *KillResponse) String() string
type LandRequest ¶
type LandRequest struct {
// contains filtered or unexported fields
}
func (*LandRequest) Descriptor
deprecated
func (*LandRequest) Descriptor() ([]byte, []int)
Deprecated: Use LandRequest.ProtoReflect.Descriptor instead.
func (*LandRequest) ProtoMessage ¶
func (*LandRequest) ProtoMessage()
func (*LandRequest) ProtoReflect ¶
func (x *LandRequest) ProtoReflect() protoreflect.Message
func (*LandRequest) Reset ¶
func (x *LandRequest) Reset()
func (*LandRequest) String ¶
func (x *LandRequest) String() string
type LandResponse ¶
type LandResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*LandResponse) Descriptor
deprecated
func (*LandResponse) Descriptor() ([]byte, []int)
Deprecated: Use LandResponse.ProtoReflect.Descriptor instead.
func (*LandResponse) GetActionResult ¶
func (x *LandResponse) GetActionResult() *ActionResult
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 OrbitYawBehavior ¶ added in v0.0.3
type OrbitYawBehavior int32
Yaw behaviour during orbit flight.
const ( OrbitYawBehavior_ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER OrbitYawBehavior = 0 // Vehicle front points to the center (default) OrbitYawBehavior_ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING OrbitYawBehavior = 1 // Vehicle front holds heading when message received OrbitYawBehavior_ORBIT_YAW_BEHAVIOR_UNCONTROLLED OrbitYawBehavior = 2 // Yaw uncontrolled OrbitYawBehavior_ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE OrbitYawBehavior = 3 // Vehicle front follows flight path (tangential to circle) OrbitYawBehavior_ORBIT_YAW_BEHAVIOR_RC_CONTROLLED OrbitYawBehavior = 4 // Yaw controlled by RC input )
func (OrbitYawBehavior) Descriptor ¶ added in v0.0.3
func (OrbitYawBehavior) Descriptor() protoreflect.EnumDescriptor
func (OrbitYawBehavior) Enum ¶ added in v0.0.3
func (x OrbitYawBehavior) Enum() *OrbitYawBehavior
func (OrbitYawBehavior) EnumDescriptor
deprecated
added in
v0.0.3
func (OrbitYawBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrbitYawBehavior.Descriptor instead.
func (OrbitYawBehavior) Number ¶ added in v0.0.3
func (x OrbitYawBehavior) Number() protoreflect.EnumNumber
func (OrbitYawBehavior) String ¶ added in v0.0.3
func (x OrbitYawBehavior) String() string
func (OrbitYawBehavior) Type ¶ added in v0.0.3
func (OrbitYawBehavior) Type() protoreflect.EnumType
type RebootRequest ¶
type RebootRequest struct {
// contains filtered or unexported fields
}
func (*RebootRequest) Descriptor
deprecated
func (*RebootRequest) Descriptor() ([]byte, []int)
Deprecated: Use RebootRequest.ProtoReflect.Descriptor instead.
func (*RebootRequest) ProtoMessage ¶
func (*RebootRequest) ProtoMessage()
func (*RebootRequest) ProtoReflect ¶
func (x *RebootRequest) ProtoReflect() protoreflect.Message
func (*RebootRequest) Reset ¶
func (x *RebootRequest) Reset()
func (*RebootRequest) String ¶
func (x *RebootRequest) String() string
type RebootResponse ¶
type RebootResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*RebootResponse) Descriptor
deprecated
func (*RebootResponse) Descriptor() ([]byte, []int)
Deprecated: Use RebootResponse.ProtoReflect.Descriptor instead.
func (*RebootResponse) GetActionResult ¶
func (x *RebootResponse) GetActionResult() *ActionResult
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 ReturnToLaunchRequest ¶
type ReturnToLaunchRequest struct {
// contains filtered or unexported fields
}
func (*ReturnToLaunchRequest) Descriptor
deprecated
func (*ReturnToLaunchRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReturnToLaunchRequest.ProtoReflect.Descriptor instead.
func (*ReturnToLaunchRequest) ProtoMessage ¶
func (*ReturnToLaunchRequest) ProtoMessage()
func (*ReturnToLaunchRequest) ProtoReflect ¶
func (x *ReturnToLaunchRequest) ProtoReflect() protoreflect.Message
func (*ReturnToLaunchRequest) Reset ¶
func (x *ReturnToLaunchRequest) Reset()
func (*ReturnToLaunchRequest) String ¶
func (x *ReturnToLaunchRequest) String() string
type ReturnToLaunchResponse ¶
type ReturnToLaunchResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*ReturnToLaunchResponse) Descriptor
deprecated
func (*ReturnToLaunchResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReturnToLaunchResponse.ProtoReflect.Descriptor instead.
func (*ReturnToLaunchResponse) GetActionResult ¶
func (x *ReturnToLaunchResponse) GetActionResult() *ActionResult
func (*ReturnToLaunchResponse) ProtoMessage ¶
func (*ReturnToLaunchResponse) ProtoMessage()
func (*ReturnToLaunchResponse) ProtoReflect ¶
func (x *ReturnToLaunchResponse) ProtoReflect() protoreflect.Message
func (*ReturnToLaunchResponse) Reset ¶
func (x *ReturnToLaunchResponse) Reset()
func (*ReturnToLaunchResponse) String ¶
func (x *ReturnToLaunchResponse) String() string
type ServiceImpl ¶
type ServiceImpl struct {
Client ActionServiceClient
}
func (*ServiceImpl) Arm ¶
func (s *ServiceImpl) Arm(ctx context.Context) (*ArmResponse, error)
func (*ServiceImpl) ArmForce ¶ added in v0.0.8
func (s *ServiceImpl) ArmForce(ctx context.Context) (*ArmForceResponse, error)
func (*ServiceImpl) Disarm ¶
func (s *ServiceImpl) Disarm(ctx context.Context) (*DisarmResponse, error)
func (*ServiceImpl) DoOrbit ¶ added in v0.0.3
func (s *ServiceImpl) DoOrbit(ctx context.Context, radiusM float32, velocityMs float32, yawBehavior *OrbitYawBehavior, latitudeDeg float64, longitudeDeg float64, absoluteAltitudeM float64) (*DoOrbitResponse, error)
func (*ServiceImpl) GetMaximumSpeed ¶
func (s *ServiceImpl) GetMaximumSpeed(ctx context.Context) (*GetMaximumSpeedResponse, error)
func (*ServiceImpl) GetReturnToLaunchAltitude ¶
func (s *ServiceImpl) GetReturnToLaunchAltitude(ctx context.Context) (*GetReturnToLaunchAltitudeResponse, error)
func (*ServiceImpl) GetTakeoffAltitude ¶
func (s *ServiceImpl) GetTakeoffAltitude(ctx context.Context) (*GetTakeoffAltitudeResponse, error)
func (*ServiceImpl) GotoLocation ¶
func (s *ServiceImpl) GotoLocation(ctx context.Context, latitudeDeg float64, longitudeDeg float64, absoluteAltitudeM float32, yawDeg float32) (*GotoLocationResponse, error)
func (*ServiceImpl) Hold ¶ added in v0.0.3
func (s *ServiceImpl) Hold(ctx context.Context) (*HoldResponse, error)
func (*ServiceImpl) Kill ¶
func (s *ServiceImpl) Kill(ctx context.Context) (*KillResponse, error)
func (*ServiceImpl) Land ¶
func (s *ServiceImpl) Land(ctx context.Context) (*LandResponse, error)
func (*ServiceImpl) Reboot ¶
func (s *ServiceImpl) Reboot(ctx context.Context) (*RebootResponse, error)
func (*ServiceImpl) ReturnToLaunch ¶
func (s *ServiceImpl) ReturnToLaunch(ctx context.Context) (*ReturnToLaunchResponse, error)
func (*ServiceImpl) SetActuator ¶ added in v0.0.3
func (s *ServiceImpl) SetActuator(ctx context.Context, index int32, value float32) (*SetActuatorResponse, error)
func (*ServiceImpl) SetCurrentSpeed ¶ added in v0.0.6
func (s *ServiceImpl) SetCurrentSpeed(ctx context.Context, speedMS float32) (*SetCurrentSpeedResponse, error)
func (*ServiceImpl) SetMaximumSpeed ¶
func (s *ServiceImpl) SetMaximumSpeed(ctx context.Context, speed float32) (*SetMaximumSpeedResponse, error)
func (*ServiceImpl) SetReturnToLaunchAltitude ¶
func (s *ServiceImpl) SetReturnToLaunchAltitude(ctx context.Context, relativeAltitudeM float32) (*SetReturnToLaunchAltitudeResponse, error)
func (*ServiceImpl) SetTakeoffAltitude ¶
func (s *ServiceImpl) SetTakeoffAltitude(ctx context.Context, altitude float32) (*SetTakeoffAltitudeResponse, error)
func (*ServiceImpl) Shutdown ¶
func (s *ServiceImpl) Shutdown(ctx context.Context) (*ShutdownResponse, error)
func (*ServiceImpl) Takeoff ¶
func (s *ServiceImpl) Takeoff(ctx context.Context) (*TakeoffResponse, error)
func (*ServiceImpl) Terminate ¶ added in v0.0.2
func (s *ServiceImpl) Terminate(ctx context.Context) (*TerminateResponse, error)
func (*ServiceImpl) TransitionToFixedwing ¶
func (s *ServiceImpl) TransitionToFixedwing(ctx context.Context) (*TransitionToFixedwingResponse, error)
func (*ServiceImpl) TransitionToMulticopter ¶
func (s *ServiceImpl) TransitionToMulticopter(ctx context.Context) (*TransitionToMulticopterResponse, error)
type SetActuatorRequest ¶ added in v0.0.3
type SetActuatorRequest struct { Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // Index of actuator (starting with 1) Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // Value to set the actuator to (normalized from [-1..1]) // contains filtered or unexported fields }
func (*SetActuatorRequest) Descriptor
deprecated
added in
v0.0.3
func (*SetActuatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetActuatorRequest.ProtoReflect.Descriptor instead.
func (*SetActuatorRequest) GetIndex ¶ added in v0.0.3
func (x *SetActuatorRequest) GetIndex() int32
func (*SetActuatorRequest) GetValue ¶ added in v0.0.3
func (x *SetActuatorRequest) GetValue() float32
func (*SetActuatorRequest) ProtoMessage ¶ added in v0.0.3
func (*SetActuatorRequest) ProtoMessage()
func (*SetActuatorRequest) ProtoReflect ¶ added in v0.0.3
func (x *SetActuatorRequest) ProtoReflect() protoreflect.Message
func (*SetActuatorRequest) Reset ¶ added in v0.0.3
func (x *SetActuatorRequest) Reset()
func (*SetActuatorRequest) String ¶ added in v0.0.3
func (x *SetActuatorRequest) String() string
type SetActuatorResponse ¶ added in v0.0.3
type SetActuatorResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*SetActuatorResponse) Descriptor
deprecated
added in
v0.0.3
func (*SetActuatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetActuatorResponse.ProtoReflect.Descriptor instead.
func (*SetActuatorResponse) GetActionResult ¶ added in v0.0.3
func (x *SetActuatorResponse) GetActionResult() *ActionResult
func (*SetActuatorResponse) ProtoMessage ¶ added in v0.0.3
func (*SetActuatorResponse) ProtoMessage()
func (*SetActuatorResponse) ProtoReflect ¶ added in v0.0.3
func (x *SetActuatorResponse) ProtoReflect() protoreflect.Message
func (*SetActuatorResponse) Reset ¶ added in v0.0.3
func (x *SetActuatorResponse) Reset()
func (*SetActuatorResponse) String ¶ added in v0.0.3
func (x *SetActuatorResponse) String() string
type SetCurrentSpeedRequest ¶ added in v0.0.6
type SetCurrentSpeedRequest struct { SpeedMS float32 `protobuf:"fixed32,1,opt,name=speed_m_s,json=speedMS,proto3" json:"speed_m_s,omitempty"` // Speed in meters/second // contains filtered or unexported fields }
func (*SetCurrentSpeedRequest) Descriptor
deprecated
added in
v0.0.6
func (*SetCurrentSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCurrentSpeedRequest.ProtoReflect.Descriptor instead.
func (*SetCurrentSpeedRequest) GetSpeedMS ¶ added in v0.0.6
func (x *SetCurrentSpeedRequest) GetSpeedMS() float32
func (*SetCurrentSpeedRequest) ProtoMessage ¶ added in v0.0.6
func (*SetCurrentSpeedRequest) ProtoMessage()
func (*SetCurrentSpeedRequest) ProtoReflect ¶ added in v0.0.6
func (x *SetCurrentSpeedRequest) ProtoReflect() protoreflect.Message
func (*SetCurrentSpeedRequest) Reset ¶ added in v0.0.6
func (x *SetCurrentSpeedRequest) Reset()
func (*SetCurrentSpeedRequest) String ¶ added in v0.0.6
func (x *SetCurrentSpeedRequest) String() string
type SetCurrentSpeedResponse ¶ added in v0.0.6
type SetCurrentSpeedResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*SetCurrentSpeedResponse) Descriptor
deprecated
added in
v0.0.6
func (*SetCurrentSpeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetCurrentSpeedResponse.ProtoReflect.Descriptor instead.
func (*SetCurrentSpeedResponse) GetActionResult ¶ added in v0.0.6
func (x *SetCurrentSpeedResponse) GetActionResult() *ActionResult
func (*SetCurrentSpeedResponse) ProtoMessage ¶ added in v0.0.6
func (*SetCurrentSpeedResponse) ProtoMessage()
func (*SetCurrentSpeedResponse) ProtoReflect ¶ added in v0.0.6
func (x *SetCurrentSpeedResponse) ProtoReflect() protoreflect.Message
func (*SetCurrentSpeedResponse) Reset ¶ added in v0.0.6
func (x *SetCurrentSpeedResponse) Reset()
func (*SetCurrentSpeedResponse) String ¶ added in v0.0.6
func (x *SetCurrentSpeedResponse) String() string
type SetMaximumSpeedRequest ¶
type SetMaximumSpeedRequest struct { Speed float32 `protobuf:"fixed32,1,opt,name=speed,proto3" json:"speed,omitempty"` // Maximum speed (in metres/second) // contains filtered or unexported fields }
func (*SetMaximumSpeedRequest) Descriptor
deprecated
func (*SetMaximumSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMaximumSpeedRequest.ProtoReflect.Descriptor instead.
func (*SetMaximumSpeedRequest) GetSpeed ¶
func (x *SetMaximumSpeedRequest) GetSpeed() float32
func (*SetMaximumSpeedRequest) ProtoMessage ¶
func (*SetMaximumSpeedRequest) ProtoMessage()
func (*SetMaximumSpeedRequest) ProtoReflect ¶
func (x *SetMaximumSpeedRequest) ProtoReflect() protoreflect.Message
func (*SetMaximumSpeedRequest) Reset ¶
func (x *SetMaximumSpeedRequest) Reset()
func (*SetMaximumSpeedRequest) String ¶
func (x *SetMaximumSpeedRequest) String() string
type SetMaximumSpeedResponse ¶
type SetMaximumSpeedResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*SetMaximumSpeedResponse) Descriptor
deprecated
func (*SetMaximumSpeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetMaximumSpeedResponse.ProtoReflect.Descriptor instead.
func (*SetMaximumSpeedResponse) GetActionResult ¶
func (x *SetMaximumSpeedResponse) GetActionResult() *ActionResult
func (*SetMaximumSpeedResponse) ProtoMessage ¶
func (*SetMaximumSpeedResponse) ProtoMessage()
func (*SetMaximumSpeedResponse) ProtoReflect ¶
func (x *SetMaximumSpeedResponse) ProtoReflect() protoreflect.Message
func (*SetMaximumSpeedResponse) Reset ¶
func (x *SetMaximumSpeedResponse) Reset()
func (*SetMaximumSpeedResponse) String ¶
func (x *SetMaximumSpeedResponse) String() string
type SetReturnToLaunchAltitudeRequest ¶
type SetReturnToLaunchAltitudeRequest struct { RelativeAltitudeM float32 `protobuf:"fixed32,1,opt,name=relative_altitude_m,json=relativeAltitudeM,proto3" json:"relative_altitude_m,omitempty"` // Return altitude relative to takeoff location (in meters) // contains filtered or unexported fields }
func (*SetReturnToLaunchAltitudeRequest) Descriptor
deprecated
func (*SetReturnToLaunchAltitudeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetReturnToLaunchAltitudeRequest.ProtoReflect.Descriptor instead.
func (*SetReturnToLaunchAltitudeRequest) GetRelativeAltitudeM ¶
func (x *SetReturnToLaunchAltitudeRequest) GetRelativeAltitudeM() float32
func (*SetReturnToLaunchAltitudeRequest) ProtoMessage ¶
func (*SetReturnToLaunchAltitudeRequest) ProtoMessage()
func (*SetReturnToLaunchAltitudeRequest) ProtoReflect ¶
func (x *SetReturnToLaunchAltitudeRequest) ProtoReflect() protoreflect.Message
func (*SetReturnToLaunchAltitudeRequest) Reset ¶
func (x *SetReturnToLaunchAltitudeRequest) Reset()
func (*SetReturnToLaunchAltitudeRequest) String ¶
func (x *SetReturnToLaunchAltitudeRequest) String() string
type SetReturnToLaunchAltitudeResponse ¶
type SetReturnToLaunchAltitudeResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*SetReturnToLaunchAltitudeResponse) Descriptor
deprecated
func (*SetReturnToLaunchAltitudeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetReturnToLaunchAltitudeResponse.ProtoReflect.Descriptor instead.
func (*SetReturnToLaunchAltitudeResponse) GetActionResult ¶
func (x *SetReturnToLaunchAltitudeResponse) GetActionResult() *ActionResult
func (*SetReturnToLaunchAltitudeResponse) ProtoMessage ¶
func (*SetReturnToLaunchAltitudeResponse) ProtoMessage()
func (*SetReturnToLaunchAltitudeResponse) ProtoReflect ¶
func (x *SetReturnToLaunchAltitudeResponse) ProtoReflect() protoreflect.Message
func (*SetReturnToLaunchAltitudeResponse) Reset ¶
func (x *SetReturnToLaunchAltitudeResponse) Reset()
func (*SetReturnToLaunchAltitudeResponse) String ¶
func (x *SetReturnToLaunchAltitudeResponse) String() string
type SetTakeoffAltitudeRequest ¶
type SetTakeoffAltitudeRequest struct { Altitude float32 `protobuf:"fixed32,1,opt,name=altitude,proto3" json:"altitude,omitempty"` // Takeoff altitude relative to ground/takeoff location (in meters) // contains filtered or unexported fields }
func (*SetTakeoffAltitudeRequest) Descriptor
deprecated
func (*SetTakeoffAltitudeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTakeoffAltitudeRequest.ProtoReflect.Descriptor instead.
func (*SetTakeoffAltitudeRequest) GetAltitude ¶
func (x *SetTakeoffAltitudeRequest) GetAltitude() float32
func (*SetTakeoffAltitudeRequest) ProtoMessage ¶
func (*SetTakeoffAltitudeRequest) ProtoMessage()
func (*SetTakeoffAltitudeRequest) ProtoReflect ¶
func (x *SetTakeoffAltitudeRequest) ProtoReflect() protoreflect.Message
func (*SetTakeoffAltitudeRequest) Reset ¶
func (x *SetTakeoffAltitudeRequest) Reset()
func (*SetTakeoffAltitudeRequest) String ¶
func (x *SetTakeoffAltitudeRequest) String() string
type SetTakeoffAltitudeResponse ¶
type SetTakeoffAltitudeResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*SetTakeoffAltitudeResponse) Descriptor
deprecated
func (*SetTakeoffAltitudeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetTakeoffAltitudeResponse.ProtoReflect.Descriptor instead.
func (*SetTakeoffAltitudeResponse) GetActionResult ¶
func (x *SetTakeoffAltitudeResponse) GetActionResult() *ActionResult
func (*SetTakeoffAltitudeResponse) ProtoMessage ¶
func (*SetTakeoffAltitudeResponse) ProtoMessage()
func (*SetTakeoffAltitudeResponse) ProtoReflect ¶
func (x *SetTakeoffAltitudeResponse) ProtoReflect() protoreflect.Message
func (*SetTakeoffAltitudeResponse) Reset ¶
func (x *SetTakeoffAltitudeResponse) Reset()
func (*SetTakeoffAltitudeResponse) String ¶
func (x *SetTakeoffAltitudeResponse) String() string
type ShutdownRequest ¶
type ShutdownRequest struct {
// contains filtered or unexported fields
}
func (*ShutdownRequest) Descriptor
deprecated
func (*ShutdownRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.
func (*ShutdownRequest) ProtoMessage ¶
func (*ShutdownRequest) ProtoMessage()
func (*ShutdownRequest) ProtoReflect ¶
func (x *ShutdownRequest) ProtoReflect() protoreflect.Message
func (*ShutdownRequest) Reset ¶
func (x *ShutdownRequest) Reset()
func (*ShutdownRequest) String ¶
func (x *ShutdownRequest) String() string
type ShutdownResponse ¶
type ShutdownResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*ShutdownResponse) Descriptor
deprecated
func (*ShutdownResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.
func (*ShutdownResponse) GetActionResult ¶
func (x *ShutdownResponse) GetActionResult() *ActionResult
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 TakeoffRequest ¶
type TakeoffRequest struct {
// contains filtered or unexported fields
}
func (*TakeoffRequest) Descriptor
deprecated
func (*TakeoffRequest) Descriptor() ([]byte, []int)
Deprecated: Use TakeoffRequest.ProtoReflect.Descriptor instead.
func (*TakeoffRequest) ProtoMessage ¶
func (*TakeoffRequest) ProtoMessage()
func (*TakeoffRequest) ProtoReflect ¶
func (x *TakeoffRequest) ProtoReflect() protoreflect.Message
func (*TakeoffRequest) Reset ¶
func (x *TakeoffRequest) Reset()
func (*TakeoffRequest) String ¶
func (x *TakeoffRequest) String() string
type TakeoffResponse ¶
type TakeoffResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*TakeoffResponse) Descriptor
deprecated
func (*TakeoffResponse) Descriptor() ([]byte, []int)
Deprecated: Use TakeoffResponse.ProtoReflect.Descriptor instead.
func (*TakeoffResponse) GetActionResult ¶
func (x *TakeoffResponse) GetActionResult() *ActionResult
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 TerminateRequest ¶ added in v0.0.2
type TerminateRequest struct {
// contains filtered or unexported fields
}
func (*TerminateRequest) Descriptor
deprecated
added in
v0.0.2
func (*TerminateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TerminateRequest.ProtoReflect.Descriptor instead.
func (*TerminateRequest) ProtoMessage ¶ added in v0.0.2
func (*TerminateRequest) ProtoMessage()
func (*TerminateRequest) ProtoReflect ¶ added in v0.0.2
func (x *TerminateRequest) ProtoReflect() protoreflect.Message
func (*TerminateRequest) Reset ¶ added in v0.0.2
func (x *TerminateRequest) Reset()
func (*TerminateRequest) String ¶ added in v0.0.2
func (x *TerminateRequest) String() string
type TerminateResponse ¶ added in v0.0.2
type TerminateResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*TerminateResponse) Descriptor
deprecated
added in
v0.0.2
func (*TerminateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TerminateResponse.ProtoReflect.Descriptor instead.
func (*TerminateResponse) GetActionResult ¶ added in v0.0.2
func (x *TerminateResponse) GetActionResult() *ActionResult
func (*TerminateResponse) ProtoMessage ¶ added in v0.0.2
func (*TerminateResponse) ProtoMessage()
func (*TerminateResponse) ProtoReflect ¶ added in v0.0.2
func (x *TerminateResponse) ProtoReflect() protoreflect.Message
func (*TerminateResponse) Reset ¶ added in v0.0.2
func (x *TerminateResponse) Reset()
func (*TerminateResponse) String ¶ added in v0.0.2
func (x *TerminateResponse) String() string
type TransitionToFixedwingRequest ¶
type TransitionToFixedwingRequest struct {
// contains filtered or unexported fields
}
func (*TransitionToFixedwingRequest) Descriptor
deprecated
func (*TransitionToFixedwingRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransitionToFixedwingRequest.ProtoReflect.Descriptor instead.
func (*TransitionToFixedwingRequest) ProtoMessage ¶
func (*TransitionToFixedwingRequest) ProtoMessage()
func (*TransitionToFixedwingRequest) ProtoReflect ¶
func (x *TransitionToFixedwingRequest) ProtoReflect() protoreflect.Message
func (*TransitionToFixedwingRequest) Reset ¶
func (x *TransitionToFixedwingRequest) Reset()
func (*TransitionToFixedwingRequest) String ¶
func (x *TransitionToFixedwingRequest) String() string
type TransitionToFixedwingResponse ¶
type TransitionToFixedwingResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*TransitionToFixedwingResponse) Descriptor
deprecated
func (*TransitionToFixedwingResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransitionToFixedwingResponse.ProtoReflect.Descriptor instead.
func (*TransitionToFixedwingResponse) GetActionResult ¶
func (x *TransitionToFixedwingResponse) GetActionResult() *ActionResult
func (*TransitionToFixedwingResponse) ProtoMessage ¶
func (*TransitionToFixedwingResponse) ProtoMessage()
func (*TransitionToFixedwingResponse) ProtoReflect ¶
func (x *TransitionToFixedwingResponse) ProtoReflect() protoreflect.Message
func (*TransitionToFixedwingResponse) Reset ¶
func (x *TransitionToFixedwingResponse) Reset()
func (*TransitionToFixedwingResponse) String ¶
func (x *TransitionToFixedwingResponse) String() string
type TransitionToMulticopterRequest ¶
type TransitionToMulticopterRequest struct {
// contains filtered or unexported fields
}
func (*TransitionToMulticopterRequest) Descriptor
deprecated
func (*TransitionToMulticopterRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransitionToMulticopterRequest.ProtoReflect.Descriptor instead.
func (*TransitionToMulticopterRequest) ProtoMessage ¶
func (*TransitionToMulticopterRequest) ProtoMessage()
func (*TransitionToMulticopterRequest) ProtoReflect ¶
func (x *TransitionToMulticopterRequest) ProtoReflect() protoreflect.Message
func (*TransitionToMulticopterRequest) Reset ¶
func (x *TransitionToMulticopterRequest) Reset()
func (*TransitionToMulticopterRequest) String ¶
func (x *TransitionToMulticopterRequest) String() string
type TransitionToMulticopterResponse ¶
type TransitionToMulticopterResponse struct { ActionResult *ActionResult `protobuf:"bytes,1,opt,name=action_result,json=actionResult,proto3" json:"action_result,omitempty"` // contains filtered or unexported fields }
func (*TransitionToMulticopterResponse) Descriptor
deprecated
func (*TransitionToMulticopterResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransitionToMulticopterResponse.ProtoReflect.Descriptor instead.
func (*TransitionToMulticopterResponse) GetActionResult ¶
func (x *TransitionToMulticopterResponse) GetActionResult() *ActionResult
func (*TransitionToMulticopterResponse) ProtoMessage ¶
func (*TransitionToMulticopterResponse) ProtoMessage()
func (*TransitionToMulticopterResponse) ProtoReflect ¶
func (x *TransitionToMulticopterResponse) ProtoReflect() protoreflect.Message
func (*TransitionToMulticopterResponse) Reset ¶
func (x *TransitionToMulticopterResponse) Reset()
func (*TransitionToMulticopterResponse) String ¶
func (x *TransitionToMulticopterResponse) String() string
type UnimplementedActionServiceServer ¶
type UnimplementedActionServiceServer struct{}
UnimplementedActionServiceServer 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 (UnimplementedActionServiceServer) Arm ¶
func (UnimplementedActionServiceServer) Arm(context.Context, *ArmRequest) (*ArmResponse, error)
func (UnimplementedActionServiceServer) ArmForce ¶ added in v0.0.8
func (UnimplementedActionServiceServer) ArmForce(context.Context, *ArmForceRequest) (*ArmForceResponse, error)
func (UnimplementedActionServiceServer) Disarm ¶
func (UnimplementedActionServiceServer) Disarm(context.Context, *DisarmRequest) (*DisarmResponse, error)
func (UnimplementedActionServiceServer) DoOrbit ¶ added in v0.0.3
func (UnimplementedActionServiceServer) DoOrbit(context.Context, *DoOrbitRequest) (*DoOrbitResponse, error)
func (UnimplementedActionServiceServer) GetMaximumSpeed ¶
func (UnimplementedActionServiceServer) GetMaximumSpeed(context.Context, *GetMaximumSpeedRequest) (*GetMaximumSpeedResponse, error)
func (UnimplementedActionServiceServer) GetReturnToLaunchAltitude ¶
func (UnimplementedActionServiceServer) GetReturnToLaunchAltitude(context.Context, *GetReturnToLaunchAltitudeRequest) (*GetReturnToLaunchAltitudeResponse, error)
func (UnimplementedActionServiceServer) GetTakeoffAltitude ¶
func (UnimplementedActionServiceServer) GetTakeoffAltitude(context.Context, *GetTakeoffAltitudeRequest) (*GetTakeoffAltitudeResponse, error)
func (UnimplementedActionServiceServer) GotoLocation ¶
func (UnimplementedActionServiceServer) GotoLocation(context.Context, *GotoLocationRequest) (*GotoLocationResponse, error)
func (UnimplementedActionServiceServer) Hold ¶ added in v0.0.3
func (UnimplementedActionServiceServer) Hold(context.Context, *HoldRequest) (*HoldResponse, error)
func (UnimplementedActionServiceServer) Kill ¶
func (UnimplementedActionServiceServer) Kill(context.Context, *KillRequest) (*KillResponse, error)
func (UnimplementedActionServiceServer) Land ¶
func (UnimplementedActionServiceServer) Land(context.Context, *LandRequest) (*LandResponse, error)
func (UnimplementedActionServiceServer) Reboot ¶
func (UnimplementedActionServiceServer) Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
func (UnimplementedActionServiceServer) ReturnToLaunch ¶
func (UnimplementedActionServiceServer) ReturnToLaunch(context.Context, *ReturnToLaunchRequest) (*ReturnToLaunchResponse, error)
func (UnimplementedActionServiceServer) SetActuator ¶ added in v0.0.3
func (UnimplementedActionServiceServer) SetActuator(context.Context, *SetActuatorRequest) (*SetActuatorResponse, error)
func (UnimplementedActionServiceServer) SetCurrentSpeed ¶ added in v0.0.6
func (UnimplementedActionServiceServer) SetCurrentSpeed(context.Context, *SetCurrentSpeedRequest) (*SetCurrentSpeedResponse, error)
func (UnimplementedActionServiceServer) SetMaximumSpeed ¶
func (UnimplementedActionServiceServer) SetMaximumSpeed(context.Context, *SetMaximumSpeedRequest) (*SetMaximumSpeedResponse, error)
func (UnimplementedActionServiceServer) SetReturnToLaunchAltitude ¶
func (UnimplementedActionServiceServer) SetReturnToLaunchAltitude(context.Context, *SetReturnToLaunchAltitudeRequest) (*SetReturnToLaunchAltitudeResponse, error)
func (UnimplementedActionServiceServer) SetTakeoffAltitude ¶
func (UnimplementedActionServiceServer) SetTakeoffAltitude(context.Context, *SetTakeoffAltitudeRequest) (*SetTakeoffAltitudeResponse, error)
func (UnimplementedActionServiceServer) Shutdown ¶
func (UnimplementedActionServiceServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
func (UnimplementedActionServiceServer) Takeoff ¶
func (UnimplementedActionServiceServer) Takeoff(context.Context, *TakeoffRequest) (*TakeoffResponse, error)
func (UnimplementedActionServiceServer) Terminate ¶ added in v0.0.2
func (UnimplementedActionServiceServer) Terminate(context.Context, *TerminateRequest) (*TerminateResponse, error)
func (UnimplementedActionServiceServer) TransitionToFixedwing ¶
func (UnimplementedActionServiceServer) TransitionToFixedwing(context.Context, *TransitionToFixedwingRequest) (*TransitionToFixedwingResponse, error)
func (UnimplementedActionServiceServer) TransitionToMulticopter ¶
func (UnimplementedActionServiceServer) TransitionToMulticopter(context.Context, *TransitionToMulticopterRequest) (*TransitionToMulticopterResponse, error)
type UnsafeActionServiceServer ¶ added in v0.0.3
type UnsafeActionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeActionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActionServiceServer will result in compilation errors.