telemetry_server

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TelemetryServerService_PublishPosition_FullMethodName            = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishPosition"
	TelemetryServerService_PublishHome_FullMethodName                = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishHome"
	TelemetryServerService_PublishSysStatus_FullMethodName           = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishSysStatus"
	TelemetryServerService_PublishExtendedSysState_FullMethodName    = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishExtendedSysState"
	TelemetryServerService_PublishRawGps_FullMethodName              = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishRawGps"
	TelemetryServerService_PublishBattery_FullMethodName             = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishBattery"
	TelemetryServerService_PublishStatusText_FullMethodName          = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishStatusText"
	TelemetryServerService_PublishOdometry_FullMethodName            = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishOdometry"
	TelemetryServerService_PublishPositionVelocityNed_FullMethodName = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishPositionVelocityNed"
	TelemetryServerService_PublishGroundTruth_FullMethodName         = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishGroundTruth"
	TelemetryServerService_PublishImu_FullMethodName                 = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishImu"
	TelemetryServerService_PublishScaledImu_FullMethodName           = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishScaledImu"
	TelemetryServerService_PublishRawImu_FullMethodName              = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishRawImu"
	TelemetryServerService_PublishUnixEpochTime_FullMethodName       = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishUnixEpochTime"
	TelemetryServerService_PublishDistanceSensor_FullMethodName      = "/mavsdk.rpc.telemetry_server.TelemetryServerService/PublishDistanceSensor"
)

Variables

View Source
var (
	FixType_name = map[int32]string{
		0: "FIX_TYPE_NO_GPS",
		1: "FIX_TYPE_NO_FIX",
		2: "FIX_TYPE_FIX_2D",
		3: "FIX_TYPE_FIX_3D",
		4: "FIX_TYPE_FIX_DGPS",
		5: "FIX_TYPE_RTK_FLOAT",
		6: "FIX_TYPE_RTK_FIXED",
	}
	FixType_value = map[string]int32{
		"FIX_TYPE_NO_GPS":    0,
		"FIX_TYPE_NO_FIX":    1,
		"FIX_TYPE_FIX_2D":    2,
		"FIX_TYPE_FIX_3D":    3,
		"FIX_TYPE_FIX_DGPS":  4,
		"FIX_TYPE_RTK_FLOAT": 5,
		"FIX_TYPE_RTK_FIXED": 6,
	}
)

Enum value maps for FixType.

View Source
var (
	VtolState_name = map[int32]string{
		0: "VTOL_STATE_UNDEFINED",
		1: "VTOL_STATE_TRANSITION_TO_FW",
		2: "VTOL_STATE_TRANSITION_TO_MC",
		3: "VTOL_STATE_MC",
		4: "VTOL_STATE_FW",
	}
	VtolState_value = map[string]int32{
		"VTOL_STATE_UNDEFINED":        0,
		"VTOL_STATE_TRANSITION_TO_FW": 1,
		"VTOL_STATE_TRANSITION_TO_MC": 2,
		"VTOL_STATE_MC":               3,
		"VTOL_STATE_FW":               4,
	}
)

Enum value maps for VtolState.

View Source
var (
	StatusTextType_name = map[int32]string{
		0: "STATUS_TEXT_TYPE_DEBUG",
		1: "STATUS_TEXT_TYPE_INFO",
		2: "STATUS_TEXT_TYPE_NOTICE",
		3: "STATUS_TEXT_TYPE_WARNING",
		4: "STATUS_TEXT_TYPE_ERROR",
		5: "STATUS_TEXT_TYPE_CRITICAL",
		6: "STATUS_TEXT_TYPE_ALERT",
		7: "STATUS_TEXT_TYPE_EMERGENCY",
	}
	StatusTextType_value = map[string]int32{
		"STATUS_TEXT_TYPE_DEBUG":     0,
		"STATUS_TEXT_TYPE_INFO":      1,
		"STATUS_TEXT_TYPE_NOTICE":    2,
		"STATUS_TEXT_TYPE_WARNING":   3,
		"STATUS_TEXT_TYPE_ERROR":     4,
		"STATUS_TEXT_TYPE_CRITICAL":  5,
		"STATUS_TEXT_TYPE_ALERT":     6,
		"STATUS_TEXT_TYPE_EMERGENCY": 7,
	}
)

Enum value maps for StatusTextType.

View Source
var (
	LandedState_name = map[int32]string{
		0: "LANDED_STATE_UNKNOWN",
		1: "LANDED_STATE_ON_GROUND",
		2: "LANDED_STATE_IN_AIR",
		3: "LANDED_STATE_TAKING_OFF",
		4: "LANDED_STATE_LANDING",
	}
	LandedState_value = map[string]int32{
		"LANDED_STATE_UNKNOWN":    0,
		"LANDED_STATE_ON_GROUND":  1,
		"LANDED_STATE_IN_AIR":     2,
		"LANDED_STATE_TAKING_OFF": 3,
		"LANDED_STATE_LANDING":    4,
	}
)

Enum value maps for LandedState.

View Source
var (
	Odometry_MavFrame_name = map[int32]string{
		0:  "MAV_FRAME_UNDEF",
		8:  "MAV_FRAME_BODY_NED",
		16: "MAV_FRAME_VISION_NED",
		18: "MAV_FRAME_ESTIM_NED",
	}
	Odometry_MavFrame_value = map[string]int32{
		"MAV_FRAME_UNDEF":      0,
		"MAV_FRAME_BODY_NED":   8,
		"MAV_FRAME_VISION_NED": 16,
		"MAV_FRAME_ESTIM_NED":  18,
	}
)

Enum value maps for Odometry_MavFrame.

View Source
var (
	TelemetryServerResult_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_UNSUPPORTED",
	}
	TelemetryServerResult_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_UNSUPPORTED":      7,
	}
)

Enum value maps for TelemetryServerResult_Result.

View Source
var File_telemetry_server_proto protoreflect.FileDescriptor
View Source
var TelemetryServerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mavsdk.rpc.telemetry_server.TelemetryServerService",
	HandlerType: (*TelemetryServerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PublishPosition",
			Handler:    _TelemetryServerService_PublishPosition_Handler,
		},
		{
			MethodName: "PublishHome",
			Handler:    _TelemetryServerService_PublishHome_Handler,
		},
		{
			MethodName: "PublishSysStatus",
			Handler:    _TelemetryServerService_PublishSysStatus_Handler,
		},
		{
			MethodName: "PublishExtendedSysState",
			Handler:    _TelemetryServerService_PublishExtendedSysState_Handler,
		},
		{
			MethodName: "PublishRawGps",
			Handler:    _TelemetryServerService_PublishRawGps_Handler,
		},
		{
			MethodName: "PublishBattery",
			Handler:    _TelemetryServerService_PublishBattery_Handler,
		},
		{
			MethodName: "PublishStatusText",
			Handler:    _TelemetryServerService_PublishStatusText_Handler,
		},
		{
			MethodName: "PublishOdometry",
			Handler:    _TelemetryServerService_PublishOdometry_Handler,
		},
		{
			MethodName: "PublishPositionVelocityNed",
			Handler:    _TelemetryServerService_PublishPositionVelocityNed_Handler,
		},
		{
			MethodName: "PublishGroundTruth",
			Handler:    _TelemetryServerService_PublishGroundTruth_Handler,
		},
		{
			MethodName: "PublishImu",
			Handler:    _TelemetryServerService_PublishImu_Handler,
		},
		{
			MethodName: "PublishScaledImu",
			Handler:    _TelemetryServerService_PublishScaledImu_Handler,
		},
		{
			MethodName: "PublishRawImu",
			Handler:    _TelemetryServerService_PublishRawImu_Handler,
		},
		{
			MethodName: "PublishUnixEpochTime",
			Handler:    _TelemetryServerService_PublishUnixEpochTime_Handler,
		},
		{
			MethodName: "PublishDistanceSensor",
			Handler:    _TelemetryServerService_PublishDistanceSensor_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "telemetry_server.proto",
}

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

Functions

func RegisterTelemetryServerServiceServer

func RegisterTelemetryServerServiceServer(s grpc.ServiceRegistrar, srv TelemetryServerServiceServer)

Types

type AccelerationFrd

type AccelerationFrd struct {
	ForwardMS2 float32 `protobuf:"fixed32,1,opt,name=forward_m_s2,json=forwardMS2,proto3" json:"forward_m_s2,omitempty"` // Acceleration in forward direction in metres per second^2
	RightMS2   float32 `protobuf:"fixed32,2,opt,name=right_m_s2,json=rightMS2,proto3" json:"right_m_s2,omitempty"`       // Acceleration in right direction in metres per second^2
	DownMS2    float32 `protobuf:"fixed32,3,opt,name=down_m_s2,json=downMS2,proto3" json:"down_m_s2,omitempty"`          // Acceleration in down direction in metres per second^2
	// contains filtered or unexported fields
}

AccelerationFrd message type.

func (*AccelerationFrd) Descriptor deprecated

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

Deprecated: Use AccelerationFrd.ProtoReflect.Descriptor instead.

func (*AccelerationFrd) GetDownMS2

func (x *AccelerationFrd) GetDownMS2() float32

func (*AccelerationFrd) GetForwardMS2

func (x *AccelerationFrd) GetForwardMS2() float32

func (*AccelerationFrd) GetRightMS2

func (x *AccelerationFrd) GetRightMS2() float32

func (*AccelerationFrd) ProtoMessage

func (*AccelerationFrd) ProtoMessage()

func (*AccelerationFrd) ProtoReflect

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

func (*AccelerationFrd) Reset

func (x *AccelerationFrd) Reset()

func (*AccelerationFrd) String

func (x *AccelerationFrd) String() string

type ActuatorControlTarget

type ActuatorControlTarget struct {
	Group    int32     `protobuf:"varint,1,opt,name=group,proto3" json:"group,omitempty"`               // An actuator control group is e.g. 'attitude' for the core flight controls, or 'gimbal' for a payload.
	Controls []float32 `protobuf:"fixed32,2,rep,packed,name=controls,proto3" json:"controls,omitempty"` // Controls normed from -1 to 1, where 0 is neutral position.
	// contains filtered or unexported fields
}

Actuator control target type.

func (*ActuatorControlTarget) Descriptor deprecated

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

Deprecated: Use ActuatorControlTarget.ProtoReflect.Descriptor instead.

func (*ActuatorControlTarget) GetControls

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

func (*ActuatorControlTarget) GetGroup

func (x *ActuatorControlTarget) GetGroup() int32

func (*ActuatorControlTarget) ProtoMessage

func (*ActuatorControlTarget) ProtoMessage()

func (*ActuatorControlTarget) ProtoReflect

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

func (*ActuatorControlTarget) Reset

func (x *ActuatorControlTarget) Reset()

func (*ActuatorControlTarget) String

func (x *ActuatorControlTarget) String() string

type ActuatorOutputStatus

type ActuatorOutputStatus struct {
	Active   uint32    `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`             // Active outputs
	Actuator []float32 `protobuf:"fixed32,2,rep,packed,name=actuator,proto3" json:"actuator,omitempty"` // Servo/motor output values
	// contains filtered or unexported fields
}

Actuator output status type.

func (*ActuatorOutputStatus) Descriptor deprecated

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

Deprecated: Use ActuatorOutputStatus.ProtoReflect.Descriptor instead.

func (*ActuatorOutputStatus) GetActive

func (x *ActuatorOutputStatus) GetActive() uint32

func (*ActuatorOutputStatus) GetActuator

func (x *ActuatorOutputStatus) GetActuator() []float32

func (*ActuatorOutputStatus) ProtoMessage

func (*ActuatorOutputStatus) ProtoMessage()

func (*ActuatorOutputStatus) ProtoReflect

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

func (*ActuatorOutputStatus) Reset

func (x *ActuatorOutputStatus) Reset()

func (*ActuatorOutputStatus) String

func (x *ActuatorOutputStatus) String() string

type AngularVelocityBody

type AngularVelocityBody struct {
	RollRadS  float32 `protobuf:"fixed32,1,opt,name=roll_rad_s,json=rollRadS,proto3" json:"roll_rad_s,omitempty"`    // Roll angular velocity
	PitchRadS float32 `protobuf:"fixed32,2,opt,name=pitch_rad_s,json=pitchRadS,proto3" json:"pitch_rad_s,omitempty"` // Pitch angular velocity
	YawRadS   float32 `protobuf:"fixed32,3,opt,name=yaw_rad_s,json=yawRadS,proto3" json:"yaw_rad_s,omitempty"`       // Yaw angular velocity
	// contains filtered or unexported fields
}

Angular velocity type.

func (*AngularVelocityBody) Descriptor deprecated

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

Deprecated: Use AngularVelocityBody.ProtoReflect.Descriptor instead.

func (*AngularVelocityBody) GetPitchRadS

func (x *AngularVelocityBody) GetPitchRadS() float32

func (*AngularVelocityBody) GetRollRadS

func (x *AngularVelocityBody) GetRollRadS() float32

func (*AngularVelocityBody) GetYawRadS

func (x *AngularVelocityBody) GetYawRadS() float32

func (*AngularVelocityBody) ProtoMessage

func (*AngularVelocityBody) ProtoMessage()

func (*AngularVelocityBody) ProtoReflect

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

func (*AngularVelocityBody) Reset

func (x *AngularVelocityBody) Reset()

func (*AngularVelocityBody) String

func (x *AngularVelocityBody) String() string

type AngularVelocityFrd

type AngularVelocityFrd struct {
	ForwardRadS float32 `protobuf:"fixed32,1,opt,name=forward_rad_s,json=forwardRadS,proto3" json:"forward_rad_s,omitempty"` // Angular velocity in forward direction in radians per second
	RightRadS   float32 `protobuf:"fixed32,2,opt,name=right_rad_s,json=rightRadS,proto3" json:"right_rad_s,omitempty"`       // Angular velocity in right direction in radians per second
	DownRadS    float32 `protobuf:"fixed32,3,opt,name=down_rad_s,json=downRadS,proto3" json:"down_rad_s,omitempty"`          // Angular velocity in Down direction in radians per second
	// contains filtered or unexported fields
}

AngularVelocityFrd message type.

func (*AngularVelocityFrd) Descriptor deprecated

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

Deprecated: Use AngularVelocityFrd.ProtoReflect.Descriptor instead.

func (*AngularVelocityFrd) GetDownRadS

func (x *AngularVelocityFrd) GetDownRadS() float32

func (*AngularVelocityFrd) GetForwardRadS

func (x *AngularVelocityFrd) GetForwardRadS() float32

func (*AngularVelocityFrd) GetRightRadS

func (x *AngularVelocityFrd) GetRightRadS() float32

func (*AngularVelocityFrd) ProtoMessage

func (*AngularVelocityFrd) ProtoMessage()

func (*AngularVelocityFrd) ProtoReflect

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

func (*AngularVelocityFrd) Reset

func (x *AngularVelocityFrd) Reset()

func (*AngularVelocityFrd) String

func (x *AngularVelocityFrd) String() string

type Battery

type Battery struct {
	VoltageV         float32 `protobuf:"fixed32,1,opt,name=voltage_v,json=voltageV,proto3" json:"voltage_v,omitempty"`                         // Voltage in volts
	RemainingPercent float32 `protobuf:"fixed32,2,opt,name=remaining_percent,json=remainingPercent,proto3" json:"remaining_percent,omitempty"` // Estimated battery remaining (range: 0.0 to 1.0)
	// contains filtered or unexported fields
}

Battery type.

func (*Battery) Descriptor deprecated

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

Deprecated: Use Battery.ProtoReflect.Descriptor instead.

func (*Battery) GetRemainingPercent

func (x *Battery) GetRemainingPercent() float32

func (*Battery) GetVoltageV

func (x *Battery) GetVoltageV() float32

func (*Battery) ProtoMessage

func (*Battery) ProtoMessage()

func (*Battery) ProtoReflect

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

func (*Battery) Reset

func (x *Battery) Reset()

func (*Battery) String

func (x *Battery) String() string

type Covariance

type Covariance struct {
	CovarianceMatrix []float32 `protobuf:"fixed32,1,rep,packed,name=covariance_matrix,json=covarianceMatrix,proto3" json:"covariance_matrix,omitempty"` // Representation of a covariance matrix.
	// contains filtered or unexported fields
}

Covariance type.

Row-major representation of a 6x6 cross-covariance matrix upper right triangle. Set first to NaN if unknown.

func (*Covariance) Descriptor deprecated

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

Deprecated: Use Covariance.ProtoReflect.Descriptor instead.

func (*Covariance) GetCovarianceMatrix

func (x *Covariance) GetCovarianceMatrix() []float32

func (*Covariance) ProtoMessage

func (*Covariance) ProtoMessage()

func (*Covariance) ProtoReflect

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

func (*Covariance) Reset

func (x *Covariance) Reset()

func (*Covariance) String

func (x *Covariance) String() string

type DistanceSensor

type DistanceSensor struct {
	MinimumDistanceM float32 `protobuf:"fixed32,1,opt,name=minimum_distance_m,json=minimumDistanceM,proto3" json:"minimum_distance_m,omitempty"` // Minimum distance the sensor can measure, NaN if unknown.
	MaximumDistanceM float32 `protobuf:"fixed32,2,opt,name=maximum_distance_m,json=maximumDistanceM,proto3" json:"maximum_distance_m,omitempty"` // Maximum distance the sensor can measure, NaN if unknown.
	CurrentDistanceM float32 `protobuf:"fixed32,3,opt,name=current_distance_m,json=currentDistanceM,proto3" json:"current_distance_m,omitempty"` // Current distance reading, NaN if unknown.
	// contains filtered or unexported fields
}

DistanceSensor message type.

func (*DistanceSensor) Descriptor deprecated

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

Deprecated: Use DistanceSensor.ProtoReflect.Descriptor instead.

func (*DistanceSensor) GetCurrentDistanceM

func (x *DistanceSensor) GetCurrentDistanceM() float32

func (*DistanceSensor) GetMaximumDistanceM

func (x *DistanceSensor) GetMaximumDistanceM() float32

func (*DistanceSensor) GetMinimumDistanceM

func (x *DistanceSensor) GetMinimumDistanceM() float32

func (*DistanceSensor) ProtoMessage

func (*DistanceSensor) ProtoMessage()

func (*DistanceSensor) ProtoReflect

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

func (*DistanceSensor) Reset

func (x *DistanceSensor) Reset()

func (*DistanceSensor) String

func (x *DistanceSensor) String() string

type EulerAngle

type EulerAngle struct {
	RollDeg     float32 `protobuf:"fixed32,1,opt,name=roll_deg,json=rollDeg,proto3" json:"roll_deg,omitempty"`            // Roll angle in degrees, positive is banking to the right
	PitchDeg    float32 `protobuf:"fixed32,2,opt,name=pitch_deg,json=pitchDeg,proto3" json:"pitch_deg,omitempty"`         // Pitch angle in degrees, positive is pitching nose up
	YawDeg      float32 `protobuf:"fixed32,3,opt,name=yaw_deg,json=yawDeg,proto3" json:"yaw_deg,omitempty"`               // Yaw angle in degrees, positive is clock-wise seen from above
	TimestampUs uint64  `protobuf:"varint,4,opt,name=timestamp_us,json=timestampUs,proto3" json:"timestamp_us,omitempty"` // Timestamp in microseconds
	// contains filtered or unexported fields
}

Euler angle type.

All rotations and axis systems follow the right-hand rule. The Euler angles follow the convention of a 3-2-1 intrinsic Tait-Bryan rotation sequence.

For more info see https://en.wikipedia.org/wiki/Euler_angles

func (*EulerAngle) Descriptor deprecated

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

Deprecated: Use EulerAngle.ProtoReflect.Descriptor instead.

func (*EulerAngle) GetPitchDeg

func (x *EulerAngle) GetPitchDeg() float32

func (*EulerAngle) GetRollDeg

func (x *EulerAngle) GetRollDeg() float32

func (*EulerAngle) GetTimestampUs

func (x *EulerAngle) GetTimestampUs() uint64

func (*EulerAngle) GetYawDeg

func (x *EulerAngle) GetYawDeg() float32

func (*EulerAngle) ProtoMessage

func (*EulerAngle) ProtoMessage()

func (*EulerAngle) ProtoReflect

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

func (*EulerAngle) Reset

func (x *EulerAngle) Reset()

func (*EulerAngle) String

func (x *EulerAngle) String() string

type FixType

type FixType int32

GPS fix type.

const (
	FixType_FIX_TYPE_NO_GPS    FixType = 0 // No GPS connected
	FixType_FIX_TYPE_NO_FIX    FixType = 1 // No position information, GPS is connected
	FixType_FIX_TYPE_FIX_2D    FixType = 2 // 2D position
	FixType_FIX_TYPE_FIX_3D    FixType = 3 // 3D position
	FixType_FIX_TYPE_FIX_DGPS  FixType = 4 // DGPS/SBAS aided 3D position
	FixType_FIX_TYPE_RTK_FLOAT FixType = 5 // RTK float, 3D position
	FixType_FIX_TYPE_RTK_FIXED FixType = 6 // RTK Fixed, 3D position
)

func (FixType) Descriptor

func (FixType) Descriptor() protoreflect.EnumDescriptor

func (FixType) Enum

func (x FixType) Enum() *FixType

func (FixType) EnumDescriptor deprecated

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

Deprecated: Use FixType.Descriptor instead.

func (FixType) Number

func (x FixType) Number() protoreflect.EnumNumber

func (FixType) String

func (x FixType) String() string

func (FixType) Type

func (FixType) Type() protoreflect.EnumType

type FixedwingMetrics

type FixedwingMetrics struct {
	AirspeedMS         float32 `protobuf:"fixed32,1,opt,name=airspeed_m_s,json=airspeedMS,proto3" json:"airspeed_m_s,omitempty"`                       // Current indicated airspeed (IAS) in metres per second
	ThrottlePercentage float32 `protobuf:"fixed32,2,opt,name=throttle_percentage,json=throttlePercentage,proto3" json:"throttle_percentage,omitempty"` // Current throttle setting (0 to 100)
	ClimbRateMS        float32 `protobuf:"fixed32,3,opt,name=climb_rate_m_s,json=climbRateMS,proto3" json:"climb_rate_m_s,omitempty"`                  // Current climb rate in metres per second
	// contains filtered or unexported fields
}

FixedwingMetrics message type.

func (*FixedwingMetrics) Descriptor deprecated

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

Deprecated: Use FixedwingMetrics.ProtoReflect.Descriptor instead.

func (*FixedwingMetrics) GetAirspeedMS

func (x *FixedwingMetrics) GetAirspeedMS() float32

func (*FixedwingMetrics) GetClimbRateMS

func (x *FixedwingMetrics) GetClimbRateMS() float32

func (*FixedwingMetrics) GetThrottlePercentage

func (x *FixedwingMetrics) GetThrottlePercentage() float32

func (*FixedwingMetrics) ProtoMessage

func (*FixedwingMetrics) ProtoMessage()

func (*FixedwingMetrics) ProtoReflect

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

func (*FixedwingMetrics) Reset

func (x *FixedwingMetrics) Reset()

func (*FixedwingMetrics) String

func (x *FixedwingMetrics) String() string

type GpsInfo

type GpsInfo struct {
	NumSatellites int32   `protobuf:"varint,1,opt,name=num_satellites,json=numSatellites,proto3" json:"num_satellites,omitempty"`                        // Number of visible satellites in use
	FixType       FixType `protobuf:"varint,2,opt,name=fix_type,json=fixType,proto3,enum=mavsdk.rpc.telemetry_server.FixType" json:"fix_type,omitempty"` // Fix type
	// contains filtered or unexported fields
}

GPS information type.

func (*GpsInfo) Descriptor deprecated

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

Deprecated: Use GpsInfo.ProtoReflect.Descriptor instead.

func (*GpsInfo) GetFixType

func (x *GpsInfo) GetFixType() FixType

func (*GpsInfo) GetNumSatellites

func (x *GpsInfo) GetNumSatellites() int32

func (*GpsInfo) ProtoMessage

func (*GpsInfo) ProtoMessage()

func (*GpsInfo) ProtoReflect

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

func (*GpsInfo) Reset

func (x *GpsInfo) Reset()

func (*GpsInfo) String

func (x *GpsInfo) String() string

type GroundTruth

type GroundTruth struct {
	LatitudeDeg       float64 `protobuf:"fixed64,1,opt,name=latitude_deg,json=latitudeDeg,proto3" json:"latitude_deg,omitempty"`                     // Latitude in degrees (range: -90 to +90)
	LongitudeDeg      float64 `protobuf:"fixed64,2,opt,name=longitude_deg,json=longitudeDeg,proto3" json:"longitude_deg,omitempty"`                  // Longitude in degrees (range: -180 to 180)
	AbsoluteAltitudeM float32 `protobuf:"fixed32,3,opt,name=absolute_altitude_m,json=absoluteAltitudeM,proto3" json:"absolute_altitude_m,omitempty"` // Altitude AMSL (above mean sea level) in metres
	// contains filtered or unexported fields
}

GroundTruth message type.

func (*GroundTruth) Descriptor deprecated

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

Deprecated: Use GroundTruth.ProtoReflect.Descriptor instead.

func (*GroundTruth) GetAbsoluteAltitudeM

func (x *GroundTruth) GetAbsoluteAltitudeM() float32

func (*GroundTruth) GetLatitudeDeg

func (x *GroundTruth) GetLatitudeDeg() float64

func (*GroundTruth) GetLongitudeDeg

func (x *GroundTruth) GetLongitudeDeg() float64

func (*GroundTruth) ProtoMessage

func (*GroundTruth) ProtoMessage()

func (*GroundTruth) ProtoReflect

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

func (*GroundTruth) Reset

func (x *GroundTruth) Reset()

func (*GroundTruth) String

func (x *GroundTruth) String() string

type Heading

type Heading struct {
	HeadingDeg float64 `protobuf:"fixed64,1,opt,name=heading_deg,json=headingDeg,proto3" json:"heading_deg,omitempty"` // Heading in degrees (range: 0 to +360)
	// contains filtered or unexported fields
}

Heading type used for global position

func (*Heading) Descriptor deprecated

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

Deprecated: Use Heading.ProtoReflect.Descriptor instead.

func (*Heading) GetHeadingDeg

func (x *Heading) GetHeadingDeg() float64

func (*Heading) ProtoMessage

func (*Heading) ProtoMessage()

func (*Heading) ProtoReflect

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

func (*Heading) Reset

func (x *Heading) Reset()

func (*Heading) String

func (x *Heading) String() string

type Imu

type Imu struct {
	AccelerationFrd    *AccelerationFrd    `protobuf:"bytes,1,opt,name=acceleration_frd,json=accelerationFrd,proto3" json:"acceleration_frd,omitempty"`            // Acceleration
	AngularVelocityFrd *AngularVelocityFrd `protobuf:"bytes,2,opt,name=angular_velocity_frd,json=angularVelocityFrd,proto3" json:"angular_velocity_frd,omitempty"` // Angular velocity
	MagneticFieldFrd   *MagneticFieldFrd   `protobuf:"bytes,3,opt,name=magnetic_field_frd,json=magneticFieldFrd,proto3" json:"magnetic_field_frd,omitempty"`       // Magnetic field
	TemperatureDegc    float32             `protobuf:"fixed32,4,opt,name=temperature_degc,json=temperatureDegc,proto3" json:"temperature_degc,omitempty"`          // Temperature
	TimestampUs        uint64              `protobuf:"varint,5,opt,name=timestamp_us,json=timestampUs,proto3" json:"timestamp_us,omitempty"`                       // Timestamp in microseconds
	// contains filtered or unexported fields
}

Imu message type.

func (*Imu) Descriptor deprecated

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

Deprecated: Use Imu.ProtoReflect.Descriptor instead.

func (*Imu) GetAccelerationFrd

func (x *Imu) GetAccelerationFrd() *AccelerationFrd

func (*Imu) GetAngularVelocityFrd

func (x *Imu) GetAngularVelocityFrd() *AngularVelocityFrd

func (*Imu) GetMagneticFieldFrd

func (x *Imu) GetMagneticFieldFrd() *MagneticFieldFrd

func (*Imu) GetTemperatureDegc

func (x *Imu) GetTemperatureDegc() float32

func (*Imu) GetTimestampUs

func (x *Imu) GetTimestampUs() uint64

func (*Imu) ProtoMessage

func (*Imu) ProtoMessage()

func (*Imu) ProtoReflect

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

func (*Imu) Reset

func (x *Imu) Reset()

func (*Imu) String

func (x *Imu) String() string

type LandedState

type LandedState int32

Landed State enumeration.

const (
	LandedState_LANDED_STATE_UNKNOWN    LandedState = 0 // Landed state is unknown
	LandedState_LANDED_STATE_ON_GROUND  LandedState = 1 // The vehicle is on the ground
	LandedState_LANDED_STATE_IN_AIR     LandedState = 2 // The vehicle is in the air
	LandedState_LANDED_STATE_TAKING_OFF LandedState = 3 // The vehicle is taking off
	LandedState_LANDED_STATE_LANDING    LandedState = 4 // The vehicle is landing
)

func (LandedState) Descriptor

func (LandedState) Enum

func (x LandedState) Enum() *LandedState

func (LandedState) EnumDescriptor deprecated

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

Deprecated: Use LandedState.Descriptor instead.

func (LandedState) Number

func (x LandedState) Number() protoreflect.EnumNumber

func (LandedState) String

func (x LandedState) String() string

func (LandedState) Type

type MagneticFieldFrd

type MagneticFieldFrd struct {
	ForwardGauss float32 `protobuf:"fixed32,1,opt,name=forward_gauss,json=forwardGauss,proto3" json:"forward_gauss,omitempty"` // Magnetic field in forward direction measured in Gauss
	RightGauss   float32 `protobuf:"fixed32,2,opt,name=right_gauss,json=rightGauss,proto3" json:"right_gauss,omitempty"`       // Magnetic field in East direction measured in Gauss
	DownGauss    float32 `protobuf:"fixed32,3,opt,name=down_gauss,json=downGauss,proto3" json:"down_gauss,omitempty"`          // Magnetic field in Down direction measured in Gauss
	// contains filtered or unexported fields
}

MagneticFieldFrd message type.

func (*MagneticFieldFrd) Descriptor deprecated

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

Deprecated: Use MagneticFieldFrd.ProtoReflect.Descriptor instead.

func (*MagneticFieldFrd) GetDownGauss

func (x *MagneticFieldFrd) GetDownGauss() float32

func (*MagneticFieldFrd) GetForwardGauss

func (x *MagneticFieldFrd) GetForwardGauss() float32

func (*MagneticFieldFrd) GetRightGauss

func (x *MagneticFieldFrd) GetRightGauss() float32

func (*MagneticFieldFrd) ProtoMessage

func (*MagneticFieldFrd) ProtoMessage()

func (*MagneticFieldFrd) ProtoReflect

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

func (*MagneticFieldFrd) Reset

func (x *MagneticFieldFrd) Reset()

func (*MagneticFieldFrd) String

func (x *MagneticFieldFrd) String() string

type Odometry

type Odometry struct {
	TimeUsec uint64            `protobuf:"varint,1,opt,name=time_usec,json=timeUsec,proto3" json:"time_usec,omitempty"` // Timestamp (0 to use Backend timestamp).
	FrameId  Odometry_MavFrame ``                                                                                       // Coordinate frame of reference for the pose data.
	/* 134-byte string literal not displayed */
	ChildFrameId Odometry_MavFrame `` // Coordinate frame of reference for the velocity in free space (twist) data.
	/* 151-byte string literal not displayed */
	PositionBody        *PositionBody        `protobuf:"bytes,4,opt,name=position_body,json=positionBody,proto3" json:"position_body,omitempty"`                        // Position.
	Q                   *Quaternion          `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"`                                                                  // Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation).
	VelocityBody        *VelocityBody        `protobuf:"bytes,6,opt,name=velocity_body,json=velocityBody,proto3" json:"velocity_body,omitempty"`                        // Linear velocity (m/s).
	AngularVelocityBody *AngularVelocityBody `protobuf:"bytes,7,opt,name=angular_velocity_body,json=angularVelocityBody,proto3" json:"angular_velocity_body,omitempty"` // Angular velocity (rad/s).
	PoseCovariance      *Covariance          `protobuf:"bytes,8,opt,name=pose_covariance,json=poseCovariance,proto3" json:"pose_covariance,omitempty"`                  // Pose cross-covariance matrix.
	VelocityCovariance  *Covariance          `protobuf:"bytes,9,opt,name=velocity_covariance,json=velocityCovariance,proto3" json:"velocity_covariance,omitempty"`      // Velocity cross-covariance matrix.
	// contains filtered or unexported fields
}

Odometry message type.

func (*Odometry) Descriptor deprecated

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

Deprecated: Use Odometry.ProtoReflect.Descriptor instead.

func (*Odometry) GetAngularVelocityBody

func (x *Odometry) GetAngularVelocityBody() *AngularVelocityBody

func (*Odometry) GetChildFrameId

func (x *Odometry) GetChildFrameId() Odometry_MavFrame

func (*Odometry) GetFrameId

func (x *Odometry) GetFrameId() Odometry_MavFrame

func (*Odometry) GetPoseCovariance

func (x *Odometry) GetPoseCovariance() *Covariance

func (*Odometry) GetPositionBody

func (x *Odometry) GetPositionBody() *PositionBody

func (*Odometry) GetQ

func (x *Odometry) GetQ() *Quaternion

func (*Odometry) GetTimeUsec

func (x *Odometry) GetTimeUsec() uint64

func (*Odometry) GetVelocityBody

func (x *Odometry) GetVelocityBody() *VelocityBody

func (*Odometry) GetVelocityCovariance

func (x *Odometry) GetVelocityCovariance() *Covariance

func (*Odometry) ProtoMessage

func (*Odometry) ProtoMessage()

func (*Odometry) ProtoReflect

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

func (*Odometry) Reset

func (x *Odometry) Reset()

func (*Odometry) String

func (x *Odometry) String() string

type Odometry_MavFrame

type Odometry_MavFrame int32

Mavlink frame id

const (
	Odometry_MAV_FRAME_UNDEF      Odometry_MavFrame = 0  // Frame is undefined.
	Odometry_MAV_FRAME_BODY_NED   Odometry_MavFrame = 8  // Setpoint in body NED frame. This makes sense if all position control is externalized - e.g. useful to command 2 m/s^2 acceleration to the right.
	Odometry_MAV_FRAME_VISION_NED Odometry_MavFrame = 16 // Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: north, y: east, z: down).
	Odometry_MAV_FRAME_ESTIM_NED  Odometry_MavFrame = 18 // Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: north, y: east, z: down).
)

func (Odometry_MavFrame) Descriptor

func (Odometry_MavFrame) Enum

func (Odometry_MavFrame) EnumDescriptor deprecated

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

Deprecated: Use Odometry_MavFrame.Descriptor instead.

func (Odometry_MavFrame) Number

func (Odometry_MavFrame) String

func (x Odometry_MavFrame) String() string

func (Odometry_MavFrame) Type

type Position

type Position struct {
	LatitudeDeg       float64 `protobuf:"fixed64,1,opt,name=latitude_deg,json=latitudeDeg,proto3" json:"latitude_deg,omitempty"`                     // Latitude in degrees (range: -90 to +90)
	LongitudeDeg      float64 `protobuf:"fixed64,2,opt,name=longitude_deg,json=longitudeDeg,proto3" json:"longitude_deg,omitempty"`                  // Longitude in degrees (range: -180 to +180)
	AbsoluteAltitudeM float32 `protobuf:"fixed32,3,opt,name=absolute_altitude_m,json=absoluteAltitudeM,proto3" json:"absolute_altitude_m,omitempty"` // Altitude AMSL (above mean sea level) in metres
	RelativeAltitudeM float32 `protobuf:"fixed32,4,opt,name=relative_altitude_m,json=relativeAltitudeM,proto3" json:"relative_altitude_m,omitempty"` // Altitude relative to takeoff altitude in metres
	// contains filtered or unexported fields
}

Position type in global coordinates.

func (*Position) Descriptor deprecated

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

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetAbsoluteAltitudeM

func (x *Position) GetAbsoluteAltitudeM() float32

func (*Position) GetLatitudeDeg

func (x *Position) GetLatitudeDeg() float64

func (*Position) GetLongitudeDeg

func (x *Position) GetLongitudeDeg() float64

func (*Position) GetRelativeAltitudeM

func (x *Position) GetRelativeAltitudeM() float32

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type PositionBody

type PositionBody struct {
	XM float32 `protobuf:"fixed32,1,opt,name=x_m,json=xM,proto3" json:"x_m,omitempty"` // X Position in metres.
	YM float32 `protobuf:"fixed32,2,opt,name=y_m,json=yM,proto3" json:"y_m,omitempty"` // Y Position in metres.
	ZM float32 `protobuf:"fixed32,3,opt,name=z_m,json=zM,proto3" json:"z_m,omitempty"` // Z Position in metres.
	// contains filtered or unexported fields
}

Position type, represented in the Body (X Y Z) frame

func (*PositionBody) Descriptor deprecated

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

Deprecated: Use PositionBody.ProtoReflect.Descriptor instead.

func (*PositionBody) GetXM

func (x *PositionBody) GetXM() float32

func (*PositionBody) GetYM

func (x *PositionBody) GetYM() float32

func (*PositionBody) GetZM

func (x *PositionBody) GetZM() float32

func (*PositionBody) ProtoMessage

func (*PositionBody) ProtoMessage()

func (*PositionBody) ProtoReflect

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

func (*PositionBody) Reset

func (x *PositionBody) Reset()

func (*PositionBody) String

func (x *PositionBody) String() string

type PositionNed

type PositionNed struct {
	NorthM float32 `protobuf:"fixed32,1,opt,name=north_m,json=northM,proto3" json:"north_m,omitempty"` // Position along north direction in metres
	EastM  float32 `protobuf:"fixed32,2,opt,name=east_m,json=eastM,proto3" json:"east_m,omitempty"`    // Position along east direction in metres
	DownM  float32 `protobuf:"fixed32,3,opt,name=down_m,json=downM,proto3" json:"down_m,omitempty"`    // Position along down direction in metres
	// contains filtered or unexported fields
}

PositionNed message type.

func (*PositionNed) Descriptor deprecated

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

Deprecated: Use PositionNed.ProtoReflect.Descriptor instead.

func (*PositionNed) GetDownM

func (x *PositionNed) GetDownM() float32

func (*PositionNed) GetEastM

func (x *PositionNed) GetEastM() float32

func (*PositionNed) GetNorthM

func (x *PositionNed) GetNorthM() float32

func (*PositionNed) ProtoMessage

func (*PositionNed) ProtoMessage()

func (*PositionNed) ProtoReflect

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

func (*PositionNed) Reset

func (x *PositionNed) Reset()

func (*PositionNed) String

func (x *PositionNed) String() string

type PositionVelocityNed

type PositionVelocityNed struct {
	Position *PositionNed `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // Position (NED)
	Velocity *VelocityNed `protobuf:"bytes,2,opt,name=velocity,proto3" json:"velocity,omitempty"` // Velocity (NED)
	// contains filtered or unexported fields
}

PositionVelocityNed message type.

func (*PositionVelocityNed) Descriptor deprecated

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

Deprecated: Use PositionVelocityNed.ProtoReflect.Descriptor instead.

func (*PositionVelocityNed) GetPosition

func (x *PositionVelocityNed) GetPosition() *PositionNed

func (*PositionVelocityNed) GetVelocity

func (x *PositionVelocityNed) GetVelocity() *VelocityNed

func (*PositionVelocityNed) ProtoMessage

func (*PositionVelocityNed) ProtoMessage()

func (*PositionVelocityNed) ProtoReflect

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

func (*PositionVelocityNed) Reset

func (x *PositionVelocityNed) Reset()

func (*PositionVelocityNed) String

func (x *PositionVelocityNed) String() string

type PublishBatteryRequest

type PublishBatteryRequest struct {
	Battery *Battery `protobuf:"bytes,1,opt,name=battery,proto3" json:"battery,omitempty"` // The next 'battery' state
	// contains filtered or unexported fields
}

func (*PublishBatteryRequest) Descriptor deprecated

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

Deprecated: Use PublishBatteryRequest.ProtoReflect.Descriptor instead.

func (*PublishBatteryRequest) GetBattery

func (x *PublishBatteryRequest) GetBattery() *Battery

func (*PublishBatteryRequest) ProtoMessage

func (*PublishBatteryRequest) ProtoMessage()

func (*PublishBatteryRequest) ProtoReflect

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

func (*PublishBatteryRequest) Reset

func (x *PublishBatteryRequest) Reset()

func (*PublishBatteryRequest) String

func (x *PublishBatteryRequest) String() string

type PublishBatteryResponse

type PublishBatteryResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishBatteryResponse) Descriptor deprecated

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

Deprecated: Use PublishBatteryResponse.ProtoReflect.Descriptor instead.

func (*PublishBatteryResponse) GetTelemetryServerResult

func (x *PublishBatteryResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishBatteryResponse) ProtoMessage

func (*PublishBatteryResponse) ProtoMessage()

func (*PublishBatteryResponse) ProtoReflect

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

func (*PublishBatteryResponse) Reset

func (x *PublishBatteryResponse) Reset()

func (*PublishBatteryResponse) String

func (x *PublishBatteryResponse) String() string

type PublishDistanceSensorRequest added in v0.0.7

type PublishDistanceSensorRequest struct {
	DistanceSensor *DistanceSensor `protobuf:"bytes,1,opt,name=distance_sensor,json=distanceSensor,proto3" json:"distance_sensor,omitempty"` // The next 'Distance Sensor' status
	// contains filtered or unexported fields
}

func (*PublishDistanceSensorRequest) Descriptor deprecated added in v0.0.7

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

Deprecated: Use PublishDistanceSensorRequest.ProtoReflect.Descriptor instead.

func (*PublishDistanceSensorRequest) GetDistanceSensor added in v0.0.7

func (x *PublishDistanceSensorRequest) GetDistanceSensor() *DistanceSensor

func (*PublishDistanceSensorRequest) ProtoMessage added in v0.0.7

func (*PublishDistanceSensorRequest) ProtoMessage()

func (*PublishDistanceSensorRequest) ProtoReflect added in v0.0.7

func (*PublishDistanceSensorRequest) Reset added in v0.0.7

func (x *PublishDistanceSensorRequest) Reset()

func (*PublishDistanceSensorRequest) String added in v0.0.7

type PublishDistanceSensorResponse added in v0.0.7

type PublishDistanceSensorResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishDistanceSensorResponse) Descriptor deprecated added in v0.0.7

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

Deprecated: Use PublishDistanceSensorResponse.ProtoReflect.Descriptor instead.

func (*PublishDistanceSensorResponse) GetTelemetryServerResult added in v0.0.7

func (x *PublishDistanceSensorResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishDistanceSensorResponse) ProtoMessage added in v0.0.7

func (*PublishDistanceSensorResponse) ProtoMessage()

func (*PublishDistanceSensorResponse) ProtoReflect added in v0.0.7

func (*PublishDistanceSensorResponse) Reset added in v0.0.7

func (x *PublishDistanceSensorResponse) Reset()

func (*PublishDistanceSensorResponse) String added in v0.0.7

type PublishExtendedSysStateRequest

type PublishExtendedSysStateRequest struct {
	VtolState   VtolState   `` /* 132-byte string literal not displayed */
	LandedState LandedState `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishExtendedSysStateRequest) Descriptor deprecated

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

Deprecated: Use PublishExtendedSysStateRequest.ProtoReflect.Descriptor instead.

func (*PublishExtendedSysStateRequest) GetLandedState

func (x *PublishExtendedSysStateRequest) GetLandedState() LandedState

func (*PublishExtendedSysStateRequest) GetVtolState

func (x *PublishExtendedSysStateRequest) GetVtolState() VtolState

func (*PublishExtendedSysStateRequest) ProtoMessage

func (*PublishExtendedSysStateRequest) ProtoMessage()

func (*PublishExtendedSysStateRequest) ProtoReflect

func (*PublishExtendedSysStateRequest) Reset

func (x *PublishExtendedSysStateRequest) Reset()

func (*PublishExtendedSysStateRequest) String

type PublishExtendedSysStateResponse

type PublishExtendedSysStateResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishExtendedSysStateResponse) Descriptor deprecated

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

Deprecated: Use PublishExtendedSysStateResponse.ProtoReflect.Descriptor instead.

func (*PublishExtendedSysStateResponse) GetTelemetryServerResult

func (x *PublishExtendedSysStateResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishExtendedSysStateResponse) ProtoMessage

func (*PublishExtendedSysStateResponse) ProtoMessage()

func (*PublishExtendedSysStateResponse) ProtoReflect

func (*PublishExtendedSysStateResponse) Reset

func (*PublishExtendedSysStateResponse) String

type PublishGroundTruthRequest

type PublishGroundTruthRequest struct {
	GroundTruth *GroundTruth `protobuf:"bytes,1,opt,name=ground_truth,json=groundTruth,proto3" json:"ground_truth,omitempty"` // Ground truth position information available in simulation
	// contains filtered or unexported fields
}

func (*PublishGroundTruthRequest) Descriptor deprecated

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

Deprecated: Use PublishGroundTruthRequest.ProtoReflect.Descriptor instead.

func (*PublishGroundTruthRequest) GetGroundTruth

func (x *PublishGroundTruthRequest) GetGroundTruth() *GroundTruth

func (*PublishGroundTruthRequest) ProtoMessage

func (*PublishGroundTruthRequest) ProtoMessage()

func (*PublishGroundTruthRequest) ProtoReflect

func (*PublishGroundTruthRequest) Reset

func (x *PublishGroundTruthRequest) Reset()

func (*PublishGroundTruthRequest) String

func (x *PublishGroundTruthRequest) String() string

type PublishGroundTruthResponse

type PublishGroundTruthResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishGroundTruthResponse) Descriptor deprecated

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

Deprecated: Use PublishGroundTruthResponse.ProtoReflect.Descriptor instead.

func (*PublishGroundTruthResponse) GetTelemetryServerResult

func (x *PublishGroundTruthResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishGroundTruthResponse) ProtoMessage

func (*PublishGroundTruthResponse) ProtoMessage()

func (*PublishGroundTruthResponse) ProtoReflect

func (*PublishGroundTruthResponse) Reset

func (x *PublishGroundTruthResponse) Reset()

func (*PublishGroundTruthResponse) String

func (x *PublishGroundTruthResponse) String() string

type PublishHomeRequest

type PublishHomeRequest struct {
	Home *Position `protobuf:"bytes,1,opt,name=home,proto3" json:"home,omitempty"` // The next home position
	// contains filtered or unexported fields
}

func (*PublishHomeRequest) Descriptor deprecated

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

Deprecated: Use PublishHomeRequest.ProtoReflect.Descriptor instead.

func (*PublishHomeRequest) GetHome

func (x *PublishHomeRequest) GetHome() *Position

func (*PublishHomeRequest) ProtoMessage

func (*PublishHomeRequest) ProtoMessage()

func (*PublishHomeRequest) ProtoReflect

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

func (*PublishHomeRequest) Reset

func (x *PublishHomeRequest) Reset()

func (*PublishHomeRequest) String

func (x *PublishHomeRequest) String() string

type PublishHomeResponse

type PublishHomeResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishHomeResponse) Descriptor deprecated

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

Deprecated: Use PublishHomeResponse.ProtoReflect.Descriptor instead.

func (*PublishHomeResponse) GetTelemetryServerResult

func (x *PublishHomeResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishHomeResponse) ProtoMessage

func (*PublishHomeResponse) ProtoMessage()

func (*PublishHomeResponse) ProtoReflect

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

func (*PublishHomeResponse) Reset

func (x *PublishHomeResponse) Reset()

func (*PublishHomeResponse) String

func (x *PublishHomeResponse) String() string

type PublishImuRequest

type PublishImuRequest struct {
	Imu *Imu `protobuf:"bytes,1,opt,name=imu,proto3" json:"imu,omitempty"` // The next IMU status
	// contains filtered or unexported fields
}

func (*PublishImuRequest) Descriptor deprecated

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

Deprecated: Use PublishImuRequest.ProtoReflect.Descriptor instead.

func (*PublishImuRequest) GetImu

func (x *PublishImuRequest) GetImu() *Imu

func (*PublishImuRequest) ProtoMessage

func (*PublishImuRequest) ProtoMessage()

func (*PublishImuRequest) ProtoReflect

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

func (*PublishImuRequest) Reset

func (x *PublishImuRequest) Reset()

func (*PublishImuRequest) String

func (x *PublishImuRequest) String() string

type PublishImuResponse

type PublishImuResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishImuResponse) Descriptor deprecated

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

Deprecated: Use PublishImuResponse.ProtoReflect.Descriptor instead.

func (*PublishImuResponse) GetTelemetryServerResult

func (x *PublishImuResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishImuResponse) ProtoMessage

func (*PublishImuResponse) ProtoMessage()

func (*PublishImuResponse) ProtoReflect

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

func (*PublishImuResponse) Reset

func (x *PublishImuResponse) Reset()

func (*PublishImuResponse) String

func (x *PublishImuResponse) String() string

type PublishInAirRequest

type PublishInAirRequest struct {
	IsInAir bool `protobuf:"varint,1,opt,name=is_in_air,json=isInAir,proto3" json:"is_in_air,omitempty"` // The next 'in-air' state
	// contains filtered or unexported fields
}

func (*PublishInAirRequest) Descriptor deprecated

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

Deprecated: Use PublishInAirRequest.ProtoReflect.Descriptor instead.

func (*PublishInAirRequest) GetIsInAir

func (x *PublishInAirRequest) GetIsInAir() bool

func (*PublishInAirRequest) ProtoMessage

func (*PublishInAirRequest) ProtoMessage()

func (*PublishInAirRequest) ProtoReflect

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

func (*PublishInAirRequest) Reset

func (x *PublishInAirRequest) Reset()

func (*PublishInAirRequest) String

func (x *PublishInAirRequest) String() string

type PublishLandedStateRequest

type PublishLandedStateRequest struct {
	LandedState LandedState `` // The next 'landed' state
	/* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishLandedStateRequest) Descriptor deprecated

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

Deprecated: Use PublishLandedStateRequest.ProtoReflect.Descriptor instead.

func (*PublishLandedStateRequest) GetLandedState

func (x *PublishLandedStateRequest) GetLandedState() LandedState

func (*PublishLandedStateRequest) ProtoMessage

func (*PublishLandedStateRequest) ProtoMessage()

func (*PublishLandedStateRequest) ProtoReflect

func (*PublishLandedStateRequest) Reset

func (x *PublishLandedStateRequest) Reset()

func (*PublishLandedStateRequest) String

func (x *PublishLandedStateRequest) String() string

type PublishOdometryRequest

type PublishOdometryRequest struct {
	Odometry *Odometry `protobuf:"bytes,1,opt,name=odometry,proto3" json:"odometry,omitempty"` // The next odometry status
	// contains filtered or unexported fields
}

func (*PublishOdometryRequest) Descriptor deprecated

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

Deprecated: Use PublishOdometryRequest.ProtoReflect.Descriptor instead.

func (*PublishOdometryRequest) GetOdometry

func (x *PublishOdometryRequest) GetOdometry() *Odometry

func (*PublishOdometryRequest) ProtoMessage

func (*PublishOdometryRequest) ProtoMessage()

func (*PublishOdometryRequest) ProtoReflect

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

func (*PublishOdometryRequest) Reset

func (x *PublishOdometryRequest) Reset()

func (*PublishOdometryRequest) String

func (x *PublishOdometryRequest) String() string

type PublishOdometryResponse

type PublishOdometryResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishOdometryResponse) Descriptor deprecated

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

Deprecated: Use PublishOdometryResponse.ProtoReflect.Descriptor instead.

func (*PublishOdometryResponse) GetTelemetryServerResult

func (x *PublishOdometryResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishOdometryResponse) ProtoMessage

func (*PublishOdometryResponse) ProtoMessage()

func (*PublishOdometryResponse) ProtoReflect

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

func (*PublishOdometryResponse) Reset

func (x *PublishOdometryResponse) Reset()

func (*PublishOdometryResponse) String

func (x *PublishOdometryResponse) String() string

type PublishPositionRequest

type PublishPositionRequest struct {
	Position    *Position    `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`                          // The next position
	VelocityNed *VelocityNed `protobuf:"bytes,2,opt,name=velocity_ned,json=velocityNed,proto3" json:"velocity_ned,omitempty"` // The next velocity (NED)
	Heading     *Heading     `protobuf:"bytes,3,opt,name=heading,proto3" json:"heading,omitempty"`                            // Heading (yaw) in degrees
	// contains filtered or unexported fields
}

func (*PublishPositionRequest) Descriptor deprecated

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

Deprecated: Use PublishPositionRequest.ProtoReflect.Descriptor instead.

func (*PublishPositionRequest) GetHeading

func (x *PublishPositionRequest) GetHeading() *Heading

func (*PublishPositionRequest) GetPosition

func (x *PublishPositionRequest) GetPosition() *Position

func (*PublishPositionRequest) GetVelocityNed

func (x *PublishPositionRequest) GetVelocityNed() *VelocityNed

func (*PublishPositionRequest) ProtoMessage

func (*PublishPositionRequest) ProtoMessage()

func (*PublishPositionRequest) ProtoReflect

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

func (*PublishPositionRequest) Reset

func (x *PublishPositionRequest) Reset()

func (*PublishPositionRequest) String

func (x *PublishPositionRequest) String() string

type PublishPositionResponse

type PublishPositionResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishPositionResponse) Descriptor deprecated

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

Deprecated: Use PublishPositionResponse.ProtoReflect.Descriptor instead.

func (*PublishPositionResponse) GetTelemetryServerResult

func (x *PublishPositionResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishPositionResponse) ProtoMessage

func (*PublishPositionResponse) ProtoMessage()

func (*PublishPositionResponse) ProtoReflect

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

func (*PublishPositionResponse) Reset

func (x *PublishPositionResponse) Reset()

func (*PublishPositionResponse) String

func (x *PublishPositionResponse) String() string

type PublishPositionVelocityNedRequest

type PublishPositionVelocityNedRequest struct {
	PositionVelocityNed *PositionVelocityNed `protobuf:"bytes,1,opt,name=position_velocity_ned,json=positionVelocityNed,proto3" json:"position_velocity_ned,omitempty"` // The next position and velocity status
	// contains filtered or unexported fields
}

func (*PublishPositionVelocityNedRequest) Descriptor deprecated

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

Deprecated: Use PublishPositionVelocityNedRequest.ProtoReflect.Descriptor instead.

func (*PublishPositionVelocityNedRequest) GetPositionVelocityNed

func (x *PublishPositionVelocityNedRequest) GetPositionVelocityNed() *PositionVelocityNed

func (*PublishPositionVelocityNedRequest) ProtoMessage

func (*PublishPositionVelocityNedRequest) ProtoMessage()

func (*PublishPositionVelocityNedRequest) ProtoReflect

func (*PublishPositionVelocityNedRequest) Reset

func (*PublishPositionVelocityNedRequest) String

type PublishPositionVelocityNedResponse

type PublishPositionVelocityNedResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishPositionVelocityNedResponse) Descriptor deprecated

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

Deprecated: Use PublishPositionVelocityNedResponse.ProtoReflect.Descriptor instead.

func (*PublishPositionVelocityNedResponse) GetTelemetryServerResult

func (x *PublishPositionVelocityNedResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishPositionVelocityNedResponse) ProtoMessage

func (*PublishPositionVelocityNedResponse) ProtoMessage()

func (*PublishPositionVelocityNedResponse) ProtoReflect

func (*PublishPositionVelocityNedResponse) Reset

func (*PublishPositionVelocityNedResponse) String

type PublishRawGpsRequest

type PublishRawGpsRequest struct {
	RawGps  *RawGps  `protobuf:"bytes,1,opt,name=raw_gps,json=rawGps,proto3" json:"raw_gps,omitempty"`    // The next 'Raw GPS' state. Warning: this is an advanced feature, use `Position` updates to get the location of the drone!
	GpsInfo *GpsInfo `protobuf:"bytes,2,opt,name=gps_info,json=gpsInfo,proto3" json:"gps_info,omitempty"` // The next 'GPS info' state
	// contains filtered or unexported fields
}

func (*PublishRawGpsRequest) Descriptor deprecated

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

Deprecated: Use PublishRawGpsRequest.ProtoReflect.Descriptor instead.

func (*PublishRawGpsRequest) GetGpsInfo

func (x *PublishRawGpsRequest) GetGpsInfo() *GpsInfo

func (*PublishRawGpsRequest) GetRawGps

func (x *PublishRawGpsRequest) GetRawGps() *RawGps

func (*PublishRawGpsRequest) ProtoMessage

func (*PublishRawGpsRequest) ProtoMessage()

func (*PublishRawGpsRequest) ProtoReflect

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

func (*PublishRawGpsRequest) Reset

func (x *PublishRawGpsRequest) Reset()

func (*PublishRawGpsRequest) String

func (x *PublishRawGpsRequest) String() string

type PublishRawGpsResponse

type PublishRawGpsResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishRawGpsResponse) Descriptor deprecated

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

Deprecated: Use PublishRawGpsResponse.ProtoReflect.Descriptor instead.

func (*PublishRawGpsResponse) GetTelemetryServerResult

func (x *PublishRawGpsResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishRawGpsResponse) ProtoMessage

func (*PublishRawGpsResponse) ProtoMessage()

func (*PublishRawGpsResponse) ProtoReflect

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

func (*PublishRawGpsResponse) Reset

func (x *PublishRawGpsResponse) Reset()

func (*PublishRawGpsResponse) String

func (x *PublishRawGpsResponse) String() string

type PublishRawImuRequest

type PublishRawImuRequest struct {
	Imu *Imu `protobuf:"bytes,1,opt,name=imu,proto3" json:"imu,omitempty"` // The next raw IMU status
	// contains filtered or unexported fields
}

func (*PublishRawImuRequest) Descriptor deprecated

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

Deprecated: Use PublishRawImuRequest.ProtoReflect.Descriptor instead.

func (*PublishRawImuRequest) GetImu

func (x *PublishRawImuRequest) GetImu() *Imu

func (*PublishRawImuRequest) ProtoMessage

func (*PublishRawImuRequest) ProtoMessage()

func (*PublishRawImuRequest) ProtoReflect

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

func (*PublishRawImuRequest) Reset

func (x *PublishRawImuRequest) Reset()

func (*PublishRawImuRequest) String

func (x *PublishRawImuRequest) String() string

type PublishRawImuResponse

type PublishRawImuResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishRawImuResponse) Descriptor deprecated

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

Deprecated: Use PublishRawImuResponse.ProtoReflect.Descriptor instead.

func (*PublishRawImuResponse) GetTelemetryServerResult

func (x *PublishRawImuResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishRawImuResponse) ProtoMessage

func (*PublishRawImuResponse) ProtoMessage()

func (*PublishRawImuResponse) ProtoReflect

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

func (*PublishRawImuResponse) Reset

func (x *PublishRawImuResponse) Reset()

func (*PublishRawImuResponse) String

func (x *PublishRawImuResponse) String() string

type PublishRcStatusRequest

type PublishRcStatusRequest struct {
	RcStatus *RcStatus `protobuf:"bytes,1,opt,name=rc_status,json=rcStatus,proto3" json:"rc_status,omitempty"` // The next RC status
	// contains filtered or unexported fields
}

func (*PublishRcStatusRequest) Descriptor deprecated

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

Deprecated: Use PublishRcStatusRequest.ProtoReflect.Descriptor instead.

func (*PublishRcStatusRequest) GetRcStatus

func (x *PublishRcStatusRequest) GetRcStatus() *RcStatus

func (*PublishRcStatusRequest) ProtoMessage

func (*PublishRcStatusRequest) ProtoMessage()

func (*PublishRcStatusRequest) ProtoReflect

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

func (*PublishRcStatusRequest) Reset

func (x *PublishRcStatusRequest) Reset()

func (*PublishRcStatusRequest) String

func (x *PublishRcStatusRequest) String() string

type PublishScaledImuRequest

type PublishScaledImuRequest struct {
	Imu *Imu `protobuf:"bytes,1,opt,name=imu,proto3" json:"imu,omitempty"` // The next scaled IMU status
	// contains filtered or unexported fields
}

func (*PublishScaledImuRequest) Descriptor deprecated

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

Deprecated: Use PublishScaledImuRequest.ProtoReflect.Descriptor instead.

func (*PublishScaledImuRequest) GetImu

func (x *PublishScaledImuRequest) GetImu() *Imu

func (*PublishScaledImuRequest) ProtoMessage

func (*PublishScaledImuRequest) ProtoMessage()

func (*PublishScaledImuRequest) ProtoReflect

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

func (*PublishScaledImuRequest) Reset

func (x *PublishScaledImuRequest) Reset()

func (*PublishScaledImuRequest) String

func (x *PublishScaledImuRequest) String() string

type PublishScaledImuResponse

type PublishScaledImuResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishScaledImuResponse) Descriptor deprecated

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

Deprecated: Use PublishScaledImuResponse.ProtoReflect.Descriptor instead.

func (*PublishScaledImuResponse) GetTelemetryServerResult

func (x *PublishScaledImuResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishScaledImuResponse) ProtoMessage

func (*PublishScaledImuResponse) ProtoMessage()

func (*PublishScaledImuResponse) ProtoReflect

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

func (*PublishScaledImuResponse) Reset

func (x *PublishScaledImuResponse) Reset()

func (*PublishScaledImuResponse) String

func (x *PublishScaledImuResponse) String() string

type PublishStatusTextRequest

type PublishStatusTextRequest struct {
	StatusText *StatusText `protobuf:"bytes,1,opt,name=status_text,json=statusText,proto3" json:"status_text,omitempty"` // The next 'status text'
	// contains filtered or unexported fields
}

func (*PublishStatusTextRequest) Descriptor deprecated

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

Deprecated: Use PublishStatusTextRequest.ProtoReflect.Descriptor instead.

func (*PublishStatusTextRequest) GetStatusText

func (x *PublishStatusTextRequest) GetStatusText() *StatusText

func (*PublishStatusTextRequest) ProtoMessage

func (*PublishStatusTextRequest) ProtoMessage()

func (*PublishStatusTextRequest) ProtoReflect

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

func (*PublishStatusTextRequest) Reset

func (x *PublishStatusTextRequest) Reset()

func (*PublishStatusTextRequest) String

func (x *PublishStatusTextRequest) String() string

type PublishStatusTextResponse

type PublishStatusTextResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishStatusTextResponse) Descriptor deprecated

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

Deprecated: Use PublishStatusTextResponse.ProtoReflect.Descriptor instead.

func (*PublishStatusTextResponse) GetTelemetryServerResult

func (x *PublishStatusTextResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishStatusTextResponse) ProtoMessage

func (*PublishStatusTextResponse) ProtoMessage()

func (*PublishStatusTextResponse) ProtoReflect

func (*PublishStatusTextResponse) Reset

func (x *PublishStatusTextResponse) Reset()

func (*PublishStatusTextResponse) String

func (x *PublishStatusTextResponse) String() string

type PublishSysStatusRequest

type PublishSysStatusRequest struct {
	Battery          *Battery `protobuf:"bytes,1,opt,name=battery,proto3" json:"battery,omitempty"`                                              // The next 'battery' state
	RcReceiverStatus bool     `protobuf:"varint,2,opt,name=rc_receiver_status,json=rcReceiverStatus,proto3" json:"rc_receiver_status,omitempty"` // rc receiver status
	GyroStatus       bool     `protobuf:"varint,3,opt,name=gyro_status,json=gyroStatus,proto3" json:"gyro_status,omitempty"`
	AccelStatus      bool     `protobuf:"varint,4,opt,name=accel_status,json=accelStatus,proto3" json:"accel_status,omitempty"`
	MagStatus        bool     `protobuf:"varint,5,opt,name=mag_status,json=magStatus,proto3" json:"mag_status,omitempty"`
	GpsStatus        bool     `protobuf:"varint,6,opt,name=gps_status,json=gpsStatus,proto3" json:"gps_status,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishSysStatusRequest) Descriptor deprecated

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

Deprecated: Use PublishSysStatusRequest.ProtoReflect.Descriptor instead.

func (*PublishSysStatusRequest) GetAccelStatus

func (x *PublishSysStatusRequest) GetAccelStatus() bool

func (*PublishSysStatusRequest) GetBattery

func (x *PublishSysStatusRequest) GetBattery() *Battery

func (*PublishSysStatusRequest) GetGpsStatus

func (x *PublishSysStatusRequest) GetGpsStatus() bool

func (*PublishSysStatusRequest) GetGyroStatus

func (x *PublishSysStatusRequest) GetGyroStatus() bool

func (*PublishSysStatusRequest) GetMagStatus

func (x *PublishSysStatusRequest) GetMagStatus() bool

func (*PublishSysStatusRequest) GetRcReceiverStatus

func (x *PublishSysStatusRequest) GetRcReceiverStatus() bool

func (*PublishSysStatusRequest) ProtoMessage

func (*PublishSysStatusRequest) ProtoMessage()

func (*PublishSysStatusRequest) ProtoReflect

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

func (*PublishSysStatusRequest) Reset

func (x *PublishSysStatusRequest) Reset()

func (*PublishSysStatusRequest) String

func (x *PublishSysStatusRequest) String() string

type PublishSysStatusResponse

type PublishSysStatusResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishSysStatusResponse) Descriptor deprecated

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

Deprecated: Use PublishSysStatusResponse.ProtoReflect.Descriptor instead.

func (*PublishSysStatusResponse) GetTelemetryServerResult

func (x *PublishSysStatusResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishSysStatusResponse) ProtoMessage

func (*PublishSysStatusResponse) ProtoMessage()

func (*PublishSysStatusResponse) ProtoReflect

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

func (*PublishSysStatusResponse) Reset

func (x *PublishSysStatusResponse) Reset()

func (*PublishSysStatusResponse) String

func (x *PublishSysStatusResponse) String() string

type PublishUnixEpochTimeRequest

type PublishUnixEpochTimeRequest struct {
	TimeUs uint64 `protobuf:"varint,1,opt,name=time_us,json=timeUs,proto3" json:"time_us,omitempty"` // The next 'unix epoch time' status
	// contains filtered or unexported fields
}

func (*PublishUnixEpochTimeRequest) Descriptor deprecated

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

Deprecated: Use PublishUnixEpochTimeRequest.ProtoReflect.Descriptor instead.

func (*PublishUnixEpochTimeRequest) GetTimeUs

func (x *PublishUnixEpochTimeRequest) GetTimeUs() uint64

func (*PublishUnixEpochTimeRequest) ProtoMessage

func (*PublishUnixEpochTimeRequest) ProtoMessage()

func (*PublishUnixEpochTimeRequest) ProtoReflect

func (*PublishUnixEpochTimeRequest) Reset

func (x *PublishUnixEpochTimeRequest) Reset()

func (*PublishUnixEpochTimeRequest) String

func (x *PublishUnixEpochTimeRequest) String() string

type PublishUnixEpochTimeResponse

type PublishUnixEpochTimeResponse struct {
	TelemetryServerResult *TelemetryServerResult `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishUnixEpochTimeResponse) Descriptor deprecated

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

Deprecated: Use PublishUnixEpochTimeResponse.ProtoReflect.Descriptor instead.

func (*PublishUnixEpochTimeResponse) GetTelemetryServerResult

func (x *PublishUnixEpochTimeResponse) GetTelemetryServerResult() *TelemetryServerResult

func (*PublishUnixEpochTimeResponse) ProtoMessage

func (*PublishUnixEpochTimeResponse) ProtoMessage()

func (*PublishUnixEpochTimeResponse) ProtoReflect

func (*PublishUnixEpochTimeResponse) Reset

func (x *PublishUnixEpochTimeResponse) Reset()

func (*PublishUnixEpochTimeResponse) String

type Quaternion

type Quaternion struct {
	W           float32 `protobuf:"fixed32,1,opt,name=w,proto3" json:"w,omitempty"`                                       // Quaternion entry 0, also denoted as a
	X           float32 `protobuf:"fixed32,2,opt,name=x,proto3" json:"x,omitempty"`                                       // Quaternion entry 1, also denoted as b
	Y           float32 `protobuf:"fixed32,3,opt,name=y,proto3" json:"y,omitempty"`                                       // Quaternion entry 2, also denoted as c
	Z           float32 `protobuf:"fixed32,4,opt,name=z,proto3" json:"z,omitempty"`                                       // Quaternion entry 3, also denoted as d
	TimestampUs uint64  `protobuf:"varint,5,opt,name=timestamp_us,json=timestampUs,proto3" json:"timestamp_us,omitempty"` // Timestamp in microseconds
	// contains filtered or unexported fields
}

Quaternion type.

All rotations and axis systems follow the right-hand rule. The Hamilton quaternion product definition is used. A zero-rotation quaternion is represented by (1,0,0,0). The quaternion could also be written as w + xi + yj + zk.

For more info see: https://en.wikipedia.org/wiki/Quaternion

func (*Quaternion) Descriptor deprecated

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

Deprecated: Use Quaternion.ProtoReflect.Descriptor instead.

func (*Quaternion) GetTimestampUs

func (x *Quaternion) GetTimestampUs() uint64

func (*Quaternion) GetW

func (x *Quaternion) GetW() float32

func (*Quaternion) GetX

func (x *Quaternion) GetX() float32

func (*Quaternion) GetY

func (x *Quaternion) GetY() float32

func (*Quaternion) GetZ

func (x *Quaternion) GetZ() float32

func (*Quaternion) ProtoMessage

func (*Quaternion) ProtoMessage()

func (*Quaternion) ProtoReflect

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

func (*Quaternion) Reset

func (x *Quaternion) Reset()

func (*Quaternion) String

func (x *Quaternion) String() string

type RawGps

type RawGps struct {
	TimestampUs            uint64  `protobuf:"varint,1,opt,name=timestamp_us,json=timestampUs,proto3" json:"timestamp_us,omitempty"`                         // Timestamp in microseconds (UNIX Epoch time or time since system boot, to be inferred)
	LatitudeDeg            float64 `protobuf:"fixed64,2,opt,name=latitude_deg,json=latitudeDeg,proto3" json:"latitude_deg,omitempty"`                        // Latitude in degrees (WGS84, EGM96 ellipsoid)
	LongitudeDeg           float64 `protobuf:"fixed64,3,opt,name=longitude_deg,json=longitudeDeg,proto3" json:"longitude_deg,omitempty"`                     // Longitude in degrees (WGS84, EGM96 ellipsoid)
	AbsoluteAltitudeM      float32 `protobuf:"fixed32,4,opt,name=absolute_altitude_m,json=absoluteAltitudeM,proto3" json:"absolute_altitude_m,omitempty"`    // Altitude AMSL (above mean sea level) in metres
	Hdop                   float32 `protobuf:"fixed32,5,opt,name=hdop,proto3" json:"hdop,omitempty"`                                                         // GPS HDOP horizontal dilution of position (unitless). If unknown, set to NaN
	Vdop                   float32 `protobuf:"fixed32,6,opt,name=vdop,proto3" json:"vdop,omitempty"`                                                         // GPS VDOP vertical dilution of position (unitless). If unknown, set to NaN
	VelocityMS             float32 `protobuf:"fixed32,7,opt,name=velocity_m_s,json=velocityMS,proto3" json:"velocity_m_s,omitempty"`                         // Ground velocity in metres per second
	CogDeg                 float32 `protobuf:"fixed32,8,opt,name=cog_deg,json=cogDeg,proto3" json:"cog_deg,omitempty"`                                       // Course over ground (NOT heading, but direction of movement) in degrees. If unknown, set to NaN
	AltitudeEllipsoidM     float32 `protobuf:"fixed32,9,opt,name=altitude_ellipsoid_m,json=altitudeEllipsoidM,proto3" json:"altitude_ellipsoid_m,omitempty"` // Altitude in metres (above WGS84, EGM96 ellipsoid)
	HorizontalUncertaintyM float32 ``                                                                                                                        // Position uncertainty in metres
	/* 132-byte string literal not displayed */
	VerticalUncertaintyM float32 `` // Altitude uncertainty in metres
	/* 126-byte string literal not displayed */
	VelocityUncertaintyMS float32 `` // Velocity uncertainty in metres per second
	/* 131-byte string literal not displayed */
	HeadingUncertaintyDeg float32 `` // Heading uncertainty in degrees
	/* 129-byte string literal not displayed */
	YawDeg float32 `protobuf:"fixed32,14,opt,name=yaw_deg,json=yawDeg,proto3" json:"yaw_deg,omitempty"` // Yaw in earth frame from north.
	// contains filtered or unexported fields
}

Raw GPS information type.

Warning: this is an advanced type! If you want the location of the drone, use the position instead. This message exposes the raw values of the GNSS sensor.

func (*RawGps) Descriptor deprecated

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

Deprecated: Use RawGps.ProtoReflect.Descriptor instead.

func (*RawGps) GetAbsoluteAltitudeM

func (x *RawGps) GetAbsoluteAltitudeM() float32

func (*RawGps) GetAltitudeEllipsoidM

func (x *RawGps) GetAltitudeEllipsoidM() float32

func (*RawGps) GetCogDeg

func (x *RawGps) GetCogDeg() float32

func (*RawGps) GetHdop

func (x *RawGps) GetHdop() float32

func (*RawGps) GetHeadingUncertaintyDeg

func (x *RawGps) GetHeadingUncertaintyDeg() float32

func (*RawGps) GetHorizontalUncertaintyM

func (x *RawGps) GetHorizontalUncertaintyM() float32

func (*RawGps) GetLatitudeDeg

func (x *RawGps) GetLatitudeDeg() float64

func (*RawGps) GetLongitudeDeg

func (x *RawGps) GetLongitudeDeg() float64

func (*RawGps) GetTimestampUs

func (x *RawGps) GetTimestampUs() uint64

func (*RawGps) GetVdop

func (x *RawGps) GetVdop() float32

func (*RawGps) GetVelocityMS

func (x *RawGps) GetVelocityMS() float32

func (*RawGps) GetVelocityUncertaintyMS

func (x *RawGps) GetVelocityUncertaintyMS() float32

func (*RawGps) GetVerticalUncertaintyM

func (x *RawGps) GetVerticalUncertaintyM() float32

func (*RawGps) GetYawDeg

func (x *RawGps) GetYawDeg() float32

func (*RawGps) ProtoMessage

func (*RawGps) ProtoMessage()

func (*RawGps) ProtoReflect

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

func (*RawGps) Reset

func (x *RawGps) Reset()

func (*RawGps) String

func (x *RawGps) String() string

type RcStatus

type RcStatus struct {
	WasAvailableOnce      bool    `protobuf:"varint,1,opt,name=was_available_once,json=wasAvailableOnce,proto3" json:"was_available_once,omitempty"` // True if an RC signal has been available once
	IsAvailable           bool    `protobuf:"varint,2,opt,name=is_available,json=isAvailable,proto3" json:"is_available,omitempty"`                  // True if the RC signal is available now
	SignalStrengthPercent float32 ``                                                                                                                 // Signal strength (range: 0 to 100, NaN if unknown)
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

Remote control status type.

func (*RcStatus) Descriptor deprecated

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

Deprecated: Use RcStatus.ProtoReflect.Descriptor instead.

func (*RcStatus) GetIsAvailable

func (x *RcStatus) GetIsAvailable() bool

func (*RcStatus) GetSignalStrengthPercent

func (x *RcStatus) GetSignalStrengthPercent() float32

func (*RcStatus) GetWasAvailableOnce

func (x *RcStatus) GetWasAvailableOnce() bool

func (*RcStatus) ProtoMessage

func (*RcStatus) ProtoMessage()

func (*RcStatus) ProtoReflect

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

func (*RcStatus) Reset

func (x *RcStatus) Reset()

func (*RcStatus) String

func (x *RcStatus) String() string

type ScaledPressure

type ScaledPressure struct {
	TimestampUs             uint64  `protobuf:"varint,1,opt,name=timestamp_us,json=timestampUs,proto3" json:"timestamp_us,omitempty"`                            // Timestamp (time since system boot)
	AbsolutePressureHpa     float32 `protobuf:"fixed32,2,opt,name=absolute_pressure_hpa,json=absolutePressureHpa,proto3" json:"absolute_pressure_hpa,omitempty"` // Absolute pressure in hPa
	DifferentialPressureHpa float32 ``                                                                                                                           // Differential pressure 1 in hPa
	/* 134-byte string literal not displayed */
	TemperatureDeg                     float32 `protobuf:"fixed32,4,opt,name=temperature_deg,json=temperatureDeg,proto3" json:"temperature_deg,omitempty"` // Absolute pressure temperature (in celsius)
	DifferentialPressureTemperatureDeg float32 ``                                                                                                          // Differential pressure temperature (in celsius, 0 if not available)
	/* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Scaled Pressure message type.

func (*ScaledPressure) Descriptor deprecated

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

Deprecated: Use ScaledPressure.ProtoReflect.Descriptor instead.

func (*ScaledPressure) GetAbsolutePressureHpa

func (x *ScaledPressure) GetAbsolutePressureHpa() float32

func (*ScaledPressure) GetDifferentialPressureHpa

func (x *ScaledPressure) GetDifferentialPressureHpa() float32

func (*ScaledPressure) GetDifferentialPressureTemperatureDeg

func (x *ScaledPressure) GetDifferentialPressureTemperatureDeg() float32

func (*ScaledPressure) GetTemperatureDeg

func (x *ScaledPressure) GetTemperatureDeg() float32

func (*ScaledPressure) GetTimestampUs

func (x *ScaledPressure) GetTimestampUs() uint64

func (*ScaledPressure) ProtoMessage

func (*ScaledPressure) ProtoMessage()

func (*ScaledPressure) ProtoReflect

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

func (*ScaledPressure) Reset

func (x *ScaledPressure) Reset()

func (*ScaledPressure) String

func (x *ScaledPressure) String() string

type ServiceImpl

type ServiceImpl struct {
	Client TelemetryServerServiceClient
}

func (*ServiceImpl) PublishBattery

func (s *ServiceImpl) PublishBattery(ctx context.Context, battery *Battery) (*PublishBatteryResponse, error)

func (*ServiceImpl) PublishDistanceSensor added in v0.0.7

func (s *ServiceImpl) PublishDistanceSensor(ctx context.Context, distanceSensor *DistanceSensor) (*PublishDistanceSensorResponse, error)

func (*ServiceImpl) PublishExtendedSysState

func (s *ServiceImpl) PublishExtendedSysState(ctx context.Context, vtolState *VtolState, landedState *LandedState) (*PublishExtendedSysStateResponse, error)

func (*ServiceImpl) PublishGroundTruth

func (s *ServiceImpl) PublishGroundTruth(ctx context.Context, groundTruth *GroundTruth) (*PublishGroundTruthResponse, error)

func (*ServiceImpl) PublishHome

func (s *ServiceImpl) PublishHome(ctx context.Context, home *Position) (*PublishHomeResponse, error)

func (*ServiceImpl) PublishImu

func (s *ServiceImpl) PublishImu(ctx context.Context, imu *Imu) (*PublishImuResponse, error)

func (*ServiceImpl) PublishOdometry

func (s *ServiceImpl) PublishOdometry(ctx context.Context, odometry *Odometry) (*PublishOdometryResponse, error)

func (*ServiceImpl) PublishPosition

func (s *ServiceImpl) PublishPosition(ctx context.Context, position *Position, velocityNed *VelocityNed, heading *Heading) (*PublishPositionResponse, error)

func (*ServiceImpl) PublishPositionVelocityNed

func (s *ServiceImpl) PublishPositionVelocityNed(ctx context.Context, positionVelocityNed *PositionVelocityNed) (*PublishPositionVelocityNedResponse, error)

func (*ServiceImpl) PublishRawGps

func (s *ServiceImpl) PublishRawGps(ctx context.Context, rawGps *RawGps, gpsInfo *GpsInfo) (*PublishRawGpsResponse, error)

func (*ServiceImpl) PublishRawImu

func (s *ServiceImpl) PublishRawImu(ctx context.Context, imu *Imu) (*PublishRawImuResponse, error)

func (*ServiceImpl) PublishScaledImu

func (s *ServiceImpl) PublishScaledImu(ctx context.Context, imu *Imu) (*PublishScaledImuResponse, error)

func (*ServiceImpl) PublishStatusText

func (s *ServiceImpl) PublishStatusText(ctx context.Context, statusText *StatusText) (*PublishStatusTextResponse, error)

func (*ServiceImpl) PublishSysStatus

func (s *ServiceImpl) PublishSysStatus(ctx context.Context, battery *Battery, rcReceiverStatus bool, gyroStatus bool, accelStatus bool, magStatus bool, gpsStatus bool) (*PublishSysStatusResponse, error)

func (*ServiceImpl) PublishUnixEpochTime

func (s *ServiceImpl) PublishUnixEpochTime(ctx context.Context, timeUs uint64) (*PublishUnixEpochTimeResponse, error)

type StatusText

type StatusText struct {
	Type StatusTextType `protobuf:"varint,1,opt,name=type,proto3,enum=mavsdk.rpc.telemetry_server.StatusTextType" json:"type,omitempty"` // Message type
	Text string         `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`                                                  // MAVLink status message
	// contains filtered or unexported fields
}

StatusText information type.

func (*StatusText) Descriptor deprecated

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

Deprecated: Use StatusText.ProtoReflect.Descriptor instead.

func (*StatusText) GetText

func (x *StatusText) GetText() string

func (*StatusText) GetType

func (x *StatusText) GetType() StatusTextType

func (*StatusText) ProtoMessage

func (*StatusText) ProtoMessage()

func (*StatusText) ProtoReflect

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

func (*StatusText) Reset

func (x *StatusText) Reset()

func (*StatusText) String

func (x *StatusText) String() string

type StatusTextType

type StatusTextType int32

Status types.

const (
	StatusTextType_STATUS_TEXT_TYPE_DEBUG     StatusTextType = 0 // Debug
	StatusTextType_STATUS_TEXT_TYPE_INFO      StatusTextType = 1 // Information
	StatusTextType_STATUS_TEXT_TYPE_NOTICE    StatusTextType = 2 // Notice
	StatusTextType_STATUS_TEXT_TYPE_WARNING   StatusTextType = 3 // Warning
	StatusTextType_STATUS_TEXT_TYPE_ERROR     StatusTextType = 4 // Error
	StatusTextType_STATUS_TEXT_TYPE_CRITICAL  StatusTextType = 5 // Critical
	StatusTextType_STATUS_TEXT_TYPE_ALERT     StatusTextType = 6 // Alert
	StatusTextType_STATUS_TEXT_TYPE_EMERGENCY StatusTextType = 7 // Emergency
)

func (StatusTextType) Descriptor

func (StatusTextType) Enum

func (x StatusTextType) Enum() *StatusTextType

func (StatusTextType) EnumDescriptor deprecated

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

Deprecated: Use StatusTextType.Descriptor instead.

func (StatusTextType) Number

func (StatusTextType) String

func (x StatusTextType) String() string

func (StatusTextType) Type

type TelemetryServerResult

type TelemetryServerResult struct {
	Result TelemetryServerResult_Result `` // Result enum value
	/* 128-byte string literal not displayed */
	ResultStr string `protobuf:"bytes,2,opt,name=result_str,json=resultStr,proto3" json:"result_str,omitempty"` // Human-readable English string describing the result
	// contains filtered or unexported fields
}

Result type.

func (*TelemetryServerResult) Descriptor deprecated

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

Deprecated: Use TelemetryServerResult.ProtoReflect.Descriptor instead.

func (*TelemetryServerResult) GetResult

func (*TelemetryServerResult) GetResultStr

func (x *TelemetryServerResult) GetResultStr() string

func (*TelemetryServerResult) ProtoMessage

func (*TelemetryServerResult) ProtoMessage()

func (*TelemetryServerResult) ProtoReflect

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

func (*TelemetryServerResult) Reset

func (x *TelemetryServerResult) Reset()

func (*TelemetryServerResult) String

func (x *TelemetryServerResult) String() string

type TelemetryServerResult_Result

type TelemetryServerResult_Result int32

Possible results returned for telemetry requests.

const (
	TelemetryServerResult_RESULT_UNKNOWN          TelemetryServerResult_Result = 0 // Unknown result
	TelemetryServerResult_RESULT_SUCCESS          TelemetryServerResult_Result = 1 // Success: the telemetry command was accepted by the vehicle
	TelemetryServerResult_RESULT_NO_SYSTEM        TelemetryServerResult_Result = 2 // No system connected
	TelemetryServerResult_RESULT_CONNECTION_ERROR TelemetryServerResult_Result = 3 // Connection error
	TelemetryServerResult_RESULT_BUSY             TelemetryServerResult_Result = 4 // Vehicle is busy
	TelemetryServerResult_RESULT_COMMAND_DENIED   TelemetryServerResult_Result = 5 // Command refused by vehicle
	TelemetryServerResult_RESULT_TIMEOUT          TelemetryServerResult_Result = 6 // Request timed out
	TelemetryServerResult_RESULT_UNSUPPORTED      TelemetryServerResult_Result = 7 // Request not supported
)

func (TelemetryServerResult_Result) Descriptor

func (TelemetryServerResult_Result) Enum

func (TelemetryServerResult_Result) EnumDescriptor deprecated

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

Deprecated: Use TelemetryServerResult_Result.Descriptor instead.

func (TelemetryServerResult_Result) Number

func (TelemetryServerResult_Result) String

func (TelemetryServerResult_Result) Type

type TelemetryServerServiceClient

type TelemetryServerServiceClient interface {
	// Publish to 'position' updates.
	PublishPosition(ctx context.Context, in *PublishPositionRequest, opts ...grpc.CallOption) (*PublishPositionResponse, error)
	// Publish to 'home position' updates.
	PublishHome(ctx context.Context, in *PublishHomeRequest, opts ...grpc.CallOption) (*PublishHomeResponse, error)
	// Publish 'sys status' updates.
	PublishSysStatus(ctx context.Context, in *PublishSysStatusRequest, opts ...grpc.CallOption) (*PublishSysStatusResponse, error)
	// Publish 'extended sys state' updates.
	PublishExtendedSysState(ctx context.Context, in *PublishExtendedSysStateRequest, opts ...grpc.CallOption) (*PublishExtendedSysStateResponse, error)
	// Publish to 'Raw GPS' updates.
	PublishRawGps(ctx context.Context, in *PublishRawGpsRequest, opts ...grpc.CallOption) (*PublishRawGpsResponse, error)
	// Publish to 'battery' updates.
	PublishBattery(ctx context.Context, in *PublishBatteryRequest, opts ...grpc.CallOption) (*PublishBatteryResponse, error)
	// Publish to 'status text' updates.
	PublishStatusText(ctx context.Context, in *PublishStatusTextRequest, opts ...grpc.CallOption) (*PublishStatusTextResponse, error)
	// Publish to 'odometry' updates.
	PublishOdometry(ctx context.Context, in *PublishOdometryRequest, opts ...grpc.CallOption) (*PublishOdometryResponse, error)
	// Publish to 'position velocity' updates.
	PublishPositionVelocityNed(ctx context.Context, in *PublishPositionVelocityNedRequest, opts ...grpc.CallOption) (*PublishPositionVelocityNedResponse, error)
	// Publish to 'ground truth' updates.
	PublishGroundTruth(ctx context.Context, in *PublishGroundTruthRequest, opts ...grpc.CallOption) (*PublishGroundTruthResponse, error)
	// Publish to 'IMU' updates (in SI units in NED body frame).
	PublishImu(ctx context.Context, in *PublishImuRequest, opts ...grpc.CallOption) (*PublishImuResponse, error)
	// Publish to 'Scaled IMU' updates.
	PublishScaledImu(ctx context.Context, in *PublishScaledImuRequest, opts ...grpc.CallOption) (*PublishScaledImuResponse, error)
	// Publish to 'Raw IMU' updates.
	PublishRawImu(ctx context.Context, in *PublishRawImuRequest, opts ...grpc.CallOption) (*PublishRawImuResponse, error)
	// Publish to 'unix epoch time' updates.
	PublishUnixEpochTime(ctx context.Context, in *PublishUnixEpochTimeRequest, opts ...grpc.CallOption) (*PublishUnixEpochTimeResponse, error)
	// Publish to "distance sensor" updates.
	PublishDistanceSensor(ctx context.Context, in *PublishDistanceSensorRequest, opts ...grpc.CallOption) (*PublishDistanceSensorResponse, error)
}

TelemetryServerServiceClient is the client API for TelemetryServerService 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.

Allow users to provide vehicle telemetry and state information (e.g. battery, GPS, RC connection, flight mode etc.) and set telemetry update rates.

type TelemetryServerServiceServer

type TelemetryServerServiceServer interface {
	// Publish to 'position' updates.
	PublishPosition(context.Context, *PublishPositionRequest) (*PublishPositionResponse, error)
	// Publish to 'home position' updates.
	PublishHome(context.Context, *PublishHomeRequest) (*PublishHomeResponse, error)
	// Publish 'sys status' updates.
	PublishSysStatus(context.Context, *PublishSysStatusRequest) (*PublishSysStatusResponse, error)
	// Publish 'extended sys state' updates.
	PublishExtendedSysState(context.Context, *PublishExtendedSysStateRequest) (*PublishExtendedSysStateResponse, error)
	// Publish to 'Raw GPS' updates.
	PublishRawGps(context.Context, *PublishRawGpsRequest) (*PublishRawGpsResponse, error)
	// Publish to 'battery' updates.
	PublishBattery(context.Context, *PublishBatteryRequest) (*PublishBatteryResponse, error)
	// Publish to 'status text' updates.
	PublishStatusText(context.Context, *PublishStatusTextRequest) (*PublishStatusTextResponse, error)
	// Publish to 'odometry' updates.
	PublishOdometry(context.Context, *PublishOdometryRequest) (*PublishOdometryResponse, error)
	// Publish to 'position velocity' updates.
	PublishPositionVelocityNed(context.Context, *PublishPositionVelocityNedRequest) (*PublishPositionVelocityNedResponse, error)
	// Publish to 'ground truth' updates.
	PublishGroundTruth(context.Context, *PublishGroundTruthRequest) (*PublishGroundTruthResponse, error)
	// Publish to 'IMU' updates (in SI units in NED body frame).
	PublishImu(context.Context, *PublishImuRequest) (*PublishImuResponse, error)
	// Publish to 'Scaled IMU' updates.
	PublishScaledImu(context.Context, *PublishScaledImuRequest) (*PublishScaledImuResponse, error)
	// Publish to 'Raw IMU' updates.
	PublishRawImu(context.Context, *PublishRawImuRequest) (*PublishRawImuResponse, error)
	// Publish to 'unix epoch time' updates.
	PublishUnixEpochTime(context.Context, *PublishUnixEpochTimeRequest) (*PublishUnixEpochTimeResponse, error)
	// Publish to "distance sensor" updates.
	PublishDistanceSensor(context.Context, *PublishDistanceSensorRequest) (*PublishDistanceSensorResponse, error)
	// contains filtered or unexported methods
}

TelemetryServerServiceServer is the server API for TelemetryServerService service. All implementations must embed UnimplementedTelemetryServerServiceServer for forward compatibility.

Allow users to provide vehicle telemetry and state information (e.g. battery, GPS, RC connection, flight mode etc.) and set telemetry update rates.

type UnimplementedTelemetryServerServiceServer

type UnimplementedTelemetryServerServiceServer struct{}

UnimplementedTelemetryServerServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTelemetryServerServiceServer) PublishBattery

func (UnimplementedTelemetryServerServiceServer) PublishDistanceSensor added in v0.0.7

func (UnimplementedTelemetryServerServiceServer) PublishGroundTruth

func (UnimplementedTelemetryServerServiceServer) PublishHome

func (UnimplementedTelemetryServerServiceServer) PublishImu

func (UnimplementedTelemetryServerServiceServer) PublishOdometry

func (UnimplementedTelemetryServerServiceServer) PublishPosition

func (UnimplementedTelemetryServerServiceServer) PublishRawGps

func (UnimplementedTelemetryServerServiceServer) PublishRawImu

func (UnimplementedTelemetryServerServiceServer) PublishScaledImu

func (UnimplementedTelemetryServerServiceServer) PublishStatusText

func (UnimplementedTelemetryServerServiceServer) PublishSysStatus

func (UnimplementedTelemetryServerServiceServer) PublishUnixEpochTime

type UnsafeTelemetryServerServiceServer

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

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

type VelocityBody

type VelocityBody struct {
	XMS float32 `protobuf:"fixed32,1,opt,name=x_m_s,json=xMS,proto3" json:"x_m_s,omitempty"` // Velocity in X in metres/second
	YMS float32 `protobuf:"fixed32,2,opt,name=y_m_s,json=yMS,proto3" json:"y_m_s,omitempty"` // Velocity in Y in metres/second
	ZMS float32 `protobuf:"fixed32,3,opt,name=z_m_s,json=zMS,proto3" json:"z_m_s,omitempty"` // Velocity in Z in metres/second
	// contains filtered or unexported fields
}

Velocity type, represented in the Body (X Y Z) frame and in metres/second.

func (*VelocityBody) Descriptor deprecated

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

Deprecated: Use VelocityBody.ProtoReflect.Descriptor instead.

func (*VelocityBody) GetXMS

func (x *VelocityBody) GetXMS() float32

func (*VelocityBody) GetYMS

func (x *VelocityBody) GetYMS() float32

func (*VelocityBody) GetZMS

func (x *VelocityBody) GetZMS() float32

func (*VelocityBody) ProtoMessage

func (*VelocityBody) ProtoMessage()

func (*VelocityBody) ProtoReflect

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

func (*VelocityBody) Reset

func (x *VelocityBody) Reset()

func (*VelocityBody) String

func (x *VelocityBody) String() string

type VelocityNed

type VelocityNed struct {
	NorthMS float32 `protobuf:"fixed32,1,opt,name=north_m_s,json=northMS,proto3" json:"north_m_s,omitempty"` // Velocity along north direction in metres per second
	EastMS  float32 `protobuf:"fixed32,2,opt,name=east_m_s,json=eastMS,proto3" json:"east_m_s,omitempty"`    // Velocity along east direction in metres per second
	DownMS  float32 `protobuf:"fixed32,3,opt,name=down_m_s,json=downMS,proto3" json:"down_m_s,omitempty"`    // Velocity along down direction in metres per second
	// contains filtered or unexported fields
}

VelocityNed message type.

func (*VelocityNed) Descriptor deprecated

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

Deprecated: Use VelocityNed.ProtoReflect.Descriptor instead.

func (*VelocityNed) GetDownMS

func (x *VelocityNed) GetDownMS() float32

func (*VelocityNed) GetEastMS

func (x *VelocityNed) GetEastMS() float32

func (*VelocityNed) GetNorthMS

func (x *VelocityNed) GetNorthMS() float32

func (*VelocityNed) ProtoMessage

func (*VelocityNed) ProtoMessage()

func (*VelocityNed) ProtoReflect

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

func (*VelocityNed) Reset

func (x *VelocityNed) Reset()

func (*VelocityNed) String

func (x *VelocityNed) String() string

type VtolState

type VtolState int32

Maps to MAV_VTOL_STATE

const (
	VtolState_VTOL_STATE_UNDEFINED        VtolState = 0 // Not VTOL
	VtolState_VTOL_STATE_TRANSITION_TO_FW VtolState = 1 // Transitioning to fixed-wing
	VtolState_VTOL_STATE_TRANSITION_TO_MC VtolState = 2 // Transitioning to multi-copter
	VtolState_VTOL_STATE_MC               VtolState = 3 // Multi-copter
	VtolState_VTOL_STATE_FW               VtolState = 4 // Fixed-wing
)

func (VtolState) Descriptor

func (VtolState) Descriptor() protoreflect.EnumDescriptor

func (VtolState) Enum

func (x VtolState) Enum() *VtolState

func (VtolState) EnumDescriptor deprecated

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

Deprecated: Use VtolState.Descriptor instead.

func (VtolState) Number

func (x VtolState) Number() protoreflect.EnumNumber

func (VtolState) String

func (x VtolState) String() string

func (VtolState) Type

Jump to

Keyboard shortcuts

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