offboard

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PositionGlobalYaw_AltitudeType_name = map[int32]string{
		0: "ALTITUDE_TYPE_REL_HOME",
		1: "ALTITUDE_TYPE_AMSL",
		2: "ALTITUDE_TYPE_AGL",
	}
	PositionGlobalYaw_AltitudeType_value = map[string]int32{
		"ALTITUDE_TYPE_REL_HOME": 0,
		"ALTITUDE_TYPE_AMSL":     1,
		"ALTITUDE_TYPE_AGL":      2,
	}
)

Enum value maps for PositionGlobalYaw_AltitudeType.

View Source
var (
	OffboardResult_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_TIMEOUT",
		7: "RESULT_NO_SETPOINT_SET",
	}
	OffboardResult_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_TIMEOUT":          6,
		"RESULT_NO_SETPOINT_SET":  7,
	}
)

Enum value maps for OffboardResult_Result.

View Source
var File_offboard_proto protoreflect.FileDescriptor
View Source
var OffboardService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mavsdk.rpc.offboard.OffboardService",
	HandlerType: (*OffboardServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Start",
			Handler:    _OffboardService_Start_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _OffboardService_Stop_Handler,
		},
		{
			MethodName: "IsActive",
			Handler:    _OffboardService_IsActive_Handler,
		},
		{
			MethodName: "SetAttitude",
			Handler:    _OffboardService_SetAttitude_Handler,
		},
		{
			MethodName: "SetActuatorControl",
			Handler:    _OffboardService_SetActuatorControl_Handler,
		},
		{
			MethodName: "SetAttitudeRate",
			Handler:    _OffboardService_SetAttitudeRate_Handler,
		},
		{
			MethodName: "SetPositionNed",
			Handler:    _OffboardService_SetPositionNed_Handler,
		},
		{
			MethodName: "SetPositionGlobal",
			Handler:    _OffboardService_SetPositionGlobal_Handler,
		},
		{
			MethodName: "SetVelocityBody",
			Handler:    _OffboardService_SetVelocityBody_Handler,
		},
		{
			MethodName: "SetVelocityNed",
			Handler:    _OffboardService_SetVelocityNed_Handler,
		},
		{
			MethodName: "SetPositionVelocityNed",
			Handler:    _OffboardService_SetPositionVelocityNed_Handler,
		},
		{
			MethodName: "SetAccelerationNed",
			Handler:    _OffboardService_SetAccelerationNed_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "offboard.proto",
}

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

Functions

func RegisterOffboardServiceServer

func RegisterOffboardServiceServer(s grpc.ServiceRegistrar, srv OffboardServiceServer)

Types

type AccelerationNed

type AccelerationNed struct {
	NorthMS2 float32 `protobuf:"fixed32,1,opt,name=north_m_s2,json=northMS2,proto3" json:"north_m_s2,omitempty"` // Acceleration North (in metres/second^2)
	EastMS2  float32 `protobuf:"fixed32,2,opt,name=east_m_s2,json=eastMS2,proto3" json:"east_m_s2,omitempty"`    // Acceleration East (in metres/second^2)
	DownMS2  float32 `protobuf:"fixed32,3,opt,name=down_m_s2,json=downMS2,proto3" json:"down_m_s2,omitempty"`    // Acceleration Down (in metres/second^2)
	// contains filtered or unexported fields
}

Type for acceleration commands in NED (North East Down) coordinates.

func (*AccelerationNed) Descriptor deprecated

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

Deprecated: Use AccelerationNed.ProtoReflect.Descriptor instead.

func (*AccelerationNed) GetDownMS2

func (x *AccelerationNed) GetDownMS2() float32

func (*AccelerationNed) GetEastMS2

func (x *AccelerationNed) GetEastMS2() float32

func (*AccelerationNed) GetNorthMS2

func (x *AccelerationNed) GetNorthMS2() float32

func (*AccelerationNed) ProtoMessage

func (*AccelerationNed) ProtoMessage()

func (*AccelerationNed) ProtoReflect

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

func (*AccelerationNed) Reset

func (x *AccelerationNed) Reset()

func (*AccelerationNed) String

func (x *AccelerationNed) String() string

type ActuatorControl

type ActuatorControl struct {
	Groups []*ActuatorControlGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // Control groups.
	// contains filtered or unexported fields
}

Type for actuator control.

Control members should be normed to -1..+1 where 0 is neutral position. Throttle for single rotation direction motors is 0..1, negative range for reverse direction.

One group support eight controls.

Up to 16 actuator controls can be set. To ignore an output group, set all it conrols to NaN. If one or more controls in group is not NaN, then all NaN controls will sent as zero. The first 8 actuator controls internally map to control group 0, the latter 8 actuator controls map to control group 1. Depending on what controls are set (instead of NaN) 1 or 2 MAVLink messages are actually sent.

In PX4 v1.9.0 Only first four Control Groups are supported (https://github.com/PX4/Firmware/blob/v1.9.0/src/modules/mavlink/mavlink_receiver.cpp#L980).

func (*ActuatorControl) Descriptor deprecated

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

Deprecated: Use ActuatorControl.ProtoReflect.Descriptor instead.

func (*ActuatorControl) GetGroups

func (x *ActuatorControl) GetGroups() []*ActuatorControlGroup

func (*ActuatorControl) ProtoMessage

func (*ActuatorControl) ProtoMessage()

func (*ActuatorControl) ProtoReflect

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

func (*ActuatorControl) Reset

func (x *ActuatorControl) Reset()

func (*ActuatorControl) String

func (x *ActuatorControl) String() string

type ActuatorControlGroup

type ActuatorControlGroup struct {
	Controls []float32 `protobuf:"fixed32,1,rep,packed,name=controls,proto3" json:"controls,omitempty"` // Controls in the group
	// contains filtered or unexported fields
}

Eight controls that will be given to the group. Each control is a normalized (-1..+1) command value, which will be mapped and scaled through the mixer.

func (*ActuatorControlGroup) Descriptor deprecated

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

Deprecated: Use ActuatorControlGroup.ProtoReflect.Descriptor instead.

func (*ActuatorControlGroup) GetControls

func (x *ActuatorControlGroup) GetControls() []float32

func (*ActuatorControlGroup) ProtoMessage

func (*ActuatorControlGroup) ProtoMessage()

func (*ActuatorControlGroup) ProtoReflect

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

func (*ActuatorControlGroup) Reset

func (x *ActuatorControlGroup) Reset()

func (*ActuatorControlGroup) String

func (x *ActuatorControlGroup) String() string

type Attitude

type Attitude struct {
	RollDeg     float32 `protobuf:"fixed32,1,opt,name=roll_deg,json=rollDeg,proto3" json:"roll_deg,omitempty"`             // Roll angle (in degrees, positive is right side down)
	PitchDeg    float32 `protobuf:"fixed32,2,opt,name=pitch_deg,json=pitchDeg,proto3" json:"pitch_deg,omitempty"`          // Pitch angle (in degrees, positive is nose up)
	YawDeg      float32 `protobuf:"fixed32,3,opt,name=yaw_deg,json=yawDeg,proto3" json:"yaw_deg,omitempty"`                // Yaw angle (in degrees, positive is move nose to the right)
	ThrustValue float32 `protobuf:"fixed32,4,opt,name=thrust_value,json=thrustValue,proto3" json:"thrust_value,omitempty"` // Thrust (range: 0 to 1)
	// contains filtered or unexported fields
}

Type for attitude body angles in NED reference frame (roll, pitch, yaw and thrust)

func (*Attitude) Descriptor deprecated

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

Deprecated: Use Attitude.ProtoReflect.Descriptor instead.

func (*Attitude) GetPitchDeg

func (x *Attitude) GetPitchDeg() float32

func (*Attitude) GetRollDeg

func (x *Attitude) GetRollDeg() float32

func (*Attitude) GetThrustValue

func (x *Attitude) GetThrustValue() float32

func (*Attitude) GetYawDeg

func (x *Attitude) GetYawDeg() float32

func (*Attitude) ProtoMessage

func (*Attitude) ProtoMessage()

func (*Attitude) ProtoReflect

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

func (*Attitude) Reset

func (x *Attitude) Reset()

func (*Attitude) String

func (x *Attitude) String() string

type AttitudeRate

type AttitudeRate struct {
	RollDegS    float32 `protobuf:"fixed32,1,opt,name=roll_deg_s,json=rollDegS,proto3" json:"roll_deg_s,omitempty"`        // Roll angular rate (in degrees/second, positive for clock-wise looking from front)
	PitchDegS   float32 `protobuf:"fixed32,2,opt,name=pitch_deg_s,json=pitchDegS,proto3" json:"pitch_deg_s,omitempty"`     // Pitch angular rate (in degrees/second, positive for head/front moving up)
	YawDegS     float32 `protobuf:"fixed32,3,opt,name=yaw_deg_s,json=yawDegS,proto3" json:"yaw_deg_s,omitempty"`           // Yaw angular rate (in degrees/second, positive for clock-wise looking from above)
	ThrustValue float32 `protobuf:"fixed32,4,opt,name=thrust_value,json=thrustValue,proto3" json:"thrust_value,omitempty"` // Thrust (range: 0 to 1)
	// contains filtered or unexported fields
}

Type for attitude rate commands in body coordinates (roll, pitch, yaw angular rate and thrust)

func (*AttitudeRate) Descriptor deprecated

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

Deprecated: Use AttitudeRate.ProtoReflect.Descriptor instead.

func (*AttitudeRate) GetPitchDegS

func (x *AttitudeRate) GetPitchDegS() float32

func (*AttitudeRate) GetRollDegS

func (x *AttitudeRate) GetRollDegS() float32

func (*AttitudeRate) GetThrustValue

func (x *AttitudeRate) GetThrustValue() float32

func (*AttitudeRate) GetYawDegS

func (x *AttitudeRate) GetYawDegS() float32

func (*AttitudeRate) ProtoMessage

func (*AttitudeRate) ProtoMessage()

func (*AttitudeRate) ProtoReflect

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

func (*AttitudeRate) Reset

func (x *AttitudeRate) Reset()

func (*AttitudeRate) String

func (x *AttitudeRate) String() string

type IsActiveRequest

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

func (*IsActiveRequest) Descriptor deprecated

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

Deprecated: Use IsActiveRequest.ProtoReflect.Descriptor instead.

func (*IsActiveRequest) ProtoMessage

func (*IsActiveRequest) ProtoMessage()

func (*IsActiveRequest) ProtoReflect

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

func (*IsActiveRequest) Reset

func (x *IsActiveRequest) Reset()

func (*IsActiveRequest) String

func (x *IsActiveRequest) String() string

type IsActiveResponse

type IsActiveResponse struct {
	IsActive bool `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // True if offboard is active
	// contains filtered or unexported fields
}

func (*IsActiveResponse) Descriptor deprecated

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

Deprecated: Use IsActiveResponse.ProtoReflect.Descriptor instead.

func (*IsActiveResponse) GetIsActive

func (x *IsActiveResponse) GetIsActive() bool

func (*IsActiveResponse) ProtoMessage

func (*IsActiveResponse) ProtoMessage()

func (*IsActiveResponse) ProtoReflect

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

func (*IsActiveResponse) Reset

func (x *IsActiveResponse) Reset()

func (*IsActiveResponse) String

func (x *IsActiveResponse) String() string

type OffboardResult

type OffboardResult struct {
	Result    OffboardResult_Result `protobuf:"varint,1,opt,name=result,proto3,enum=mavsdk.rpc.offboard.OffboardResult_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 (*OffboardResult) Descriptor deprecated

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

Deprecated: Use OffboardResult.ProtoReflect.Descriptor instead.

func (*OffboardResult) GetResult

func (x *OffboardResult) GetResult() OffboardResult_Result

func (*OffboardResult) GetResultStr

func (x *OffboardResult) GetResultStr() string

func (*OffboardResult) ProtoMessage

func (*OffboardResult) ProtoMessage()

func (*OffboardResult) ProtoReflect

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

func (*OffboardResult) Reset

func (x *OffboardResult) Reset()

func (*OffboardResult) String

func (x *OffboardResult) String() string

type OffboardResult_Result

type OffboardResult_Result int32

Possible results returned for offboard requests

const (
	OffboardResult_RESULT_UNKNOWN          OffboardResult_Result = 0 // Unknown result
	OffboardResult_RESULT_SUCCESS          OffboardResult_Result = 1 // Request succeeded
	OffboardResult_RESULT_NO_SYSTEM        OffboardResult_Result = 2 // No system is connected
	OffboardResult_RESULT_CONNECTION_ERROR OffboardResult_Result = 3 // Connection error
	OffboardResult_RESULT_BUSY             OffboardResult_Result = 4 // Vehicle is busy
	OffboardResult_RESULT_COMMAND_DENIED   OffboardResult_Result = 5 // Command denied
	OffboardResult_RESULT_TIMEOUT          OffboardResult_Result = 6 // Request timed out
	OffboardResult_RESULT_NO_SETPOINT_SET  OffboardResult_Result = 7 // Cannot start without setpoint set
)

func (OffboardResult_Result) Descriptor

func (OffboardResult_Result) Enum

func (OffboardResult_Result) EnumDescriptor deprecated

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

Deprecated: Use OffboardResult_Result.Descriptor instead.

func (OffboardResult_Result) Number

func (OffboardResult_Result) String

func (x OffboardResult_Result) String() string

func (OffboardResult_Result) Type

type OffboardServiceClient

type OffboardServiceClient interface {
	// Start offboard control.
	Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
	// Stop offboard control.
	//
	// The vehicle will be put into Hold mode: https://docs.px4.io/en/flight_modes/hold.html
	Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
	// Check if offboard control is active.
	//
	// True means that the vehicle is in offboard mode and we are actively sending
	// setpoints.
	IsActive(ctx context.Context, in *IsActiveRequest, opts ...grpc.CallOption) (*IsActiveResponse, error)
	// Set the attitude in terms of roll, pitch and yaw in degrees with thrust.
	SetAttitude(ctx context.Context, in *SetAttitudeRequest, opts ...grpc.CallOption) (*SetAttitudeResponse, error)
	// Set direct actuator control values to groups #0 and #1.
	//
	// First 8 controls will go to control group 0, the following 8 controls to control group 1 (if
	// actuator_control.num_controls more than 8).
	SetActuatorControl(ctx context.Context, in *SetActuatorControlRequest, opts ...grpc.CallOption) (*SetActuatorControlResponse, error)
	// Set the attitude rate in terms of pitch, roll and yaw angular rate along with thrust.
	SetAttitudeRate(ctx context.Context, in *SetAttitudeRateRequest, opts ...grpc.CallOption) (*SetAttitudeRateResponse, error)
	// Set the position in NED coordinates and yaw.
	SetPositionNed(ctx context.Context, in *SetPositionNedRequest, opts ...grpc.CallOption) (*SetPositionNedResponse, error)
	// Set the position in Global coordinates (latitude, longitude, altitude) and yaw
	SetPositionGlobal(ctx context.Context, in *SetPositionGlobalRequest, opts ...grpc.CallOption) (*SetPositionGlobalResponse, error)
	// Set the velocity in body coordinates and yaw angular rate. Not available for fixed-wing aircraft.
	SetVelocityBody(ctx context.Context, in *SetVelocityBodyRequest, opts ...grpc.CallOption) (*SetVelocityBodyResponse, error)
	// Set the velocity in NED coordinates and yaw. Not available for fixed-wing aircraft.
	SetVelocityNed(ctx context.Context, in *SetVelocityNedRequest, opts ...grpc.CallOption) (*SetVelocityNedResponse, error)
	// Set the position in NED coordinates, with the velocity to be used as feed-forward.
	SetPositionVelocityNed(ctx context.Context, in *SetPositionVelocityNedRequest, opts ...grpc.CallOption) (*SetPositionVelocityNedResponse, error)
	// Set the acceleration in NED coordinates.
	SetAccelerationNed(ctx context.Context, in *SetAccelerationNedRequest, opts ...grpc.CallOption) (*SetAccelerationNedResponse, error)
}

OffboardServiceClient is the client API for OffboardService 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 OffboardServiceServer

type OffboardServiceServer interface {
	// Start offboard control.
	Start(context.Context, *StartRequest) (*StartResponse, error)
	// Stop offboard control.
	//
	// The vehicle will be put into Hold mode: https://docs.px4.io/en/flight_modes/hold.html
	Stop(context.Context, *StopRequest) (*StopResponse, error)
	// Check if offboard control is active.
	//
	// True means that the vehicle is in offboard mode and we are actively sending
	// setpoints.
	IsActive(context.Context, *IsActiveRequest) (*IsActiveResponse, error)
	// Set the attitude in terms of roll, pitch and yaw in degrees with thrust.
	SetAttitude(context.Context, *SetAttitudeRequest) (*SetAttitudeResponse, error)
	// Set direct actuator control values to groups #0 and #1.
	//
	// First 8 controls will go to control group 0, the following 8 controls to control group 1 (if
	// actuator_control.num_controls more than 8).
	SetActuatorControl(context.Context, *SetActuatorControlRequest) (*SetActuatorControlResponse, error)
	// Set the attitude rate in terms of pitch, roll and yaw angular rate along with thrust.
	SetAttitudeRate(context.Context, *SetAttitudeRateRequest) (*SetAttitudeRateResponse, error)
	// Set the position in NED coordinates and yaw.
	SetPositionNed(context.Context, *SetPositionNedRequest) (*SetPositionNedResponse, error)
	// Set the position in Global coordinates (latitude, longitude, altitude) and yaw
	SetPositionGlobal(context.Context, *SetPositionGlobalRequest) (*SetPositionGlobalResponse, error)
	// Set the velocity in body coordinates and yaw angular rate. Not available for fixed-wing aircraft.
	SetVelocityBody(context.Context, *SetVelocityBodyRequest) (*SetVelocityBodyResponse, error)
	// Set the velocity in NED coordinates and yaw. Not available for fixed-wing aircraft.
	SetVelocityNed(context.Context, *SetVelocityNedRequest) (*SetVelocityNedResponse, error)
	// Set the position in NED coordinates, with the velocity to be used as feed-forward.
	SetPositionVelocityNed(context.Context, *SetPositionVelocityNedRequest) (*SetPositionVelocityNedResponse, error)
	// Set the acceleration in NED coordinates.
	SetAccelerationNed(context.Context, *SetAccelerationNedRequest) (*SetAccelerationNedResponse, error)
	// contains filtered or unexported methods
}

OffboardServiceServer is the server API for OffboardService service. All implementations must embed UnimplementedOffboardServiceServer for forward compatibility

type PositionGlobalYaw

type PositionGlobalYaw struct {
	LatDeg       float64                        `protobuf:"fixed64,1,opt,name=lat_deg,json=latDeg,proto3" json:"lat_deg,omitempty"` // Latitude (in degrees)
	LonDeg       float64                        `protobuf:"fixed64,2,opt,name=lon_deg,json=lonDeg,proto3" json:"lon_deg,omitempty"` // Longitude (in degrees)
	AltM         float32                        `protobuf:"fixed32,3,opt,name=alt_m,json=altM,proto3" json:"alt_m,omitempty"`       // altitude (in metres)
	YawDeg       float32                        `protobuf:"fixed32,4,opt,name=yaw_deg,json=yawDeg,proto3" json:"yaw_deg,omitempty"` // Yaw in degrees (0 North, positive is clock-wise looking from above)
	AltitudeType PositionGlobalYaw_AltitudeType ``                                                                                  // altitude type for this position
	/* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

Type for position commands in Global (Latitude, Longitude, Altitude) coordinates and yaw.

func (*PositionGlobalYaw) Descriptor deprecated

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

Deprecated: Use PositionGlobalYaw.ProtoReflect.Descriptor instead.

func (*PositionGlobalYaw) GetAltM

func (x *PositionGlobalYaw) GetAltM() float32

func (*PositionGlobalYaw) GetAltitudeType

func (*PositionGlobalYaw) GetLatDeg

func (x *PositionGlobalYaw) GetLatDeg() float64

func (*PositionGlobalYaw) GetLonDeg

func (x *PositionGlobalYaw) GetLonDeg() float64

func (*PositionGlobalYaw) GetYawDeg

func (x *PositionGlobalYaw) GetYawDeg() float32

func (*PositionGlobalYaw) ProtoMessage

func (*PositionGlobalYaw) ProtoMessage()

func (*PositionGlobalYaw) ProtoReflect

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

func (*PositionGlobalYaw) Reset

func (x *PositionGlobalYaw) Reset()

func (*PositionGlobalYaw) String

func (x *PositionGlobalYaw) String() string

type PositionGlobalYaw_AltitudeType

type PositionGlobalYaw_AltitudeType int32

Possible altitude options

const (
	PositionGlobalYaw_ALTITUDE_TYPE_REL_HOME PositionGlobalYaw_AltitudeType = 0 // Altitude relative to the Home position
	PositionGlobalYaw_ALTITUDE_TYPE_AMSL     PositionGlobalYaw_AltitudeType = 1 // Altitude above mean sea level (AMSL)
	PositionGlobalYaw_ALTITUDE_TYPE_AGL      PositionGlobalYaw_AltitudeType = 2 // Altitude above ground level (AGL)
)

func (PositionGlobalYaw_AltitudeType) Descriptor

func (PositionGlobalYaw_AltitudeType) Enum

func (PositionGlobalYaw_AltitudeType) EnumDescriptor deprecated

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

Deprecated: Use PositionGlobalYaw_AltitudeType.Descriptor instead.

func (PositionGlobalYaw_AltitudeType) Number

func (PositionGlobalYaw_AltitudeType) String

func (PositionGlobalYaw_AltitudeType) Type

type PositionNedYaw

type PositionNedYaw struct {
	NorthM float32 `protobuf:"fixed32,1,opt,name=north_m,json=northM,proto3" json:"north_m,omitempty"` // Position North (in metres)
	EastM  float32 `protobuf:"fixed32,2,opt,name=east_m,json=eastM,proto3" json:"east_m,omitempty"`    // Position East (in metres)
	DownM  float32 `protobuf:"fixed32,3,opt,name=down_m,json=downM,proto3" json:"down_m,omitempty"`    // Position Down (in metres)
	YawDeg float32 `protobuf:"fixed32,4,opt,name=yaw_deg,json=yawDeg,proto3" json:"yaw_deg,omitempty"` // Yaw in degrees (0 North, positive is clock-wise looking from above)
	// contains filtered or unexported fields
}

Type for position commands in NED (North East Down) coordinates and yaw.

func (*PositionNedYaw) Descriptor deprecated

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

Deprecated: Use PositionNedYaw.ProtoReflect.Descriptor instead.

func (*PositionNedYaw) GetDownM

func (x *PositionNedYaw) GetDownM() float32

func (*PositionNedYaw) GetEastM

func (x *PositionNedYaw) GetEastM() float32

func (*PositionNedYaw) GetNorthM

func (x *PositionNedYaw) GetNorthM() float32

func (*PositionNedYaw) GetYawDeg

func (x *PositionNedYaw) GetYawDeg() float32

func (*PositionNedYaw) ProtoMessage

func (*PositionNedYaw) ProtoMessage()

func (*PositionNedYaw) ProtoReflect

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

func (*PositionNedYaw) Reset

func (x *PositionNedYaw) Reset()

func (*PositionNedYaw) String

func (x *PositionNedYaw) String() string

type ServiceImpl

type ServiceImpl struct {
	Client OffboardServiceClient
}

func (*ServiceImpl) IsActive

func (s *ServiceImpl) IsActive(ctx context.Context) (*IsActiveResponse, error)

func (*ServiceImpl) SetAccelerationNed

func (s *ServiceImpl) SetAccelerationNed(ctx context.Context, accelerationNed *AccelerationNed) (*SetAccelerationNedResponse, error)

func (*ServiceImpl) SetActuatorControl

func (s *ServiceImpl) SetActuatorControl(ctx context.Context, actuatorControl *ActuatorControl) (*SetActuatorControlResponse, error)

func (*ServiceImpl) SetAttitude

func (s *ServiceImpl) SetAttitude(ctx context.Context, attitude *Attitude) (*SetAttitudeResponse, error)

func (*ServiceImpl) SetAttitudeRate

func (s *ServiceImpl) SetAttitudeRate(ctx context.Context, attitudeRate *AttitudeRate) (*SetAttitudeRateResponse, error)

func (*ServiceImpl) SetPositionGlobal

func (s *ServiceImpl) SetPositionGlobal(ctx context.Context, positionGlobalYaw *PositionGlobalYaw) (*SetPositionGlobalResponse, error)

func (*ServiceImpl) SetPositionNed

func (s *ServiceImpl) SetPositionNed(ctx context.Context, positionNedYaw *PositionNedYaw) (*SetPositionNedResponse, error)

func (*ServiceImpl) SetPositionVelocityNed

func (s *ServiceImpl) SetPositionVelocityNed(ctx context.Context, positionNedYaw *PositionNedYaw, velocityNedYaw *VelocityNedYaw) (*SetPositionVelocityNedResponse, error)

func (*ServiceImpl) SetVelocityBody

func (s *ServiceImpl) SetVelocityBody(ctx context.Context, velocityBodyYawspeed *VelocityBodyYawspeed) (*SetVelocityBodyResponse, error)

func (*ServiceImpl) SetVelocityNed

func (s *ServiceImpl) SetVelocityNed(ctx context.Context, velocityNedYaw *VelocityNedYaw) (*SetVelocityNedResponse, error)

func (*ServiceImpl) Start

func (s *ServiceImpl) Start(ctx context.Context) (*StartResponse, error)

func (*ServiceImpl) Stop

func (s *ServiceImpl) Stop(ctx context.Context) (*StopResponse, error)

type SetAccelerationNedRequest

type SetAccelerationNedRequest struct {
	AccelerationNed *AccelerationNed `protobuf:"bytes,1,opt,name=acceleration_ned,json=accelerationNed,proto3" json:"acceleration_ned,omitempty"` // Acceleration
	// contains filtered or unexported fields
}

func (*SetAccelerationNedRequest) Descriptor deprecated

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

Deprecated: Use SetAccelerationNedRequest.ProtoReflect.Descriptor instead.

func (*SetAccelerationNedRequest) GetAccelerationNed

func (x *SetAccelerationNedRequest) GetAccelerationNed() *AccelerationNed

func (*SetAccelerationNedRequest) ProtoMessage

func (*SetAccelerationNedRequest) ProtoMessage()

func (*SetAccelerationNedRequest) ProtoReflect

func (*SetAccelerationNedRequest) Reset

func (x *SetAccelerationNedRequest) Reset()

func (*SetAccelerationNedRequest) String

func (x *SetAccelerationNedRequest) String() string

type SetAccelerationNedResponse

type SetAccelerationNedResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetAccelerationNedResponse) Descriptor deprecated

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

Deprecated: Use SetAccelerationNedResponse.ProtoReflect.Descriptor instead.

func (*SetAccelerationNedResponse) GetOffboardResult

func (x *SetAccelerationNedResponse) GetOffboardResult() *OffboardResult

func (*SetAccelerationNedResponse) ProtoMessage

func (*SetAccelerationNedResponse) ProtoMessage()

func (*SetAccelerationNedResponse) ProtoReflect

func (*SetAccelerationNedResponse) Reset

func (x *SetAccelerationNedResponse) Reset()

func (*SetAccelerationNedResponse) String

func (x *SetAccelerationNedResponse) String() string

type SetActuatorControlRequest

type SetActuatorControlRequest struct {
	ActuatorControl *ActuatorControl `protobuf:"bytes,1,opt,name=actuator_control,json=actuatorControl,proto3" json:"actuator_control,omitempty"` // Actuator control values
	// contains filtered or unexported fields
}

func (*SetActuatorControlRequest) Descriptor deprecated

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

Deprecated: Use SetActuatorControlRequest.ProtoReflect.Descriptor instead.

func (*SetActuatorControlRequest) GetActuatorControl

func (x *SetActuatorControlRequest) GetActuatorControl() *ActuatorControl

func (*SetActuatorControlRequest) ProtoMessage

func (*SetActuatorControlRequest) ProtoMessage()

func (*SetActuatorControlRequest) ProtoReflect

func (*SetActuatorControlRequest) Reset

func (x *SetActuatorControlRequest) Reset()

func (*SetActuatorControlRequest) String

func (x *SetActuatorControlRequest) String() string

type SetActuatorControlResponse

type SetActuatorControlResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetActuatorControlResponse) Descriptor deprecated

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

Deprecated: Use SetActuatorControlResponse.ProtoReflect.Descriptor instead.

func (*SetActuatorControlResponse) GetOffboardResult

func (x *SetActuatorControlResponse) GetOffboardResult() *OffboardResult

func (*SetActuatorControlResponse) ProtoMessage

func (*SetActuatorControlResponse) ProtoMessage()

func (*SetActuatorControlResponse) ProtoReflect

func (*SetActuatorControlResponse) Reset

func (x *SetActuatorControlResponse) Reset()

func (*SetActuatorControlResponse) String

func (x *SetActuatorControlResponse) String() string

type SetAttitudeRateRequest

type SetAttitudeRateRequest struct {
	AttitudeRate *AttitudeRate `protobuf:"bytes,1,opt,name=attitude_rate,json=attitudeRate,proto3" json:"attitude_rate,omitempty"` // Attitude rate roll, pitch and yaw angular rate along with thrust
	// contains filtered or unexported fields
}

func (*SetAttitudeRateRequest) Descriptor deprecated

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

Deprecated: Use SetAttitudeRateRequest.ProtoReflect.Descriptor instead.

func (*SetAttitudeRateRequest) GetAttitudeRate

func (x *SetAttitudeRateRequest) GetAttitudeRate() *AttitudeRate

func (*SetAttitudeRateRequest) ProtoMessage

func (*SetAttitudeRateRequest) ProtoMessage()

func (*SetAttitudeRateRequest) ProtoReflect

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

func (*SetAttitudeRateRequest) Reset

func (x *SetAttitudeRateRequest) Reset()

func (*SetAttitudeRateRequest) String

func (x *SetAttitudeRateRequest) String() string

type SetAttitudeRateResponse

type SetAttitudeRateResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetAttitudeRateResponse) Descriptor deprecated

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

Deprecated: Use SetAttitudeRateResponse.ProtoReflect.Descriptor instead.

func (*SetAttitudeRateResponse) GetOffboardResult

func (x *SetAttitudeRateResponse) GetOffboardResult() *OffboardResult

func (*SetAttitudeRateResponse) ProtoMessage

func (*SetAttitudeRateResponse) ProtoMessage()

func (*SetAttitudeRateResponse) ProtoReflect

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

func (*SetAttitudeRateResponse) Reset

func (x *SetAttitudeRateResponse) Reset()

func (*SetAttitudeRateResponse) String

func (x *SetAttitudeRateResponse) String() string

type SetAttitudeRequest

type SetAttitudeRequest struct {
	Attitude *Attitude `protobuf:"bytes,1,opt,name=attitude,proto3" json:"attitude,omitempty"` // Attitude roll, pitch and yaw along with thrust
	// contains filtered or unexported fields
}

func (*SetAttitudeRequest) Descriptor deprecated

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

Deprecated: Use SetAttitudeRequest.ProtoReflect.Descriptor instead.

func (*SetAttitudeRequest) GetAttitude

func (x *SetAttitudeRequest) GetAttitude() *Attitude

func (*SetAttitudeRequest) ProtoMessage

func (*SetAttitudeRequest) ProtoMessage()

func (*SetAttitudeRequest) ProtoReflect

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

func (*SetAttitudeRequest) Reset

func (x *SetAttitudeRequest) Reset()

func (*SetAttitudeRequest) String

func (x *SetAttitudeRequest) String() string

type SetAttitudeResponse

type SetAttitudeResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetAttitudeResponse) Descriptor deprecated

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

Deprecated: Use SetAttitudeResponse.ProtoReflect.Descriptor instead.

func (*SetAttitudeResponse) GetOffboardResult

func (x *SetAttitudeResponse) GetOffboardResult() *OffboardResult

func (*SetAttitudeResponse) ProtoMessage

func (*SetAttitudeResponse) ProtoMessage()

func (*SetAttitudeResponse) ProtoReflect

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

func (*SetAttitudeResponse) Reset

func (x *SetAttitudeResponse) Reset()

func (*SetAttitudeResponse) String

func (x *SetAttitudeResponse) String() string

type SetPositionGlobalRequest

type SetPositionGlobalRequest struct {
	PositionGlobalYaw *PositionGlobalYaw `protobuf:"bytes,1,opt,name=position_global_yaw,json=positionGlobalYaw,proto3" json:"position_global_yaw,omitempty"` // Position and yaw
	// contains filtered or unexported fields
}

func (*SetPositionGlobalRequest) Descriptor deprecated

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

Deprecated: Use SetPositionGlobalRequest.ProtoReflect.Descriptor instead.

func (*SetPositionGlobalRequest) GetPositionGlobalYaw

func (x *SetPositionGlobalRequest) GetPositionGlobalYaw() *PositionGlobalYaw

func (*SetPositionGlobalRequest) ProtoMessage

func (*SetPositionGlobalRequest) ProtoMessage()

func (*SetPositionGlobalRequest) ProtoReflect

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

func (*SetPositionGlobalRequest) Reset

func (x *SetPositionGlobalRequest) Reset()

func (*SetPositionGlobalRequest) String

func (x *SetPositionGlobalRequest) String() string

type SetPositionGlobalResponse

type SetPositionGlobalResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPositionGlobalResponse) Descriptor deprecated

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

Deprecated: Use SetPositionGlobalResponse.ProtoReflect.Descriptor instead.

func (*SetPositionGlobalResponse) GetOffboardResult

func (x *SetPositionGlobalResponse) GetOffboardResult() *OffboardResult

func (*SetPositionGlobalResponse) ProtoMessage

func (*SetPositionGlobalResponse) ProtoMessage()

func (*SetPositionGlobalResponse) ProtoReflect

func (*SetPositionGlobalResponse) Reset

func (x *SetPositionGlobalResponse) Reset()

func (*SetPositionGlobalResponse) String

func (x *SetPositionGlobalResponse) String() string

type SetPositionNedRequest

type SetPositionNedRequest struct {
	PositionNedYaw *PositionNedYaw `protobuf:"bytes,1,opt,name=position_ned_yaw,json=positionNedYaw,proto3" json:"position_ned_yaw,omitempty"` // Position and yaw
	// contains filtered or unexported fields
}

func (*SetPositionNedRequest) Descriptor deprecated

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

Deprecated: Use SetPositionNedRequest.ProtoReflect.Descriptor instead.

func (*SetPositionNedRequest) GetPositionNedYaw

func (x *SetPositionNedRequest) GetPositionNedYaw() *PositionNedYaw

func (*SetPositionNedRequest) ProtoMessage

func (*SetPositionNedRequest) ProtoMessage()

func (*SetPositionNedRequest) ProtoReflect

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

func (*SetPositionNedRequest) Reset

func (x *SetPositionNedRequest) Reset()

func (*SetPositionNedRequest) String

func (x *SetPositionNedRequest) String() string

type SetPositionNedResponse

type SetPositionNedResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPositionNedResponse) Descriptor deprecated

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

Deprecated: Use SetPositionNedResponse.ProtoReflect.Descriptor instead.

func (*SetPositionNedResponse) GetOffboardResult

func (x *SetPositionNedResponse) GetOffboardResult() *OffboardResult

func (*SetPositionNedResponse) ProtoMessage

func (*SetPositionNedResponse) ProtoMessage()

func (*SetPositionNedResponse) ProtoReflect

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

func (*SetPositionNedResponse) Reset

func (x *SetPositionNedResponse) Reset()

func (*SetPositionNedResponse) String

func (x *SetPositionNedResponse) String() string

type SetPositionVelocityNedRequest

type SetPositionVelocityNedRequest struct {
	PositionNedYaw *PositionNedYaw `protobuf:"bytes,1,opt,name=position_ned_yaw,json=positionNedYaw,proto3" json:"position_ned_yaw,omitempty"` // Position and yaw
	VelocityNedYaw *VelocityNedYaw `protobuf:"bytes,2,opt,name=velocity_ned_yaw,json=velocityNedYaw,proto3" json:"velocity_ned_yaw,omitempty"` // Velocity and yaw
	// contains filtered or unexported fields
}

func (*SetPositionVelocityNedRequest) Descriptor deprecated

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

Deprecated: Use SetPositionVelocityNedRequest.ProtoReflect.Descriptor instead.

func (*SetPositionVelocityNedRequest) GetPositionNedYaw

func (x *SetPositionVelocityNedRequest) GetPositionNedYaw() *PositionNedYaw

func (*SetPositionVelocityNedRequest) GetVelocityNedYaw

func (x *SetPositionVelocityNedRequest) GetVelocityNedYaw() *VelocityNedYaw

func (*SetPositionVelocityNedRequest) ProtoMessage

func (*SetPositionVelocityNedRequest) ProtoMessage()

func (*SetPositionVelocityNedRequest) ProtoReflect

func (*SetPositionVelocityNedRequest) Reset

func (x *SetPositionVelocityNedRequest) Reset()

func (*SetPositionVelocityNedRequest) String

type SetPositionVelocityNedResponse

type SetPositionVelocityNedResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPositionVelocityNedResponse) Descriptor deprecated

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

Deprecated: Use SetPositionVelocityNedResponse.ProtoReflect.Descriptor instead.

func (*SetPositionVelocityNedResponse) GetOffboardResult

func (x *SetPositionVelocityNedResponse) GetOffboardResult() *OffboardResult

func (*SetPositionVelocityNedResponse) ProtoMessage

func (*SetPositionVelocityNedResponse) ProtoMessage()

func (*SetPositionVelocityNedResponse) ProtoReflect

func (*SetPositionVelocityNedResponse) Reset

func (x *SetPositionVelocityNedResponse) Reset()

func (*SetPositionVelocityNedResponse) String

type SetVelocityBodyRequest

type SetVelocityBodyRequest struct {
	VelocityBodyYawspeed *VelocityBodyYawspeed `protobuf:"bytes,1,opt,name=velocity_body_yawspeed,json=velocityBodyYawspeed,proto3" json:"velocity_body_yawspeed,omitempty"` // Velocity and yaw angular rate
	// contains filtered or unexported fields
}

func (*SetVelocityBodyRequest) Descriptor deprecated

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

Deprecated: Use SetVelocityBodyRequest.ProtoReflect.Descriptor instead.

func (*SetVelocityBodyRequest) GetVelocityBodyYawspeed

func (x *SetVelocityBodyRequest) GetVelocityBodyYawspeed() *VelocityBodyYawspeed

func (*SetVelocityBodyRequest) ProtoMessage

func (*SetVelocityBodyRequest) ProtoMessage()

func (*SetVelocityBodyRequest) ProtoReflect

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

func (*SetVelocityBodyRequest) Reset

func (x *SetVelocityBodyRequest) Reset()

func (*SetVelocityBodyRequest) String

func (x *SetVelocityBodyRequest) String() string

type SetVelocityBodyResponse

type SetVelocityBodyResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetVelocityBodyResponse) Descriptor deprecated

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

Deprecated: Use SetVelocityBodyResponse.ProtoReflect.Descriptor instead.

func (*SetVelocityBodyResponse) GetOffboardResult

func (x *SetVelocityBodyResponse) GetOffboardResult() *OffboardResult

func (*SetVelocityBodyResponse) ProtoMessage

func (*SetVelocityBodyResponse) ProtoMessage()

func (*SetVelocityBodyResponse) ProtoReflect

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

func (*SetVelocityBodyResponse) Reset

func (x *SetVelocityBodyResponse) Reset()

func (*SetVelocityBodyResponse) String

func (x *SetVelocityBodyResponse) String() string

type SetVelocityNedRequest

type SetVelocityNedRequest struct {
	VelocityNedYaw *VelocityNedYaw `protobuf:"bytes,1,opt,name=velocity_ned_yaw,json=velocityNedYaw,proto3" json:"velocity_ned_yaw,omitempty"` // Velocity and yaw
	// contains filtered or unexported fields
}

func (*SetVelocityNedRequest) Descriptor deprecated

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

Deprecated: Use SetVelocityNedRequest.ProtoReflect.Descriptor instead.

func (*SetVelocityNedRequest) GetVelocityNedYaw

func (x *SetVelocityNedRequest) GetVelocityNedYaw() *VelocityNedYaw

func (*SetVelocityNedRequest) ProtoMessage

func (*SetVelocityNedRequest) ProtoMessage()

func (*SetVelocityNedRequest) ProtoReflect

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

func (*SetVelocityNedRequest) Reset

func (x *SetVelocityNedRequest) Reset()

func (*SetVelocityNedRequest) String

func (x *SetVelocityNedRequest) String() string

type SetVelocityNedResponse

type SetVelocityNedResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetVelocityNedResponse) Descriptor deprecated

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

Deprecated: Use SetVelocityNedResponse.ProtoReflect.Descriptor instead.

func (*SetVelocityNedResponse) GetOffboardResult

func (x *SetVelocityNedResponse) GetOffboardResult() *OffboardResult

func (*SetVelocityNedResponse) ProtoMessage

func (*SetVelocityNedResponse) ProtoMessage()

func (*SetVelocityNedResponse) ProtoReflect

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

func (*SetVelocityNedResponse) Reset

func (x *SetVelocityNedResponse) Reset()

func (*SetVelocityNedResponse) String

func (x *SetVelocityNedResponse) String() string

type StartRequest

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

func (*StartRequest) Descriptor deprecated

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

Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) ProtoReflect

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

func (*StartRequest) Reset

func (x *StartRequest) Reset()

func (*StartRequest) String

func (x *StartRequest) String() string

type StartResponse

type StartResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*StartResponse) Descriptor deprecated

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

Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.

func (*StartResponse) GetOffboardResult

func (x *StartResponse) GetOffboardResult() *OffboardResult

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) ProtoReflect

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

func (*StartResponse) Reset

func (x *StartResponse) Reset()

func (*StartResponse) String

func (x *StartResponse) String() string

type StopRequest

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

func (*StopRequest) Descriptor deprecated

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

Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) ProtoReflect

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

func (*StopRequest) Reset

func (x *StopRequest) Reset()

func (*StopRequest) String

func (x *StopRequest) String() string

type StopResponse

type StopResponse struct {
	OffboardResult *OffboardResult `protobuf:"bytes,1,opt,name=offboard_result,json=offboardResult,proto3" json:"offboard_result,omitempty"`
	// contains filtered or unexported fields
}

func (*StopResponse) Descriptor deprecated

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

Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.

func (*StopResponse) GetOffboardResult

func (x *StopResponse) GetOffboardResult() *OffboardResult

func (*StopResponse) ProtoMessage

func (*StopResponse) ProtoMessage()

func (*StopResponse) ProtoReflect

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

func (*StopResponse) Reset

func (x *StopResponse) Reset()

func (*StopResponse) String

func (x *StopResponse) String() string

type UnimplementedOffboardServiceServer

type UnimplementedOffboardServiceServer struct {
}

UnimplementedOffboardServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOffboardServiceServer) IsActive

func (UnimplementedOffboardServiceServer) SetAccelerationNed

func (UnimplementedOffboardServiceServer) SetActuatorControl

func (UnimplementedOffboardServiceServer) SetAttitude

func (UnimplementedOffboardServiceServer) SetAttitudeRate

func (UnimplementedOffboardServiceServer) SetPositionGlobal

func (UnimplementedOffboardServiceServer) SetPositionNed

func (UnimplementedOffboardServiceServer) SetVelocityBody

func (UnimplementedOffboardServiceServer) SetVelocityNed

func (UnimplementedOffboardServiceServer) Start

func (UnimplementedOffboardServiceServer) Stop

type UnsafeOffboardServiceServer

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

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

type VelocityBodyYawspeed

type VelocityBodyYawspeed struct {
	ForwardMS    float32 `protobuf:"fixed32,1,opt,name=forward_m_s,json=forwardMS,proto3" json:"forward_m_s,omitempty"`          // Velocity forward (in metres/second)
	RightMS      float32 `protobuf:"fixed32,2,opt,name=right_m_s,json=rightMS,proto3" json:"right_m_s,omitempty"`                // Velocity right (in metres/second)
	DownMS       float32 `protobuf:"fixed32,3,opt,name=down_m_s,json=downMS,proto3" json:"down_m_s,omitempty"`                   // Velocity down (in metres/second)
	YawspeedDegS float32 `protobuf:"fixed32,4,opt,name=yawspeed_deg_s,json=yawspeedDegS,proto3" json:"yawspeed_deg_s,omitempty"` // Yaw angular rate (in degrees/second, positive for clock-wise looking from above)
	// contains filtered or unexported fields
}

Type for velocity commands in body coordinates.

func (*VelocityBodyYawspeed) Descriptor deprecated

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

Deprecated: Use VelocityBodyYawspeed.ProtoReflect.Descriptor instead.

func (*VelocityBodyYawspeed) GetDownMS

func (x *VelocityBodyYawspeed) GetDownMS() float32

func (*VelocityBodyYawspeed) GetForwardMS

func (x *VelocityBodyYawspeed) GetForwardMS() float32

func (*VelocityBodyYawspeed) GetRightMS

func (x *VelocityBodyYawspeed) GetRightMS() float32

func (*VelocityBodyYawspeed) GetYawspeedDegS

func (x *VelocityBodyYawspeed) GetYawspeedDegS() float32

func (*VelocityBodyYawspeed) ProtoMessage

func (*VelocityBodyYawspeed) ProtoMessage()

func (*VelocityBodyYawspeed) ProtoReflect

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

func (*VelocityBodyYawspeed) Reset

func (x *VelocityBodyYawspeed) Reset()

func (*VelocityBodyYawspeed) String

func (x *VelocityBodyYawspeed) String() string

type VelocityNedYaw

type VelocityNedYaw struct {
	NorthMS float32 `protobuf:"fixed32,1,opt,name=north_m_s,json=northMS,proto3" json:"north_m_s,omitempty"` // Velocity North (in metres/second)
	EastMS  float32 `protobuf:"fixed32,2,opt,name=east_m_s,json=eastMS,proto3" json:"east_m_s,omitempty"`    // Velocity East (in metres/second)
	DownMS  float32 `protobuf:"fixed32,3,opt,name=down_m_s,json=downMS,proto3" json:"down_m_s,omitempty"`    // Velocity Down (in metres/second)
	YawDeg  float32 `protobuf:"fixed32,4,opt,name=yaw_deg,json=yawDeg,proto3" json:"yaw_deg,omitempty"`      // Yaw in degrees (0 North, positive is clock-wise looking from above)
	// contains filtered or unexported fields
}

Type for velocity commands in NED (North East Down) coordinates and yaw.

func (*VelocityNedYaw) Descriptor deprecated

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

Deprecated: Use VelocityNedYaw.ProtoReflect.Descriptor instead.

func (*VelocityNedYaw) GetDownMS

func (x *VelocityNedYaw) GetDownMS() float32

func (*VelocityNedYaw) GetEastMS

func (x *VelocityNedYaw) GetEastMS() float32

func (*VelocityNedYaw) GetNorthMS

func (x *VelocityNedYaw) GetNorthMS() float32

func (*VelocityNedYaw) GetYawDeg

func (x *VelocityNedYaw) GetYawDeg() float32

func (*VelocityNedYaw) ProtoMessage

func (*VelocityNedYaw) ProtoMessage()

func (*VelocityNedYaw) ProtoReflect

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

func (*VelocityNedYaw) Reset

func (x *VelocityNedYaw) Reset()

func (*VelocityNedYaw) String

func (x *VelocityNedYaw) String() string

Jump to

Keyboard shortcuts

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