Documentation ¶
Index ¶
- Variables
- func RegisterFollowMeServiceServer(s grpc.ServiceRegistrar, srv FollowMeServiceServer)
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetFollowDirection() Config_FollowDirection
- func (x *Config) GetFollowDistanceM() float32
- func (x *Config) GetMinHeightM() float32
- func (x *Config) GetResponsiveness() float32
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Config_FollowDirection
- func (Config_FollowDirection) Descriptor() protoreflect.EnumDescriptor
- func (x Config_FollowDirection) Enum() *Config_FollowDirection
- func (Config_FollowDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x Config_FollowDirection) Number() protoreflect.EnumNumber
- func (x Config_FollowDirection) String() string
- func (Config_FollowDirection) Type() protoreflect.EnumType
- type FollowMeResult
- func (*FollowMeResult) Descriptor() ([]byte, []int)deprecated
- func (x *FollowMeResult) GetResult() FollowMeResult_Result
- func (x *FollowMeResult) GetResultStr() string
- func (*FollowMeResult) ProtoMessage()
- func (x *FollowMeResult) ProtoReflect() protoreflect.Message
- func (x *FollowMeResult) Reset()
- func (x *FollowMeResult) String() string
- type FollowMeResult_Result
- func (FollowMeResult_Result) Descriptor() protoreflect.EnumDescriptor
- func (x FollowMeResult_Result) Enum() *FollowMeResult_Result
- func (FollowMeResult_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x FollowMeResult_Result) Number() protoreflect.EnumNumber
- func (x FollowMeResult_Result) String() string
- func (FollowMeResult_Result) Type() protoreflect.EnumType
- type FollowMeServiceClient
- type FollowMeServiceServer
- type GetConfigRequest
- type GetConfigResponse
- type GetLastLocationRequest
- type GetLastLocationResponse
- func (*GetLastLocationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastLocationResponse) GetLocation() *TargetLocation
- func (*GetLastLocationResponse) ProtoMessage()
- func (x *GetLastLocationResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastLocationResponse) Reset()
- func (x *GetLastLocationResponse) String() string
- type IsActiveRequest
- type IsActiveResponse
- type ServiceImpl
- func (s *ServiceImpl) GetConfig(ctx context.Context) (*GetConfigResponse, error)
- func (s *ServiceImpl) GetLastLocation(ctx context.Context) (*GetLastLocationResponse, error)
- func (s *ServiceImpl) IsActive(ctx context.Context) (*IsActiveResponse, error)
- func (s *ServiceImpl) SetConfig(ctx context.Context, config *Config) (*SetConfigResponse, error)
- func (s *ServiceImpl) SetTargetLocation(ctx context.Context, location *TargetLocation) (*SetTargetLocationResponse, error)
- func (s *ServiceImpl) Start(ctx context.Context) (*StartResponse, error)
- func (s *ServiceImpl) Stop(ctx context.Context) (*StopResponse, error)
- type SetConfigRequest
- type SetConfigResponse
- func (*SetConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetConfigResponse) GetFollowMeResult() *FollowMeResult
- func (*SetConfigResponse) ProtoMessage()
- func (x *SetConfigResponse) ProtoReflect() protoreflect.Message
- func (x *SetConfigResponse) Reset()
- func (x *SetConfigResponse) String() string
- type SetTargetLocationRequest
- func (*SetTargetLocationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTargetLocationRequest) GetLocation() *TargetLocation
- func (*SetTargetLocationRequest) ProtoMessage()
- func (x *SetTargetLocationRequest) ProtoReflect() protoreflect.Message
- func (x *SetTargetLocationRequest) Reset()
- func (x *SetTargetLocationRequest) String() string
- type SetTargetLocationResponse
- func (*SetTargetLocationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetTargetLocationResponse) GetFollowMeResult() *FollowMeResult
- func (*SetTargetLocationResponse) ProtoMessage()
- func (x *SetTargetLocationResponse) ProtoReflect() protoreflect.Message
- func (x *SetTargetLocationResponse) Reset()
- func (x *SetTargetLocationResponse) String() string
- type StartRequest
- type StartResponse
- type StopRequest
- type StopResponse
- type TargetLocation
- func (*TargetLocation) Descriptor() ([]byte, []int)deprecated
- func (x *TargetLocation) GetAbsoluteAltitudeM() float32
- func (x *TargetLocation) GetLatitudeDeg() float64
- func (x *TargetLocation) GetLongitudeDeg() float64
- func (x *TargetLocation) GetVelocityXMS() float32
- func (x *TargetLocation) GetVelocityYMS() float32
- func (x *TargetLocation) GetVelocityZMS() float32
- func (*TargetLocation) ProtoMessage()
- func (x *TargetLocation) ProtoReflect() protoreflect.Message
- func (x *TargetLocation) Reset()
- func (x *TargetLocation) String() string
- type UnimplementedFollowMeServiceServer
- func (UnimplementedFollowMeServiceServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
- func (UnimplementedFollowMeServiceServer) GetLastLocation(context.Context, *GetLastLocationRequest) (*GetLastLocationResponse, error)
- func (UnimplementedFollowMeServiceServer) IsActive(context.Context, *IsActiveRequest) (*IsActiveResponse, error)
- func (UnimplementedFollowMeServiceServer) SetConfig(context.Context, *SetConfigRequest) (*SetConfigResponse, error)
- func (UnimplementedFollowMeServiceServer) SetTargetLocation(context.Context, *SetTargetLocationRequest) (*SetTargetLocationResponse, error)
- func (UnimplementedFollowMeServiceServer) Start(context.Context, *StartRequest) (*StartResponse, error)
- func (UnimplementedFollowMeServiceServer) Stop(context.Context, *StopRequest) (*StopResponse, error)
- type UnsafeFollowMeServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( Config_FollowDirection_name = map[int32]string{ 0: "FOLLOW_DIRECTION_NONE", 1: "FOLLOW_DIRECTION_BEHIND", 2: "FOLLOW_DIRECTION_FRONT", 3: "FOLLOW_DIRECTION_FRONT_RIGHT", 4: "FOLLOW_DIRECTION_FRONT_LEFT", } Config_FollowDirection_value = map[string]int32{ "FOLLOW_DIRECTION_NONE": 0, "FOLLOW_DIRECTION_BEHIND": 1, "FOLLOW_DIRECTION_FRONT": 2, "FOLLOW_DIRECTION_FRONT_RIGHT": 3, "FOLLOW_DIRECTION_FRONT_LEFT": 4, } )
Enum value maps for Config_FollowDirection.
var ( FollowMeResult_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_NOT_ACTIVE", 8: "RESULT_SET_CONFIG_FAILED", } FollowMeResult_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_NOT_ACTIVE": 7, "RESULT_SET_CONFIG_FAILED": 8, } )
Enum value maps for FollowMeResult_Result.
var File_follow_me_proto protoreflect.FileDescriptor
var FollowMeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mavsdk.rpc.follow_me.FollowMeService", HandlerType: (*FollowMeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetConfig", Handler: _FollowMeService_GetConfig_Handler, }, { MethodName: "SetConfig", Handler: _FollowMeService_SetConfig_Handler, }, { MethodName: "IsActive", Handler: _FollowMeService_IsActive_Handler, }, { MethodName: "SetTargetLocation", Handler: _FollowMeService_SetTargetLocation_Handler, }, { MethodName: "GetLastLocation", Handler: _FollowMeService_GetLastLocation_Handler, }, { MethodName: "Start", Handler: _FollowMeService_Start_Handler, }, { MethodName: "Stop", Handler: _FollowMeService_Stop_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "follow_me.proto", }
FollowMeService_ServiceDesc is the grpc.ServiceDesc for FollowMeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFollowMeServiceServer ¶
func RegisterFollowMeServiceServer(s grpc.ServiceRegistrar, srv FollowMeServiceServer)
Types ¶
type Config ¶
type Config struct { MinHeightM float32 `protobuf:"fixed32,1,opt,name=min_height_m,json=minHeightM,proto3" json:"min_height_m,omitempty"` // Minimum height for the vehicle in meters (recommended minimum 8 meters) FollowDistanceM float32 `protobuf:"fixed32,2,opt,name=follow_distance_m,json=followDistanceM,proto3" json:"follow_distance_m,omitempty"` // Distance from target for vehicle to follow in meters (recommended minimum 1 meter) FollowDirection Config_FollowDirection `` // Direction to follow in /* 156-byte string literal not displayed */ Responsiveness float32 `protobuf:"fixed32,4,opt,name=responsiveness,proto3" json:"responsiveness,omitempty"` // How responsive the vehicle is to the motion of the target (range 0.0 to 1.0) // contains filtered or unexported fields }
Configuration type.
func (*Config) Descriptor
deprecated
func (*Config) GetFollowDirection ¶
func (x *Config) GetFollowDirection() Config_FollowDirection
func (*Config) GetFollowDistanceM ¶
func (*Config) GetMinHeightM ¶
func (*Config) GetResponsiveness ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Config_FollowDirection ¶
type Config_FollowDirection int32
Direction relative to the target that the vehicle should follow
const ( Config_FOLLOW_DIRECTION_NONE Config_FollowDirection = 0 // Do not follow Config_FOLLOW_DIRECTION_BEHIND Config_FollowDirection = 1 // Follow from behind Config_FOLLOW_DIRECTION_FRONT Config_FollowDirection = 2 // Follow from front Config_FOLLOW_DIRECTION_FRONT_RIGHT Config_FollowDirection = 3 // Follow from front right Config_FOLLOW_DIRECTION_FRONT_LEFT Config_FollowDirection = 4 // Follow from front left )
func (Config_FollowDirection) Descriptor ¶
func (Config_FollowDirection) Descriptor() protoreflect.EnumDescriptor
func (Config_FollowDirection) Enum ¶
func (x Config_FollowDirection) Enum() *Config_FollowDirection
func (Config_FollowDirection) EnumDescriptor
deprecated
func (Config_FollowDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use Config_FollowDirection.Descriptor instead.
func (Config_FollowDirection) Number ¶
func (x Config_FollowDirection) Number() protoreflect.EnumNumber
func (Config_FollowDirection) String ¶
func (x Config_FollowDirection) String() string
func (Config_FollowDirection) Type ¶
func (Config_FollowDirection) Type() protoreflect.EnumType
type FollowMeResult ¶
type FollowMeResult struct { Result FollowMeResult_Result `protobuf:"varint,1,opt,name=result,proto3,enum=mavsdk.rpc.follow_me.FollowMeResult_Result" json:"result,omitempty"` // Result enum value ResultStr string `protobuf:"bytes,2,opt,name=result_str,json=resultStr,proto3" json:"result_str,omitempty"` // Human-readable English string describing the result // contains filtered or unexported fields }
func (*FollowMeResult) Descriptor
deprecated
func (*FollowMeResult) Descriptor() ([]byte, []int)
Deprecated: Use FollowMeResult.ProtoReflect.Descriptor instead.
func (*FollowMeResult) GetResult ¶
func (x *FollowMeResult) GetResult() FollowMeResult_Result
func (*FollowMeResult) GetResultStr ¶
func (x *FollowMeResult) GetResultStr() string
func (*FollowMeResult) ProtoMessage ¶
func (*FollowMeResult) ProtoMessage()
func (*FollowMeResult) ProtoReflect ¶
func (x *FollowMeResult) ProtoReflect() protoreflect.Message
func (*FollowMeResult) Reset ¶
func (x *FollowMeResult) Reset()
func (*FollowMeResult) String ¶
func (x *FollowMeResult) String() string
type FollowMeResult_Result ¶
type FollowMeResult_Result int32
Possible results returned for followme operations
const ( FollowMeResult_RESULT_UNKNOWN FollowMeResult_Result = 0 // Unknown result FollowMeResult_RESULT_SUCCESS FollowMeResult_Result = 1 // Request succeeded FollowMeResult_RESULT_NO_SYSTEM FollowMeResult_Result = 2 // No system connected FollowMeResult_RESULT_CONNECTION_ERROR FollowMeResult_Result = 3 // Connection error FollowMeResult_RESULT_BUSY FollowMeResult_Result = 4 // Vehicle is busy FollowMeResult_RESULT_COMMAND_DENIED FollowMeResult_Result = 5 // Command denied FollowMeResult_RESULT_TIMEOUT FollowMeResult_Result = 6 // Request timed out FollowMeResult_RESULT_NOT_ACTIVE FollowMeResult_Result = 7 // FollowMe is not active FollowMeResult_RESULT_SET_CONFIG_FAILED FollowMeResult_Result = 8 // Failed to set FollowMe configuration )
func (FollowMeResult_Result) Descriptor ¶
func (FollowMeResult_Result) Descriptor() protoreflect.EnumDescriptor
func (FollowMeResult_Result) Enum ¶
func (x FollowMeResult_Result) Enum() *FollowMeResult_Result
func (FollowMeResult_Result) EnumDescriptor
deprecated
func (FollowMeResult_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use FollowMeResult_Result.Descriptor instead.
func (FollowMeResult_Result) Number ¶
func (x FollowMeResult_Result) Number() protoreflect.EnumNumber
func (FollowMeResult_Result) String ¶
func (x FollowMeResult_Result) String() string
func (FollowMeResult_Result) Type ¶
func (FollowMeResult_Result) Type() protoreflect.EnumType
type FollowMeServiceClient ¶
type FollowMeServiceClient interface { // Get current configuration. GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) // Apply configuration by sending it to the system. SetConfig(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*SetConfigResponse, error) // Check if FollowMe is active. IsActive(ctx context.Context, in *IsActiveRequest, opts ...grpc.CallOption) (*IsActiveResponse, error) // Set location of the moving target. SetTargetLocation(ctx context.Context, in *SetTargetLocationRequest, opts ...grpc.CallOption) (*SetTargetLocationResponse, error) // Get the last location of the target. GetLastLocation(ctx context.Context, in *GetLastLocationRequest, opts ...grpc.CallOption) (*GetLastLocationResponse, error) // Start FollowMe mode. Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) // Stop FollowMe mode. Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) }
FollowMeServiceClient is the client API for FollowMeService 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.
func NewFollowMeServiceClient ¶
func NewFollowMeServiceClient(cc grpc.ClientConnInterface) FollowMeServiceClient
type FollowMeServiceServer ¶
type FollowMeServiceServer interface { // Get current configuration. GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error) // Apply configuration by sending it to the system. SetConfig(context.Context, *SetConfigRequest) (*SetConfigResponse, error) // Check if FollowMe is active. IsActive(context.Context, *IsActiveRequest) (*IsActiveResponse, error) // Set location of the moving target. SetTargetLocation(context.Context, *SetTargetLocationRequest) (*SetTargetLocationResponse, error) // Get the last location of the target. GetLastLocation(context.Context, *GetLastLocationRequest) (*GetLastLocationResponse, error) // Start FollowMe mode. Start(context.Context, *StartRequest) (*StartResponse, error) // Stop FollowMe mode. Stop(context.Context, *StopRequest) (*StopResponse, error) // contains filtered or unexported methods }
FollowMeServiceServer is the server API for FollowMeService service. All implementations must embed UnimplementedFollowMeServiceServer for forward compatibility
type GetConfigRequest ¶
type GetConfigRequest struct {
// contains filtered or unexported fields
}
func (*GetConfigRequest) Descriptor
deprecated
func (*GetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) ProtoMessage ¶
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) ProtoReflect ¶
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetConfigRequest) Reset ¶
func (x *GetConfigRequest) Reset()
func (*GetConfigRequest) String ¶
func (x *GetConfigRequest) String() string
type GetConfigResponse ¶
type GetConfigResponse struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // The current configuration // contains filtered or unexported fields }
func (*GetConfigResponse) Descriptor
deprecated
func (*GetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
func (*GetConfigResponse) GetConfig ¶
func (x *GetConfigResponse) GetConfig() *Config
func (*GetConfigResponse) ProtoMessage ¶
func (*GetConfigResponse) ProtoMessage()
func (*GetConfigResponse) ProtoReflect ¶
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
func (*GetConfigResponse) Reset ¶
func (x *GetConfigResponse) Reset()
func (*GetConfigResponse) String ¶
func (x *GetConfigResponse) String() string
type GetLastLocationRequest ¶
type GetLastLocationRequest struct {
// contains filtered or unexported fields
}
func (*GetLastLocationRequest) Descriptor
deprecated
func (*GetLastLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLastLocationRequest.ProtoReflect.Descriptor instead.
func (*GetLastLocationRequest) ProtoMessage ¶
func (*GetLastLocationRequest) ProtoMessage()
func (*GetLastLocationRequest) ProtoReflect ¶
func (x *GetLastLocationRequest) ProtoReflect() protoreflect.Message
func (*GetLastLocationRequest) Reset ¶
func (x *GetLastLocationRequest) Reset()
func (*GetLastLocationRequest) String ¶
func (x *GetLastLocationRequest) String() string
type GetLastLocationResponse ¶
type GetLastLocationResponse struct { Location *TargetLocation `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The last target location that was set // contains filtered or unexported fields }
func (*GetLastLocationResponse) Descriptor
deprecated
func (*GetLastLocationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLastLocationResponse.ProtoReflect.Descriptor instead.
func (*GetLastLocationResponse) GetLocation ¶
func (x *GetLastLocationResponse) GetLocation() *TargetLocation
func (*GetLastLocationResponse) ProtoMessage ¶
func (*GetLastLocationResponse) ProtoMessage()
func (*GetLastLocationResponse) ProtoReflect ¶
func (x *GetLastLocationResponse) ProtoReflect() protoreflect.Message
func (*GetLastLocationResponse) Reset ¶
func (x *GetLastLocationResponse) Reset()
func (*GetLastLocationResponse) String ¶
func (x *GetLastLocationResponse) String() string
type IsActiveRequest ¶
type IsActiveRequest struct {
// contains filtered or unexported fields
}
func (*IsActiveRequest) Descriptor
deprecated
func (*IsActiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsActiveRequest.ProtoReflect.Descriptor instead.
func (*IsActiveRequest) ProtoMessage ¶
func (*IsActiveRequest) ProtoMessage()
func (*IsActiveRequest) ProtoReflect ¶
func (x *IsActiveRequest) ProtoReflect() protoreflect.Message
func (*IsActiveRequest) Reset ¶
func (x *IsActiveRequest) Reset()
func (*IsActiveRequest) String ¶
func (x *IsActiveRequest) String() string
type IsActiveResponse ¶
type IsActiveResponse struct { IsActive bool `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // Whether follow me is active or not // contains filtered or unexported fields }
func (*IsActiveResponse) Descriptor
deprecated
func (*IsActiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsActiveResponse.ProtoReflect.Descriptor instead.
func (*IsActiveResponse) GetIsActive ¶
func (x *IsActiveResponse) GetIsActive() bool
func (*IsActiveResponse) ProtoMessage ¶
func (*IsActiveResponse) ProtoMessage()
func (*IsActiveResponse) ProtoReflect ¶
func (x *IsActiveResponse) ProtoReflect() protoreflect.Message
func (*IsActiveResponse) Reset ¶
func (x *IsActiveResponse) Reset()
func (*IsActiveResponse) String ¶
func (x *IsActiveResponse) String() string
type ServiceImpl ¶
type ServiceImpl struct {
Client FollowMeServiceClient
}
func (*ServiceImpl) GetConfig ¶
func (s *ServiceImpl) GetConfig(ctx context.Context) (*GetConfigResponse, error)
func (*ServiceImpl) GetLastLocation ¶
func (s *ServiceImpl) GetLastLocation(ctx context.Context) (*GetLastLocationResponse, error)
func (*ServiceImpl) IsActive ¶
func (s *ServiceImpl) IsActive(ctx context.Context) (*IsActiveResponse, error)
func (*ServiceImpl) SetConfig ¶
func (s *ServiceImpl) SetConfig(ctx context.Context, config *Config) (*SetConfigResponse, error)
func (*ServiceImpl) SetTargetLocation ¶
func (s *ServiceImpl) SetTargetLocation(ctx context.Context, location *TargetLocation) (*SetTargetLocationResponse, error)
func (*ServiceImpl) Start ¶
func (s *ServiceImpl) Start(ctx context.Context) (*StartResponse, error)
func (*ServiceImpl) Stop ¶
func (s *ServiceImpl) Stop(ctx context.Context) (*StopResponse, error)
type SetConfigRequest ¶
type SetConfigRequest struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // The new configuration to be set // contains filtered or unexported fields }
func (*SetConfigRequest) Descriptor
deprecated
func (*SetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetConfigRequest.ProtoReflect.Descriptor instead.
func (*SetConfigRequest) GetConfig ¶
func (x *SetConfigRequest) GetConfig() *Config
func (*SetConfigRequest) ProtoMessage ¶
func (*SetConfigRequest) ProtoMessage()
func (*SetConfigRequest) ProtoReflect ¶
func (x *SetConfigRequest) ProtoReflect() protoreflect.Message
func (*SetConfigRequest) Reset ¶
func (x *SetConfigRequest) Reset()
func (*SetConfigRequest) String ¶
func (x *SetConfigRequest) String() string
type SetConfigResponse ¶
type SetConfigResponse struct { FollowMeResult *FollowMeResult `protobuf:"bytes,1,opt,name=follow_me_result,json=followMeResult,proto3" json:"follow_me_result,omitempty"` // contains filtered or unexported fields }
func (*SetConfigResponse) Descriptor
deprecated
func (*SetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetConfigResponse.ProtoReflect.Descriptor instead.
func (*SetConfigResponse) GetFollowMeResult ¶
func (x *SetConfigResponse) GetFollowMeResult() *FollowMeResult
func (*SetConfigResponse) ProtoMessage ¶
func (*SetConfigResponse) ProtoMessage()
func (*SetConfigResponse) ProtoReflect ¶
func (x *SetConfigResponse) ProtoReflect() protoreflect.Message
func (*SetConfigResponse) Reset ¶
func (x *SetConfigResponse) Reset()
func (*SetConfigResponse) String ¶
func (x *SetConfigResponse) String() string
type SetTargetLocationRequest ¶
type SetTargetLocationRequest struct { Location *TargetLocation `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The new TargetLocation to follow // contains filtered or unexported fields }
func (*SetTargetLocationRequest) Descriptor
deprecated
func (*SetTargetLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTargetLocationRequest.ProtoReflect.Descriptor instead.
func (*SetTargetLocationRequest) GetLocation ¶
func (x *SetTargetLocationRequest) GetLocation() *TargetLocation
func (*SetTargetLocationRequest) ProtoMessage ¶
func (*SetTargetLocationRequest) ProtoMessage()
func (*SetTargetLocationRequest) ProtoReflect ¶
func (x *SetTargetLocationRequest) ProtoReflect() protoreflect.Message
func (*SetTargetLocationRequest) Reset ¶
func (x *SetTargetLocationRequest) Reset()
func (*SetTargetLocationRequest) String ¶
func (x *SetTargetLocationRequest) String() string
type SetTargetLocationResponse ¶
type SetTargetLocationResponse struct { FollowMeResult *FollowMeResult `protobuf:"bytes,1,opt,name=follow_me_result,json=followMeResult,proto3" json:"follow_me_result,omitempty"` // contains filtered or unexported fields }
func (*SetTargetLocationResponse) Descriptor
deprecated
func (*SetTargetLocationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetTargetLocationResponse.ProtoReflect.Descriptor instead.
func (*SetTargetLocationResponse) GetFollowMeResult ¶
func (x *SetTargetLocationResponse) GetFollowMeResult() *FollowMeResult
func (*SetTargetLocationResponse) ProtoMessage ¶
func (*SetTargetLocationResponse) ProtoMessage()
func (*SetTargetLocationResponse) ProtoReflect ¶
func (x *SetTargetLocationResponse) ProtoReflect() protoreflect.Message
func (*SetTargetLocationResponse) Reset ¶
func (x *SetTargetLocationResponse) Reset()
func (*SetTargetLocationResponse) String ¶
func (x *SetTargetLocationResponse) String() string
type StartRequest ¶
type StartRequest struct {
// contains filtered or unexported fields
}
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type StartResponse ¶
type StartResponse struct { FollowMeResult *FollowMeResult `protobuf:"bytes,1,opt,name=follow_me_result,json=followMeResult,proto3" json:"follow_me_result,omitempty"` // contains filtered or unexported fields }
func (*StartResponse) Descriptor
deprecated
func (*StartResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
func (*StartResponse) GetFollowMeResult ¶
func (x *StartResponse) GetFollowMeResult() *FollowMeResult
func (*StartResponse) ProtoMessage ¶
func (*StartResponse) ProtoMessage()
func (*StartResponse) ProtoReflect ¶
func (x *StartResponse) ProtoReflect() protoreflect.Message
func (*StartResponse) Reset ¶
func (x *StartResponse) Reset()
func (*StartResponse) String ¶
func (x *StartResponse) String() string
type StopRequest ¶
type StopRequest struct {
// contains filtered or unexported fields
}
func (*StopRequest) Descriptor
deprecated
func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type StopResponse ¶
type StopResponse struct { FollowMeResult *FollowMeResult `protobuf:"bytes,1,opt,name=follow_me_result,json=followMeResult,proto3" json:"follow_me_result,omitempty"` // contains filtered or unexported fields }
func (*StopResponse) Descriptor
deprecated
func (*StopResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
func (*StopResponse) GetFollowMeResult ¶
func (x *StopResponse) GetFollowMeResult() *FollowMeResult
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) ProtoReflect ¶
func (x *StopResponse) ProtoReflect() protoreflect.Message
func (*StopResponse) Reset ¶
func (x *StopResponse) Reset()
func (*StopResponse) String ¶
func (x *StopResponse) String() string
type TargetLocation ¶
type TargetLocation struct { LatitudeDeg float64 `protobuf:"fixed64,1,opt,name=latitude_deg,json=latitudeDeg,proto3" json:"latitude_deg,omitempty"` // Target latitude in degrees LongitudeDeg float64 `protobuf:"fixed64,2,opt,name=longitude_deg,json=longitudeDeg,proto3" json:"longitude_deg,omitempty"` // Target longitude in degrees AbsoluteAltitudeM float32 `protobuf:"fixed32,3,opt,name=absolute_altitude_m,json=absoluteAltitudeM,proto3" json:"absolute_altitude_m,omitempty"` // Target altitude in meters above MSL VelocityXMS float32 `protobuf:"fixed32,4,opt,name=velocity_x_m_s,json=velocityXMS,proto3" json:"velocity_x_m_s,omitempty"` // Target velocity in X axis, in meters per second VelocityYMS float32 `protobuf:"fixed32,5,opt,name=velocity_y_m_s,json=velocityYMS,proto3" json:"velocity_y_m_s,omitempty"` // Target velocity in Y axis, in meters per second VelocityZMS float32 `protobuf:"fixed32,6,opt,name=velocity_z_m_s,json=velocityZMS,proto3" json:"velocity_z_m_s,omitempty"` // Target velocity in Z axis, in meters per second // contains filtered or unexported fields }
Target location for the vehicle to follow
func (*TargetLocation) Descriptor
deprecated
func (*TargetLocation) Descriptor() ([]byte, []int)
Deprecated: Use TargetLocation.ProtoReflect.Descriptor instead.
func (*TargetLocation) GetAbsoluteAltitudeM ¶
func (x *TargetLocation) GetAbsoluteAltitudeM() float32
func (*TargetLocation) GetLatitudeDeg ¶
func (x *TargetLocation) GetLatitudeDeg() float64
func (*TargetLocation) GetLongitudeDeg ¶
func (x *TargetLocation) GetLongitudeDeg() float64
func (*TargetLocation) GetVelocityXMS ¶
func (x *TargetLocation) GetVelocityXMS() float32
func (*TargetLocation) GetVelocityYMS ¶
func (x *TargetLocation) GetVelocityYMS() float32
func (*TargetLocation) GetVelocityZMS ¶
func (x *TargetLocation) GetVelocityZMS() float32
func (*TargetLocation) ProtoMessage ¶
func (*TargetLocation) ProtoMessage()
func (*TargetLocation) ProtoReflect ¶
func (x *TargetLocation) ProtoReflect() protoreflect.Message
func (*TargetLocation) Reset ¶
func (x *TargetLocation) Reset()
func (*TargetLocation) String ¶
func (x *TargetLocation) String() string
type UnimplementedFollowMeServiceServer ¶
type UnimplementedFollowMeServiceServer struct { }
UnimplementedFollowMeServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFollowMeServiceServer) GetConfig ¶
func (UnimplementedFollowMeServiceServer) GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
func (UnimplementedFollowMeServiceServer) GetLastLocation ¶
func (UnimplementedFollowMeServiceServer) GetLastLocation(context.Context, *GetLastLocationRequest) (*GetLastLocationResponse, error)
func (UnimplementedFollowMeServiceServer) IsActive ¶
func (UnimplementedFollowMeServiceServer) IsActive(context.Context, *IsActiveRequest) (*IsActiveResponse, error)
func (UnimplementedFollowMeServiceServer) SetConfig ¶
func (UnimplementedFollowMeServiceServer) SetConfig(context.Context, *SetConfigRequest) (*SetConfigResponse, error)
func (UnimplementedFollowMeServiceServer) SetTargetLocation ¶
func (UnimplementedFollowMeServiceServer) SetTargetLocation(context.Context, *SetTargetLocationRequest) (*SetTargetLocationResponse, error)
func (UnimplementedFollowMeServiceServer) Start ¶
func (UnimplementedFollowMeServiceServer) Start(context.Context, *StartRequest) (*StartResponse, error)
func (UnimplementedFollowMeServiceServer) Stop ¶
func (UnimplementedFollowMeServiceServer) Stop(context.Context, *StopRequest) (*StopResponse, error)
type UnsafeFollowMeServiceServer ¶
type UnsafeFollowMeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFollowMeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FollowMeServiceServer will result in compilation errors.