action

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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",
	}
	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,
	}
)

Enum value maps for ActionResult_Result.

View Source
var ActionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mavsdk.rpc.action.ActionService",
	HandlerType: (*ActionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Arm",
			Handler:    _ActionService_Arm_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)

View Source
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
)

func (ActionResult_Result) Descriptor

func (ActionResult_Result) Enum

func (ActionResult_Result) EnumDescriptor deprecated

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

Deprecated: Use ActionResult_Result.Descriptor instead.

func (ActionResult_Result) Number

func (ActionResult_Result) String

func (x ActionResult_Result) String() string

func (ActionResult_Result) Type

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 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.
	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.

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 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.
	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

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

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

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

Deprecated: Use DoOrbitRequest.ProtoReflect.Descriptor instead.

func (*DoOrbitRequest) GetAbsoluteAltitudeM

func (x *DoOrbitRequest) GetAbsoluteAltitudeM() float64

func (*DoOrbitRequest) GetLatitudeDeg

func (x *DoOrbitRequest) GetLatitudeDeg() float64

func (*DoOrbitRequest) GetLongitudeDeg

func (x *DoOrbitRequest) GetLongitudeDeg() float64

func (*DoOrbitRequest) GetRadiusM

func (x *DoOrbitRequest) GetRadiusM() float32

func (*DoOrbitRequest) GetVelocityMs

func (x *DoOrbitRequest) GetVelocityMs() float32

func (*DoOrbitRequest) GetYawBehavior

func (x *DoOrbitRequest) GetYawBehavior() OrbitYawBehavior

func (*DoOrbitRequest) ProtoMessage

func (*DoOrbitRequest) ProtoMessage()

func (*DoOrbitRequest) ProtoReflect

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

func (*DoOrbitRequest) Reset

func (x *DoOrbitRequest) Reset()

func (*DoOrbitRequest) String

func (x *DoOrbitRequest) String() string

type DoOrbitResponse

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

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

Deprecated: Use DoOrbitResponse.ProtoReflect.Descriptor instead.

func (*DoOrbitResponse) GetActionResult

func (x *DoOrbitResponse) GetActionResult() *ActionResult

func (*DoOrbitResponse) ProtoMessage

func (*DoOrbitResponse) ProtoMessage()

func (*DoOrbitResponse) ProtoReflect

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

func (*DoOrbitResponse) Reset

func (x *DoOrbitResponse) Reset()

func (*DoOrbitResponse) String

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 (*GetReturnToLaunchAltitudeRequest) Reset

func (*GetReturnToLaunchAltitudeRequest) 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 (*GetReturnToLaunchAltitudeResponse) Reset

func (*GetReturnToLaunchAltitudeResponse) 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 (*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 (*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

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

func (*HoldRequest) Descriptor deprecated

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

Deprecated: Use HoldRequest.ProtoReflect.Descriptor instead.

func (*HoldRequest) ProtoMessage

func (*HoldRequest) ProtoMessage()

func (*HoldRequest) ProtoReflect

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

func (*HoldRequest) Reset

func (x *HoldRequest) Reset()

func (*HoldRequest) String

func (x *HoldRequest) String() string

type HoldResponse

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

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

Deprecated: Use HoldResponse.ProtoReflect.Descriptor instead.

func (*HoldResponse) GetActionResult

func (x *HoldResponse) GetActionResult() *ActionResult

func (*HoldResponse) ProtoMessage

func (*HoldResponse) ProtoMessage()

func (*HoldResponse) ProtoReflect

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

func (*HoldResponse) Reset

func (x *HoldResponse) Reset()

func (*HoldResponse) String

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

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

func (OrbitYawBehavior) Enum

func (OrbitYawBehavior) EnumDescriptor deprecated

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

Deprecated: Use OrbitYawBehavior.Descriptor instead.

func (OrbitYawBehavior) Number

func (OrbitYawBehavior) String

func (x OrbitYawBehavior) String() string

func (OrbitYawBehavior) Type

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) Disarm

func (s *ServiceImpl) Disarm(ctx context.Context) (*DisarmResponse, error)

func (*ServiceImpl) DoOrbit

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

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

func (s *ServiceImpl) SetActuator(ctx context.Context, index int32, value float32) (*SetActuatorResponse, error)

func (*ServiceImpl) SetCurrentSpeed

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

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

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

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

Deprecated: Use SetActuatorRequest.ProtoReflect.Descriptor instead.

func (*SetActuatorRequest) GetIndex

func (x *SetActuatorRequest) GetIndex() int32

func (*SetActuatorRequest) GetValue

func (x *SetActuatorRequest) GetValue() float32

func (*SetActuatorRequest) ProtoMessage

func (*SetActuatorRequest) ProtoMessage()

func (*SetActuatorRequest) ProtoReflect

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

func (*SetActuatorRequest) Reset

func (x *SetActuatorRequest) Reset()

func (*SetActuatorRequest) String

func (x *SetActuatorRequest) String() string

type SetActuatorResponse

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

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

Deprecated: Use SetActuatorResponse.ProtoReflect.Descriptor instead.

func (*SetActuatorResponse) GetActionResult

func (x *SetActuatorResponse) GetActionResult() *ActionResult

func (*SetActuatorResponse) ProtoMessage

func (*SetActuatorResponse) ProtoMessage()

func (*SetActuatorResponse) ProtoReflect

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

func (*SetActuatorResponse) Reset

func (x *SetActuatorResponse) Reset()

func (*SetActuatorResponse) String

func (x *SetActuatorResponse) String() string

type SetCurrentSpeedRequest

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

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

Deprecated: Use SetCurrentSpeedRequest.ProtoReflect.Descriptor instead.

func (*SetCurrentSpeedRequest) GetSpeedMS

func (x *SetCurrentSpeedRequest) GetSpeedMS() float32

func (*SetCurrentSpeedRequest) ProtoMessage

func (*SetCurrentSpeedRequest) ProtoMessage()

func (*SetCurrentSpeedRequest) ProtoReflect

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

func (*SetCurrentSpeedRequest) Reset

func (x *SetCurrentSpeedRequest) Reset()

func (*SetCurrentSpeedRequest) String

func (x *SetCurrentSpeedRequest) String() string

type SetCurrentSpeedResponse

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

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

Deprecated: Use SetCurrentSpeedResponse.ProtoReflect.Descriptor instead.

func (*SetCurrentSpeedResponse) GetActionResult

func (x *SetCurrentSpeedResponse) GetActionResult() *ActionResult

func (*SetCurrentSpeedResponse) ProtoMessage

func (*SetCurrentSpeedResponse) ProtoMessage()

func (*SetCurrentSpeedResponse) ProtoReflect

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

func (*SetCurrentSpeedResponse) Reset

func (x *SetCurrentSpeedResponse) Reset()

func (*SetCurrentSpeedResponse) String

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 (*SetReturnToLaunchAltitudeRequest) Reset

func (*SetReturnToLaunchAltitudeRequest) 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 (*SetReturnToLaunchAltitudeResponse) Reset

func (*SetReturnToLaunchAltitudeResponse) 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 (*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 (*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

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

func (*TerminateRequest) Descriptor deprecated

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

Deprecated: Use TerminateRequest.ProtoReflect.Descriptor instead.

func (*TerminateRequest) ProtoMessage

func (*TerminateRequest) ProtoMessage()

func (*TerminateRequest) ProtoReflect

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

func (*TerminateRequest) Reset

func (x *TerminateRequest) Reset()

func (*TerminateRequest) String

func (x *TerminateRequest) String() string

type TerminateResponse

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

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

Deprecated: Use TerminateResponse.ProtoReflect.Descriptor instead.

func (*TerminateResponse) GetActionResult

func (x *TerminateResponse) GetActionResult() *ActionResult

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 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 (*TransitionToFixedwingRequest) Reset

func (x *TransitionToFixedwingRequest) Reset()

func (*TransitionToFixedwingRequest) 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 (*TransitionToFixedwingResponse) Reset

func (x *TransitionToFixedwingResponse) Reset()

func (*TransitionToFixedwingResponse) 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 (*TransitionToMulticopterRequest) Reset

func (x *TransitionToMulticopterRequest) Reset()

func (*TransitionToMulticopterRequest) 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 (*TransitionToMulticopterResponse) Reset

func (*TransitionToMulticopterResponse) String

type UnimplementedActionServiceServer

type UnimplementedActionServiceServer struct {
}

UnimplementedActionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedActionServiceServer) Arm

func (UnimplementedActionServiceServer) Disarm

func (UnimplementedActionServiceServer) DoOrbit

func (UnimplementedActionServiceServer) GetMaximumSpeed

func (UnimplementedActionServiceServer) GetTakeoffAltitude

func (UnimplementedActionServiceServer) GotoLocation

func (UnimplementedActionServiceServer) Hold

func (UnimplementedActionServiceServer) Kill

func (UnimplementedActionServiceServer) Land

func (UnimplementedActionServiceServer) Reboot

func (UnimplementedActionServiceServer) ReturnToLaunch

func (UnimplementedActionServiceServer) SetActuator

func (UnimplementedActionServiceServer) SetCurrentSpeed

func (UnimplementedActionServiceServer) SetMaximumSpeed

func (UnimplementedActionServiceServer) SetTakeoffAltitude

func (UnimplementedActionServiceServer) Shutdown

func (UnimplementedActionServiceServer) Takeoff

func (UnimplementedActionServiceServer) Terminate

type UnsafeActionServiceServer

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.

Jump to

Keyboard shortcuts

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