Documentation ¶
Index ¶
- Variables
- func RegisterCameraServiceServer(s grpc.ServiceRegistrar, srv CameraServiceServer)
- type CameraResult
- func (*CameraResult) Descriptor() ([]byte, []int)deprecated
- func (x *CameraResult) GetResult() CameraResult_Result
- func (x *CameraResult) GetResultStr() string
- func (*CameraResult) ProtoMessage()
- func (x *CameraResult) ProtoReflect() protoreflect.Message
- func (x *CameraResult) Reset()
- func (x *CameraResult) String() string
- type CameraResult_Result
- func (CameraResult_Result) Descriptor() protoreflect.EnumDescriptor
- func (x CameraResult_Result) Enum() *CameraResult_Result
- func (CameraResult_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x CameraResult_Result) Number() protoreflect.EnumNumber
- func (x CameraResult_Result) String() string
- func (CameraResult_Result) Type() protoreflect.EnumType
- type CameraServiceClient
- type CameraServiceServer
- type CameraService_SubscribeCaptureInfoClient
- type CameraService_SubscribeCaptureInfoServer
- type CameraService_SubscribeCurrentSettingsClient
- type CameraService_SubscribeCurrentSettingsServer
- type CameraService_SubscribeInformationClient
- type CameraService_SubscribeInformationServer
- type CameraService_SubscribeModeClient
- type CameraService_SubscribeModeServer
- type CameraService_SubscribePossibleSettingOptionsClient
- type CameraService_SubscribePossibleSettingOptionsServer
- type CameraService_SubscribeStatusClient
- type CameraService_SubscribeStatusServer
- type CameraService_SubscribeVideoStreamInfoClient
- type CameraService_SubscribeVideoStreamInfoServer
- type CaptureInfo
- func (*CaptureInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CaptureInfo) GetAttitudeEulerAngle() *EulerAngle
- func (x *CaptureInfo) GetAttitudeQuaternion() *Quaternion
- func (x *CaptureInfo) GetFileUrl() string
- func (x *CaptureInfo) GetIndex() int32
- func (x *CaptureInfo) GetIsSuccess() bool
- func (x *CaptureInfo) GetPosition() *Position
- func (x *CaptureInfo) GetTimeUtcUs() uint64
- func (*CaptureInfo) ProtoMessage()
- func (x *CaptureInfo) ProtoReflect() protoreflect.Message
- func (x *CaptureInfo) Reset()
- func (x *CaptureInfo) String() string
- type CaptureInfoResponse
- func (*CaptureInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CaptureInfoResponse) GetCaptureInfo() *CaptureInfo
- func (*CaptureInfoResponse) ProtoMessage()
- func (x *CaptureInfoResponse) ProtoReflect() protoreflect.Message
- func (x *CaptureInfoResponse) Reset()
- func (x *CaptureInfoResponse) String() string
- type CurrentSettingsResponse
- func (*CurrentSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentSettingsResponse) GetCurrentSettings() []*Setting
- func (*CurrentSettingsResponse) ProtoMessage()
- func (x *CurrentSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *CurrentSettingsResponse) Reset()
- func (x *CurrentSettingsResponse) String() string
- type EulerAngle
- func (*EulerAngle) Descriptor() ([]byte, []int)deprecated
- func (x *EulerAngle) GetPitchDeg() float32
- func (x *EulerAngle) GetRollDeg() float32
- func (x *EulerAngle) GetYawDeg() float32
- func (*EulerAngle) ProtoMessage()
- func (x *EulerAngle) ProtoReflect() protoreflect.Message
- func (x *EulerAngle) Reset()
- func (x *EulerAngle) String() string
- type FormatStorageRequest
- type FormatStorageResponse
- func (*FormatStorageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FormatStorageResponse) GetCameraResult() *CameraResult
- func (*FormatStorageResponse) ProtoMessage()
- func (x *FormatStorageResponse) ProtoReflect() protoreflect.Message
- func (x *FormatStorageResponse) Reset()
- func (x *FormatStorageResponse) String() string
- type GetSettingRequest
- type GetSettingResponse
- func (*GetSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingResponse) GetCameraResult() *CameraResult
- func (x *GetSettingResponse) GetSetting() *Setting
- func (*GetSettingResponse) ProtoMessage()
- func (x *GetSettingResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingResponse) Reset()
- func (x *GetSettingResponse) String() string
- type Information
- func (*Information) Descriptor() ([]byte, []int)deprecated
- func (x *Information) GetFocalLengthMm() float32
- func (x *Information) GetHorizontalResolutionPx() uint32
- func (x *Information) GetHorizontalSensorSizeMm() float32
- func (x *Information) GetModelName() string
- func (x *Information) GetVendorName() string
- func (x *Information) GetVerticalResolutionPx() uint32
- func (x *Information) GetVerticalSensorSizeMm() float32
- func (*Information) ProtoMessage()
- func (x *Information) ProtoReflect() protoreflect.Message
- func (x *Information) Reset()
- func (x *Information) String() string
- type InformationResponse
- func (*InformationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InformationResponse) GetInformation() *Information
- func (*InformationResponse) ProtoMessage()
- func (x *InformationResponse) ProtoReflect() protoreflect.Message
- func (x *InformationResponse) Reset()
- func (x *InformationResponse) String() string
- type ListPhotosRequest
- func (*ListPhotosRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPhotosRequest) GetPhotosRange() PhotosRange
- func (*ListPhotosRequest) ProtoMessage()
- func (x *ListPhotosRequest) ProtoReflect() protoreflect.Message
- func (x *ListPhotosRequest) Reset()
- func (x *ListPhotosRequest) String() string
- type ListPhotosResponse
- func (*ListPhotosResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPhotosResponse) GetCameraResult() *CameraResult
- func (x *ListPhotosResponse) GetCaptureInfos() []*CaptureInfo
- func (*ListPhotosResponse) ProtoMessage()
- func (x *ListPhotosResponse) ProtoReflect() protoreflect.Message
- func (x *ListPhotosResponse) Reset()
- func (x *ListPhotosResponse) String() string
- type Mode
- type ModeResponse
- type Option
- type PhotosRange
- func (PhotosRange) Descriptor() protoreflect.EnumDescriptor
- func (x PhotosRange) Enum() *PhotosRange
- func (PhotosRange) EnumDescriptor() ([]byte, []int)deprecated
- func (x PhotosRange) Number() protoreflect.EnumNumber
- func (x PhotosRange) String() string
- func (PhotosRange) Type() protoreflect.EnumType
- type Position
- func (*Position) Descriptor() ([]byte, []int)deprecated
- func (x *Position) GetAbsoluteAltitudeM() float32
- func (x *Position) GetLatitudeDeg() float64
- func (x *Position) GetLongitudeDeg() float64
- func (x *Position) GetRelativeAltitudeM() float32
- func (*Position) ProtoMessage()
- func (x *Position) ProtoReflect() protoreflect.Message
- func (x *Position) Reset()
- func (x *Position) String() string
- type PossibleSettingOptionsResponse
- func (*PossibleSettingOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PossibleSettingOptionsResponse) GetSettingOptions() []*SettingOptions
- func (*PossibleSettingOptionsResponse) ProtoMessage()
- func (x *PossibleSettingOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *PossibleSettingOptionsResponse) Reset()
- func (x *PossibleSettingOptionsResponse) String() string
- type PrepareRequest
- type PrepareResponse
- type Quaternion
- func (*Quaternion) Descriptor() ([]byte, []int)deprecated
- func (x *Quaternion) GetW() float32
- func (x *Quaternion) GetX() float32
- func (x *Quaternion) GetY() float32
- func (x *Quaternion) GetZ() float32
- func (*Quaternion) ProtoMessage()
- func (x *Quaternion) ProtoReflect() protoreflect.Message
- func (x *Quaternion) Reset()
- func (x *Quaternion) String() string
- type SelectCameraRequest
- func (*SelectCameraRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectCameraRequest) GetCameraId() int32
- func (*SelectCameraRequest) ProtoMessage()
- func (x *SelectCameraRequest) ProtoReflect() protoreflect.Message
- func (x *SelectCameraRequest) Reset()
- func (x *SelectCameraRequest) String() string
- type SelectCameraResponse
- func (*SelectCameraResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SelectCameraResponse) GetCameraResult() *CameraResult
- func (*SelectCameraResponse) ProtoMessage()
- func (x *SelectCameraResponse) ProtoReflect() protoreflect.Message
- func (x *SelectCameraResponse) Reset()
- func (x *SelectCameraResponse) String() string
- type ServiceImpl
- func (a *ServiceImpl) CaptureInfo(ctx context.Context) (<-chan *CaptureInfo, error)
- func (a *ServiceImpl) CurrentSettings(ctx context.Context) (<-chan []*Setting, error)
- func (s *ServiceImpl) FormatStorage(ctx context.Context) (*FormatStorageResponse, error)
- func (s *ServiceImpl) GetSetting(ctx context.Context, setting *Setting) (*GetSettingResponse, error)
- func (a *ServiceImpl) Information(ctx context.Context) (<-chan *Information, error)
- func (s *ServiceImpl) ListPhotos(ctx context.Context, photosRange *PhotosRange) (*ListPhotosResponse, error)
- func (a *ServiceImpl) Mode(ctx context.Context) (<-chan Mode, error)
- func (a *ServiceImpl) PossibleSettingOptions(ctx context.Context) (<-chan []*SettingOptions, error)
- func (s *ServiceImpl) Prepare(ctx context.Context) (*PrepareResponse, error)
- func (s *ServiceImpl) SelectCamera(ctx context.Context, cameraId int32) (*SelectCameraResponse, error)
- func (s *ServiceImpl) SetMode(ctx context.Context, mode *Mode) (*SetModeResponse, error)
- func (s *ServiceImpl) SetSetting(ctx context.Context, setting *Setting) (*SetSettingResponse, error)
- func (s *ServiceImpl) StartPhotoInterval(ctx context.Context, intervalS float32) (*StartPhotoIntervalResponse, error)
- func (s *ServiceImpl) StartVideo(ctx context.Context) (*StartVideoResponse, error)
- func (s *ServiceImpl) StartVideoStreaming(ctx context.Context) (*StartVideoStreamingResponse, error)
- func (a *ServiceImpl) Status(ctx context.Context) (<-chan *Status, error)
- func (s *ServiceImpl) StopPhotoInterval(ctx context.Context) (*StopPhotoIntervalResponse, error)
- func (s *ServiceImpl) StopVideo(ctx context.Context) (*StopVideoResponse, error)
- func (s *ServiceImpl) StopVideoStreaming(ctx context.Context) (*StopVideoStreamingResponse, error)
- func (s *ServiceImpl) TakePhoto(ctx context.Context) (*TakePhotoResponse, error)
- func (a *ServiceImpl) VideoStreamInfo(ctx context.Context) (<-chan *VideoStreamInfo, error)
- type SetModeRequest
- type SetModeResponse
- type SetSettingRequest
- type SetSettingResponse
- func (*SetSettingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetSettingResponse) GetCameraResult() *CameraResult
- func (*SetSettingResponse) ProtoMessage()
- func (x *SetSettingResponse) ProtoReflect() protoreflect.Message
- func (x *SetSettingResponse) Reset()
- func (x *SetSettingResponse) String() string
- type Setting
- func (*Setting) Descriptor() ([]byte, []int)deprecated
- func (x *Setting) GetIsRange() bool
- func (x *Setting) GetOption() *Option
- func (x *Setting) GetSettingDescription() string
- func (x *Setting) GetSettingId() string
- func (*Setting) ProtoMessage()
- func (x *Setting) ProtoReflect() protoreflect.Message
- func (x *Setting) Reset()
- func (x *Setting) String() string
- type SettingOptions
- func (*SettingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SettingOptions) GetIsRange() bool
- func (x *SettingOptions) GetOptions() []*Option
- func (x *SettingOptions) GetSettingDescription() string
- func (x *SettingOptions) GetSettingId() string
- func (*SettingOptions) ProtoMessage()
- func (x *SettingOptions) ProtoReflect() protoreflect.Message
- func (x *SettingOptions) Reset()
- func (x *SettingOptions) String() string
- type StartPhotoIntervalRequest
- func (*StartPhotoIntervalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartPhotoIntervalRequest) GetIntervalS() float32
- func (*StartPhotoIntervalRequest) ProtoMessage()
- func (x *StartPhotoIntervalRequest) ProtoReflect() protoreflect.Message
- func (x *StartPhotoIntervalRequest) Reset()
- func (x *StartPhotoIntervalRequest) String() string
- type StartPhotoIntervalResponse
- func (*StartPhotoIntervalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartPhotoIntervalResponse) GetCameraResult() *CameraResult
- func (*StartPhotoIntervalResponse) ProtoMessage()
- func (x *StartPhotoIntervalResponse) ProtoReflect() protoreflect.Message
- func (x *StartPhotoIntervalResponse) Reset()
- func (x *StartPhotoIntervalResponse) String() string
- type StartVideoRequest
- type StartVideoResponse
- func (*StartVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartVideoResponse) GetCameraResult() *CameraResult
- func (*StartVideoResponse) ProtoMessage()
- func (x *StartVideoResponse) ProtoReflect() protoreflect.Message
- func (x *StartVideoResponse) Reset()
- func (x *StartVideoResponse) String() string
- type StartVideoStreamingRequest
- type StartVideoStreamingResponse
- func (*StartVideoStreamingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartVideoStreamingResponse) GetCameraResult() *CameraResult
- func (*StartVideoStreamingResponse) ProtoMessage()
- func (x *StartVideoStreamingResponse) ProtoReflect() protoreflect.Message
- func (x *StartVideoStreamingResponse) Reset()
- func (x *StartVideoStreamingResponse) String() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetAvailableStorageMib() float32
- func (x *Status) GetMediaFolderName() string
- func (x *Status) GetPhotoIntervalOn() bool
- func (x *Status) GetRecordingTimeS() float32
- func (x *Status) GetStorageId() uint32
- func (x *Status) GetStorageStatus() Status_StorageStatus
- func (x *Status) GetStorageType() Status_StorageType
- func (x *Status) GetTotalStorageMib() float32
- func (x *Status) GetUsedStorageMib() float32
- func (x *Status) GetVideoOn() bool
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type StatusResponse
- type Status_StorageStatus
- func (Status_StorageStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Status_StorageStatus) Enum() *Status_StorageStatus
- func (Status_StorageStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Status_StorageStatus) Number() protoreflect.EnumNumber
- func (x Status_StorageStatus) String() string
- func (Status_StorageStatus) Type() protoreflect.EnumType
- type Status_StorageType
- func (Status_StorageType) Descriptor() protoreflect.EnumDescriptor
- func (x Status_StorageType) Enum() *Status_StorageType
- func (Status_StorageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Status_StorageType) Number() protoreflect.EnumNumber
- func (x Status_StorageType) String() string
- func (Status_StorageType) Type() protoreflect.EnumType
- type StopPhotoIntervalRequest
- type StopPhotoIntervalResponse
- func (*StopPhotoIntervalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StopPhotoIntervalResponse) GetCameraResult() *CameraResult
- func (*StopPhotoIntervalResponse) ProtoMessage()
- func (x *StopPhotoIntervalResponse) ProtoReflect() protoreflect.Message
- func (x *StopPhotoIntervalResponse) Reset()
- func (x *StopPhotoIntervalResponse) String() string
- type StopVideoRequest
- type StopVideoResponse
- func (*StopVideoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StopVideoResponse) GetCameraResult() *CameraResult
- func (*StopVideoResponse) ProtoMessage()
- func (x *StopVideoResponse) ProtoReflect() protoreflect.Message
- func (x *StopVideoResponse) Reset()
- func (x *StopVideoResponse) String() string
- type StopVideoStreamingRequest
- type StopVideoStreamingResponse
- func (*StopVideoStreamingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StopVideoStreamingResponse) GetCameraResult() *CameraResult
- func (*StopVideoStreamingResponse) ProtoMessage()
- func (x *StopVideoStreamingResponse) ProtoReflect() protoreflect.Message
- func (x *StopVideoStreamingResponse) Reset()
- func (x *StopVideoStreamingResponse) String() string
- type SubscribeCaptureInfoRequest
- type SubscribeCurrentSettingsRequest
- func (*SubscribeCurrentSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeCurrentSettingsRequest) ProtoMessage()
- func (x *SubscribeCurrentSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeCurrentSettingsRequest) Reset()
- func (x *SubscribeCurrentSettingsRequest) String() string
- type SubscribeInformationRequest
- type SubscribeModeRequest
- type SubscribePossibleSettingOptionsRequest
- func (*SubscribePossibleSettingOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribePossibleSettingOptionsRequest) ProtoMessage()
- func (x *SubscribePossibleSettingOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribePossibleSettingOptionsRequest) Reset()
- func (x *SubscribePossibleSettingOptionsRequest) String() string
- type SubscribeStatusRequest
- type SubscribeVideoStreamInfoRequest
- func (*SubscribeVideoStreamInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeVideoStreamInfoRequest) ProtoMessage()
- func (x *SubscribeVideoStreamInfoRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeVideoStreamInfoRequest) Reset()
- func (x *SubscribeVideoStreamInfoRequest) String() string
- type TakePhotoRequest
- type TakePhotoResponse
- func (*TakePhotoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TakePhotoResponse) GetCameraResult() *CameraResult
- func (*TakePhotoResponse) ProtoMessage()
- func (x *TakePhotoResponse) ProtoReflect() protoreflect.Message
- func (x *TakePhotoResponse) Reset()
- func (x *TakePhotoResponse) String() string
- type UnimplementedCameraServiceServer
- func (UnimplementedCameraServiceServer) FormatStorage(context.Context, *FormatStorageRequest) (*FormatStorageResponse, error)
- func (UnimplementedCameraServiceServer) GetSetting(context.Context, *GetSettingRequest) (*GetSettingResponse, error)
- func (UnimplementedCameraServiceServer) ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error)
- func (UnimplementedCameraServiceServer) Prepare(context.Context, *PrepareRequest) (*PrepareResponse, error)
- func (UnimplementedCameraServiceServer) SelectCamera(context.Context, *SelectCameraRequest) (*SelectCameraResponse, error)
- func (UnimplementedCameraServiceServer) SetMode(context.Context, *SetModeRequest) (*SetModeResponse, error)
- func (UnimplementedCameraServiceServer) SetSetting(context.Context, *SetSettingRequest) (*SetSettingResponse, error)
- func (UnimplementedCameraServiceServer) StartPhotoInterval(context.Context, *StartPhotoIntervalRequest) (*StartPhotoIntervalResponse, error)
- func (UnimplementedCameraServiceServer) StartVideo(context.Context, *StartVideoRequest) (*StartVideoResponse, error)
- func (UnimplementedCameraServiceServer) StartVideoStreaming(context.Context, *StartVideoStreamingRequest) (*StartVideoStreamingResponse, error)
- func (UnimplementedCameraServiceServer) StopPhotoInterval(context.Context, *StopPhotoIntervalRequest) (*StopPhotoIntervalResponse, error)
- func (UnimplementedCameraServiceServer) StopVideo(context.Context, *StopVideoRequest) (*StopVideoResponse, error)
- func (UnimplementedCameraServiceServer) StopVideoStreaming(context.Context, *StopVideoStreamingRequest) (*StopVideoStreamingResponse, error)
- func (UnimplementedCameraServiceServer) SubscribeCaptureInfo(*SubscribeCaptureInfoRequest, CameraService_SubscribeCaptureInfoServer) error
- func (UnimplementedCameraServiceServer) SubscribeCurrentSettings(*SubscribeCurrentSettingsRequest, CameraService_SubscribeCurrentSettingsServer) error
- func (UnimplementedCameraServiceServer) SubscribeInformation(*SubscribeInformationRequest, CameraService_SubscribeInformationServer) error
- func (UnimplementedCameraServiceServer) SubscribeMode(*SubscribeModeRequest, CameraService_SubscribeModeServer) error
- func (UnimplementedCameraServiceServer) SubscribePossibleSettingOptions(*SubscribePossibleSettingOptionsRequest, ...) error
- func (UnimplementedCameraServiceServer) SubscribeStatus(*SubscribeStatusRequest, CameraService_SubscribeStatusServer) error
- func (UnimplementedCameraServiceServer) SubscribeVideoStreamInfo(*SubscribeVideoStreamInfoRequest, CameraService_SubscribeVideoStreamInfoServer) error
- func (UnimplementedCameraServiceServer) TakePhoto(context.Context, *TakePhotoRequest) (*TakePhotoResponse, error)
- type UnsafeCameraServiceServer
- type VideoStreamInfo
- func (*VideoStreamInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VideoStreamInfo) GetSettings() *VideoStreamSettings
- func (x *VideoStreamInfo) GetSpectrum() VideoStreamInfo_VideoStreamSpectrum
- func (x *VideoStreamInfo) GetStatus() VideoStreamInfo_VideoStreamStatus
- func (*VideoStreamInfo) ProtoMessage()
- func (x *VideoStreamInfo) ProtoReflect() protoreflect.Message
- func (x *VideoStreamInfo) Reset()
- func (x *VideoStreamInfo) String() string
- type VideoStreamInfoResponse
- func (*VideoStreamInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VideoStreamInfoResponse) GetVideoStreamInfo() *VideoStreamInfo
- func (*VideoStreamInfoResponse) ProtoMessage()
- func (x *VideoStreamInfoResponse) ProtoReflect() protoreflect.Message
- func (x *VideoStreamInfoResponse) Reset()
- func (x *VideoStreamInfoResponse) String() string
- type VideoStreamInfo_VideoStreamSpectrum
- func (VideoStreamInfo_VideoStreamSpectrum) Descriptor() protoreflect.EnumDescriptor
- func (x VideoStreamInfo_VideoStreamSpectrum) Enum() *VideoStreamInfo_VideoStreamSpectrum
- func (VideoStreamInfo_VideoStreamSpectrum) EnumDescriptor() ([]byte, []int)deprecated
- func (x VideoStreamInfo_VideoStreamSpectrum) Number() protoreflect.EnumNumber
- func (x VideoStreamInfo_VideoStreamSpectrum) String() string
- func (VideoStreamInfo_VideoStreamSpectrum) Type() protoreflect.EnumType
- type VideoStreamInfo_VideoStreamStatus
- func (VideoStreamInfo_VideoStreamStatus) Descriptor() protoreflect.EnumDescriptor
- func (x VideoStreamInfo_VideoStreamStatus) Enum() *VideoStreamInfo_VideoStreamStatus
- func (VideoStreamInfo_VideoStreamStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x VideoStreamInfo_VideoStreamStatus) Number() protoreflect.EnumNumber
- func (x VideoStreamInfo_VideoStreamStatus) String() string
- func (VideoStreamInfo_VideoStreamStatus) Type() protoreflect.EnumType
- type VideoStreamSettings
- func (*VideoStreamSettings) Descriptor() ([]byte, []int)deprecated
- func (x *VideoStreamSettings) GetBitRateBS() uint32
- func (x *VideoStreamSettings) GetFrameRateHz() float32
- func (x *VideoStreamSettings) GetHorizontalFovDeg() float32
- func (x *VideoStreamSettings) GetHorizontalResolutionPix() uint32
- func (x *VideoStreamSettings) GetRotationDeg() uint32
- func (x *VideoStreamSettings) GetUri() string
- func (x *VideoStreamSettings) GetVerticalResolutionPix() uint32
- func (*VideoStreamSettings) ProtoMessage()
- func (x *VideoStreamSettings) ProtoReflect() protoreflect.Message
- func (x *VideoStreamSettings) Reset()
- func (x *VideoStreamSettings) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Mode_name = map[int32]string{ 0: "MODE_UNKNOWN", 1: "MODE_PHOTO", 2: "MODE_VIDEO", } Mode_value = map[string]int32{ "MODE_UNKNOWN": 0, "MODE_PHOTO": 1, "MODE_VIDEO": 2, } )
Enum value maps for Mode.
var ( PhotosRange_name = map[int32]string{ 0: "PHOTOS_RANGE_ALL", 1: "PHOTOS_RANGE_SINCE_CONNECTION", } PhotosRange_value = map[string]int32{ "PHOTOS_RANGE_ALL": 0, "PHOTOS_RANGE_SINCE_CONNECTION": 1, } )
Enum value maps for PhotosRange.
var ( CameraResult_Result_name = map[int32]string{ 0: "RESULT_UNKNOWN", 1: "RESULT_SUCCESS", 2: "RESULT_IN_PROGRESS", 3: "RESULT_BUSY", 4: "RESULT_DENIED", 5: "RESULT_ERROR", 6: "RESULT_TIMEOUT", 7: "RESULT_WRONG_ARGUMENT", 8: "RESULT_NO_SYSTEM", } CameraResult_Result_value = map[string]int32{ "RESULT_UNKNOWN": 0, "RESULT_SUCCESS": 1, "RESULT_IN_PROGRESS": 2, "RESULT_BUSY": 3, "RESULT_DENIED": 4, "RESULT_ERROR": 5, "RESULT_TIMEOUT": 6, "RESULT_WRONG_ARGUMENT": 7, "RESULT_NO_SYSTEM": 8, } )
Enum value maps for CameraResult_Result.
var ( VideoStreamInfo_VideoStreamStatus_name = map[int32]string{ 0: "VIDEO_STREAM_STATUS_NOT_RUNNING", 1: "VIDEO_STREAM_STATUS_IN_PROGRESS", } VideoStreamInfo_VideoStreamStatus_value = map[string]int32{ "VIDEO_STREAM_STATUS_NOT_RUNNING": 0, "VIDEO_STREAM_STATUS_IN_PROGRESS": 1, } )
Enum value maps for VideoStreamInfo_VideoStreamStatus.
var ( VideoStreamInfo_VideoStreamSpectrum_name = map[int32]string{ 0: "VIDEO_STREAM_SPECTRUM_UNKNOWN", 1: "VIDEO_STREAM_SPECTRUM_VISIBLE_LIGHT", 2: "VIDEO_STREAM_SPECTRUM_INFRARED", } VideoStreamInfo_VideoStreamSpectrum_value = map[string]int32{ "VIDEO_STREAM_SPECTRUM_UNKNOWN": 0, "VIDEO_STREAM_SPECTRUM_VISIBLE_LIGHT": 1, "VIDEO_STREAM_SPECTRUM_INFRARED": 2, } )
Enum value maps for VideoStreamInfo_VideoStreamSpectrum.
var ( Status_StorageStatus_name = map[int32]string{ 0: "STORAGE_STATUS_NOT_AVAILABLE", 1: "STORAGE_STATUS_UNFORMATTED", 2: "STORAGE_STATUS_FORMATTED", 3: "STORAGE_STATUS_NOT_SUPPORTED", } Status_StorageStatus_value = map[string]int32{ "STORAGE_STATUS_NOT_AVAILABLE": 0, "STORAGE_STATUS_UNFORMATTED": 1, "STORAGE_STATUS_FORMATTED": 2, "STORAGE_STATUS_NOT_SUPPORTED": 3, } )
Enum value maps for Status_StorageStatus.
var ( Status_StorageType_name = map[int32]string{ 0: "STORAGE_TYPE_UNKNOWN", 1: "STORAGE_TYPE_USB_STICK", 2: "STORAGE_TYPE_SD", 3: "STORAGE_TYPE_MICROSD", 7: "STORAGE_TYPE_HD", 254: "STORAGE_TYPE_OTHER", } Status_StorageType_value = map[string]int32{ "STORAGE_TYPE_UNKNOWN": 0, "STORAGE_TYPE_USB_STICK": 1, "STORAGE_TYPE_SD": 2, "STORAGE_TYPE_MICROSD": 3, "STORAGE_TYPE_HD": 7, "STORAGE_TYPE_OTHER": 254, } )
Enum value maps for Status_StorageType.
var CameraService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mavsdk.rpc.camera.CameraService", HandlerType: (*CameraServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Prepare", Handler: _CameraService_Prepare_Handler, }, { MethodName: "TakePhoto", Handler: _CameraService_TakePhoto_Handler, }, { MethodName: "StartPhotoInterval", Handler: _CameraService_StartPhotoInterval_Handler, }, { MethodName: "StopPhotoInterval", Handler: _CameraService_StopPhotoInterval_Handler, }, { MethodName: "StartVideo", Handler: _CameraService_StartVideo_Handler, }, { MethodName: "StopVideo", Handler: _CameraService_StopVideo_Handler, }, { MethodName: "StartVideoStreaming", Handler: _CameraService_StartVideoStreaming_Handler, }, { MethodName: "StopVideoStreaming", Handler: _CameraService_StopVideoStreaming_Handler, }, { MethodName: "SetMode", Handler: _CameraService_SetMode_Handler, }, { MethodName: "ListPhotos", Handler: _CameraService_ListPhotos_Handler, }, { MethodName: "SetSetting", Handler: _CameraService_SetSetting_Handler, }, { MethodName: "GetSetting", Handler: _CameraService_GetSetting_Handler, }, { MethodName: "FormatStorage", Handler: _CameraService_FormatStorage_Handler, }, { MethodName: "SelectCamera", Handler: _CameraService_SelectCamera_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeMode", Handler: _CameraService_SubscribeMode_Handler, ServerStreams: true, }, { StreamName: "SubscribeInformation", Handler: _CameraService_SubscribeInformation_Handler, ServerStreams: true, }, { StreamName: "SubscribeVideoStreamInfo", Handler: _CameraService_SubscribeVideoStreamInfo_Handler, ServerStreams: true, }, { StreamName: "SubscribeCaptureInfo", Handler: _CameraService_SubscribeCaptureInfo_Handler, ServerStreams: true, }, { StreamName: "SubscribeStatus", Handler: _CameraService_SubscribeStatus_Handler, ServerStreams: true, }, { StreamName: "SubscribeCurrentSettings", Handler: _CameraService_SubscribeCurrentSettings_Handler, ServerStreams: true, }, { StreamName: "SubscribePossibleSettingOptions", Handler: _CameraService_SubscribePossibleSettingOptions_Handler, ServerStreams: true, }, }, Metadata: "camera.proto", }
CameraService_ServiceDesc is the grpc.ServiceDesc for CameraService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_camera_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCameraServiceServer ¶
func RegisterCameraServiceServer(s grpc.ServiceRegistrar, srv CameraServiceServer)
Types ¶
type CameraResult ¶
type CameraResult struct { Result CameraResult_Result `protobuf:"varint,1,opt,name=result,proto3,enum=mavsdk.rpc.camera.CameraResult_Result" json:"result,omitempty"` // Result enum value ResultStr string `protobuf:"bytes,2,opt,name=result_str,json=resultStr,proto3" json:"result_str,omitempty"` // Human-readable English string describing the result // contains filtered or unexported fields }
Result type.
func (*CameraResult) Descriptor
deprecated
func (*CameraResult) Descriptor() ([]byte, []int)
Deprecated: Use CameraResult.ProtoReflect.Descriptor instead.
func (*CameraResult) GetResult ¶
func (x *CameraResult) GetResult() CameraResult_Result
func (*CameraResult) GetResultStr ¶
func (x *CameraResult) GetResultStr() string
func (*CameraResult) ProtoMessage ¶
func (*CameraResult) ProtoMessage()
func (*CameraResult) ProtoReflect ¶
func (x *CameraResult) ProtoReflect() protoreflect.Message
func (*CameraResult) Reset ¶
func (x *CameraResult) Reset()
func (*CameraResult) String ¶
func (x *CameraResult) String() string
type CameraResult_Result ¶
type CameraResult_Result int32
Possible results returned for camera commands
const ( CameraResult_RESULT_UNKNOWN CameraResult_Result = 0 // Unknown result CameraResult_RESULT_SUCCESS CameraResult_Result = 1 // Command executed successfully CameraResult_RESULT_IN_PROGRESS CameraResult_Result = 2 // Command in progress CameraResult_RESULT_BUSY CameraResult_Result = 3 // Camera is busy and rejected command CameraResult_RESULT_DENIED CameraResult_Result = 4 // Camera denied the command CameraResult_RESULT_ERROR CameraResult_Result = 5 // An error has occurred while executing the command CameraResult_RESULT_TIMEOUT CameraResult_Result = 6 // Command timed out CameraResult_RESULT_WRONG_ARGUMENT CameraResult_Result = 7 // Command has wrong argument(s) CameraResult_RESULT_NO_SYSTEM CameraResult_Result = 8 // No system connected )
func (CameraResult_Result) Descriptor ¶
func (CameraResult_Result) Descriptor() protoreflect.EnumDescriptor
func (CameraResult_Result) Enum ¶
func (x CameraResult_Result) Enum() *CameraResult_Result
func (CameraResult_Result) EnumDescriptor
deprecated
func (CameraResult_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use CameraResult_Result.Descriptor instead.
func (CameraResult_Result) Number ¶
func (x CameraResult_Result) Number() protoreflect.EnumNumber
func (CameraResult_Result) String ¶
func (x CameraResult_Result) String() string
func (CameraResult_Result) Type ¶
func (CameraResult_Result) Type() protoreflect.EnumType
type CameraServiceClient ¶
type CameraServiceClient interface { // Prepare the camera plugin (e.g. download the camera definition, etc). Prepare(ctx context.Context, in *PrepareRequest, opts ...grpc.CallOption) (*PrepareResponse, error) // Take one photo. TakePhoto(ctx context.Context, in *TakePhotoRequest, opts ...grpc.CallOption) (*TakePhotoResponse, error) // Start photo timelapse with a given interval. StartPhotoInterval(ctx context.Context, in *StartPhotoIntervalRequest, opts ...grpc.CallOption) (*StartPhotoIntervalResponse, error) // Stop a running photo timelapse. StopPhotoInterval(ctx context.Context, in *StopPhotoIntervalRequest, opts ...grpc.CallOption) (*StopPhotoIntervalResponse, error) // Start a video recording. StartVideo(ctx context.Context, in *StartVideoRequest, opts ...grpc.CallOption) (*StartVideoResponse, error) // Stop a running video recording. StopVideo(ctx context.Context, in *StopVideoRequest, opts ...grpc.CallOption) (*StopVideoResponse, error) // Start video streaming. StartVideoStreaming(ctx context.Context, in *StartVideoStreamingRequest, opts ...grpc.CallOption) (*StartVideoStreamingResponse, error) // Stop current video streaming. StopVideoStreaming(ctx context.Context, in *StopVideoStreamingRequest, opts ...grpc.CallOption) (*StopVideoStreamingResponse, error) // Set camera mode. SetMode(ctx context.Context, in *SetModeRequest, opts ...grpc.CallOption) (*SetModeResponse, error) // List photos available on the camera. ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error) // Subscribe to camera mode updates. SubscribeMode(ctx context.Context, in *SubscribeModeRequest, opts ...grpc.CallOption) (CameraService_SubscribeModeClient, error) // Subscribe to camera information updates. SubscribeInformation(ctx context.Context, in *SubscribeInformationRequest, opts ...grpc.CallOption) (CameraService_SubscribeInformationClient, error) // Subscribe to video stream info updates. SubscribeVideoStreamInfo(ctx context.Context, in *SubscribeVideoStreamInfoRequest, opts ...grpc.CallOption) (CameraService_SubscribeVideoStreamInfoClient, error) // Subscribe to capture info updates. SubscribeCaptureInfo(ctx context.Context, in *SubscribeCaptureInfoRequest, opts ...grpc.CallOption) (CameraService_SubscribeCaptureInfoClient, error) // Subscribe to camera status updates. SubscribeStatus(ctx context.Context, in *SubscribeStatusRequest, opts ...grpc.CallOption) (CameraService_SubscribeStatusClient, error) // Get the list of current camera settings. SubscribeCurrentSettings(ctx context.Context, in *SubscribeCurrentSettingsRequest, opts ...grpc.CallOption) (CameraService_SubscribeCurrentSettingsClient, error) // Get the list of settings that can be changed. SubscribePossibleSettingOptions(ctx context.Context, in *SubscribePossibleSettingOptionsRequest, opts ...grpc.CallOption) (CameraService_SubscribePossibleSettingOptionsClient, error) // Set a setting to some value. // // Only setting_id of setting and option_id of option needs to be set. SetSetting(ctx context.Context, in *SetSettingRequest, opts ...grpc.CallOption) (*SetSettingResponse, error) // Get a setting. // // Only setting_id of setting needs to be set. GetSetting(ctx context.Context, in *GetSettingRequest, opts ...grpc.CallOption) (*GetSettingResponse, error) // Format storage (e.g. SD card) in camera. // // This will delete all content of the camera storage! FormatStorage(ctx context.Context, in *FormatStorageRequest, opts ...grpc.CallOption) (*FormatStorageResponse, error) // Select current camera . // // Bind the plugin instance to a specific camera_id SelectCamera(ctx context.Context, in *SelectCameraRequest, opts ...grpc.CallOption) (*SelectCameraResponse, error) }
CameraServiceClient is the client API for CameraService 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 NewCameraServiceClient ¶
func NewCameraServiceClient(cc grpc.ClientConnInterface) CameraServiceClient
type CameraServiceServer ¶
type CameraServiceServer interface { // Prepare the camera plugin (e.g. download the camera definition, etc). Prepare(context.Context, *PrepareRequest) (*PrepareResponse, error) // Take one photo. TakePhoto(context.Context, *TakePhotoRequest) (*TakePhotoResponse, error) // Start photo timelapse with a given interval. StartPhotoInterval(context.Context, *StartPhotoIntervalRequest) (*StartPhotoIntervalResponse, error) // Stop a running photo timelapse. StopPhotoInterval(context.Context, *StopPhotoIntervalRequest) (*StopPhotoIntervalResponse, error) // Start a video recording. StartVideo(context.Context, *StartVideoRequest) (*StartVideoResponse, error) // Stop a running video recording. StopVideo(context.Context, *StopVideoRequest) (*StopVideoResponse, error) // Start video streaming. StartVideoStreaming(context.Context, *StartVideoStreamingRequest) (*StartVideoStreamingResponse, error) // Stop current video streaming. StopVideoStreaming(context.Context, *StopVideoStreamingRequest) (*StopVideoStreamingResponse, error) // Set camera mode. SetMode(context.Context, *SetModeRequest) (*SetModeResponse, error) // List photos available on the camera. ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error) // Subscribe to camera mode updates. SubscribeMode(*SubscribeModeRequest, CameraService_SubscribeModeServer) error // Subscribe to camera information updates. SubscribeInformation(*SubscribeInformationRequest, CameraService_SubscribeInformationServer) error // Subscribe to video stream info updates. SubscribeVideoStreamInfo(*SubscribeVideoStreamInfoRequest, CameraService_SubscribeVideoStreamInfoServer) error // Subscribe to capture info updates. SubscribeCaptureInfo(*SubscribeCaptureInfoRequest, CameraService_SubscribeCaptureInfoServer) error // Subscribe to camera status updates. SubscribeStatus(*SubscribeStatusRequest, CameraService_SubscribeStatusServer) error // Get the list of current camera settings. SubscribeCurrentSettings(*SubscribeCurrentSettingsRequest, CameraService_SubscribeCurrentSettingsServer) error // Get the list of settings that can be changed. SubscribePossibleSettingOptions(*SubscribePossibleSettingOptionsRequest, CameraService_SubscribePossibleSettingOptionsServer) error // Set a setting to some value. // // Only setting_id of setting and option_id of option needs to be set. SetSetting(context.Context, *SetSettingRequest) (*SetSettingResponse, error) // Get a setting. // // Only setting_id of setting needs to be set. GetSetting(context.Context, *GetSettingRequest) (*GetSettingResponse, error) // Format storage (e.g. SD card) in camera. // // This will delete all content of the camera storage! FormatStorage(context.Context, *FormatStorageRequest) (*FormatStorageResponse, error) // Select current camera . // // Bind the plugin instance to a specific camera_id SelectCamera(context.Context, *SelectCameraRequest) (*SelectCameraResponse, error) // contains filtered or unexported methods }
CameraServiceServer is the server API for CameraService service. All implementations must embed UnimplementedCameraServiceServer for forward compatibility
type CameraService_SubscribeCaptureInfoClient ¶
type CameraService_SubscribeCaptureInfoClient interface { Recv() (*CaptureInfoResponse, error) grpc.ClientStream }
type CameraService_SubscribeCaptureInfoServer ¶
type CameraService_SubscribeCaptureInfoServer interface { Send(*CaptureInfoResponse) error grpc.ServerStream }
type CameraService_SubscribeCurrentSettingsClient ¶
type CameraService_SubscribeCurrentSettingsClient interface { Recv() (*CurrentSettingsResponse, error) grpc.ClientStream }
type CameraService_SubscribeCurrentSettingsServer ¶
type CameraService_SubscribeCurrentSettingsServer interface { Send(*CurrentSettingsResponse) error grpc.ServerStream }
type CameraService_SubscribeInformationClient ¶
type CameraService_SubscribeInformationClient interface { Recv() (*InformationResponse, error) grpc.ClientStream }
type CameraService_SubscribeInformationServer ¶
type CameraService_SubscribeInformationServer interface { Send(*InformationResponse) error grpc.ServerStream }
type CameraService_SubscribeModeClient ¶
type CameraService_SubscribeModeClient interface { Recv() (*ModeResponse, error) grpc.ClientStream }
type CameraService_SubscribeModeServer ¶
type CameraService_SubscribeModeServer interface { Send(*ModeResponse) error grpc.ServerStream }
type CameraService_SubscribePossibleSettingOptionsClient ¶
type CameraService_SubscribePossibleSettingOptionsClient interface { Recv() (*PossibleSettingOptionsResponse, error) grpc.ClientStream }
type CameraService_SubscribePossibleSettingOptionsServer ¶
type CameraService_SubscribePossibleSettingOptionsServer interface { Send(*PossibleSettingOptionsResponse) error grpc.ServerStream }
type CameraService_SubscribeStatusClient ¶
type CameraService_SubscribeStatusClient interface { Recv() (*StatusResponse, error) grpc.ClientStream }
type CameraService_SubscribeStatusServer ¶
type CameraService_SubscribeStatusServer interface { Send(*StatusResponse) error grpc.ServerStream }
type CameraService_SubscribeVideoStreamInfoClient ¶
type CameraService_SubscribeVideoStreamInfoClient interface { Recv() (*VideoStreamInfoResponse, error) grpc.ClientStream }
type CameraService_SubscribeVideoStreamInfoServer ¶
type CameraService_SubscribeVideoStreamInfoServer interface { Send(*VideoStreamInfoResponse) error grpc.ServerStream }
type CaptureInfo ¶
type CaptureInfo struct { Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // Location where the picture was taken AttitudeQuaternion *Quaternion `protobuf:"bytes,2,opt,name=attitude_quaternion,json=attitudeQuaternion,proto3" json:"attitude_quaternion,omitempty"` // Attitude of the camera when the picture was taken (quaternion) AttitudeEulerAngle *EulerAngle `protobuf:"bytes,3,opt,name=attitude_euler_angle,json=attitudeEulerAngle,proto3" json:"attitude_euler_angle,omitempty"` // Attitude of the camera when the picture was taken (euler angle) TimeUtcUs uint64 `protobuf:"varint,4,opt,name=time_utc_us,json=timeUtcUs,proto3" json:"time_utc_us,omitempty"` // Timestamp in UTC (since UNIX epoch) in microseconds IsSuccess bool `protobuf:"varint,5,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` // True if the capture was successful Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` // Zero-based index of this image since vehicle was armed FileUrl string `protobuf:"bytes,7,opt,name=file_url,json=fileUrl,proto3" json:"file_url,omitempty"` // Download URL of this image // contains filtered or unexported fields }
Information about a picture just captured.
func (*CaptureInfo) Descriptor
deprecated
func (*CaptureInfo) Descriptor() ([]byte, []int)
Deprecated: Use CaptureInfo.ProtoReflect.Descriptor instead.
func (*CaptureInfo) GetAttitudeEulerAngle ¶
func (x *CaptureInfo) GetAttitudeEulerAngle() *EulerAngle
func (*CaptureInfo) GetAttitudeQuaternion ¶
func (x *CaptureInfo) GetAttitudeQuaternion() *Quaternion
func (*CaptureInfo) GetFileUrl ¶
func (x *CaptureInfo) GetFileUrl() string
func (*CaptureInfo) GetIndex ¶
func (x *CaptureInfo) GetIndex() int32
func (*CaptureInfo) GetIsSuccess ¶
func (x *CaptureInfo) GetIsSuccess() bool
func (*CaptureInfo) GetPosition ¶
func (x *CaptureInfo) GetPosition() *Position
func (*CaptureInfo) GetTimeUtcUs ¶
func (x *CaptureInfo) GetTimeUtcUs() uint64
func (*CaptureInfo) ProtoMessage ¶
func (*CaptureInfo) ProtoMessage()
func (*CaptureInfo) ProtoReflect ¶
func (x *CaptureInfo) ProtoReflect() protoreflect.Message
func (*CaptureInfo) Reset ¶
func (x *CaptureInfo) Reset()
func (*CaptureInfo) String ¶
func (x *CaptureInfo) String() string
type CaptureInfoResponse ¶
type CaptureInfoResponse struct { CaptureInfo *CaptureInfo `protobuf:"bytes,1,opt,name=capture_info,json=captureInfo,proto3" json:"capture_info,omitempty"` // Capture info // contains filtered or unexported fields }
func (*CaptureInfoResponse) Descriptor
deprecated
func (*CaptureInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CaptureInfoResponse.ProtoReflect.Descriptor instead.
func (*CaptureInfoResponse) GetCaptureInfo ¶
func (x *CaptureInfoResponse) GetCaptureInfo() *CaptureInfo
func (*CaptureInfoResponse) ProtoMessage ¶
func (*CaptureInfoResponse) ProtoMessage()
func (*CaptureInfoResponse) ProtoReflect ¶
func (x *CaptureInfoResponse) ProtoReflect() protoreflect.Message
func (*CaptureInfoResponse) Reset ¶
func (x *CaptureInfoResponse) Reset()
func (*CaptureInfoResponse) String ¶
func (x *CaptureInfoResponse) String() string
type CurrentSettingsResponse ¶
type CurrentSettingsResponse struct { CurrentSettings []*Setting `protobuf:"bytes,1,rep,name=current_settings,json=currentSettings,proto3" json:"current_settings,omitempty"` // List of current settings // contains filtered or unexported fields }
func (*CurrentSettingsResponse) Descriptor
deprecated
func (*CurrentSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrentSettingsResponse.ProtoReflect.Descriptor instead.
func (*CurrentSettingsResponse) GetCurrentSettings ¶
func (x *CurrentSettingsResponse) GetCurrentSettings() []*Setting
func (*CurrentSettingsResponse) ProtoMessage ¶
func (*CurrentSettingsResponse) ProtoMessage()
func (*CurrentSettingsResponse) ProtoReflect ¶
func (x *CurrentSettingsResponse) ProtoReflect() protoreflect.Message
func (*CurrentSettingsResponse) Reset ¶
func (x *CurrentSettingsResponse) Reset()
func (*CurrentSettingsResponse) String ¶
func (x *CurrentSettingsResponse) 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 // 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) 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 FormatStorageRequest ¶
type FormatStorageRequest struct {
// contains filtered or unexported fields
}
func (*FormatStorageRequest) Descriptor
deprecated
func (*FormatStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use FormatStorageRequest.ProtoReflect.Descriptor instead.
func (*FormatStorageRequest) ProtoMessage ¶
func (*FormatStorageRequest) ProtoMessage()
func (*FormatStorageRequest) ProtoReflect ¶
func (x *FormatStorageRequest) ProtoReflect() protoreflect.Message
func (*FormatStorageRequest) Reset ¶
func (x *FormatStorageRequest) Reset()
func (*FormatStorageRequest) String ¶
func (x *FormatStorageRequest) String() string
type FormatStorageResponse ¶
type FormatStorageResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*FormatStorageResponse) Descriptor
deprecated
func (*FormatStorageResponse) Descriptor() ([]byte, []int)
Deprecated: Use FormatStorageResponse.ProtoReflect.Descriptor instead.
func (*FormatStorageResponse) GetCameraResult ¶
func (x *FormatStorageResponse) GetCameraResult() *CameraResult
func (*FormatStorageResponse) ProtoMessage ¶
func (*FormatStorageResponse) ProtoMessage()
func (*FormatStorageResponse) ProtoReflect ¶
func (x *FormatStorageResponse) ProtoReflect() protoreflect.Message
func (*FormatStorageResponse) Reset ¶
func (x *FormatStorageResponse) Reset()
func (*FormatStorageResponse) String ¶
func (x *FormatStorageResponse) String() string
type GetSettingRequest ¶
type GetSettingRequest struct { Setting *Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // Requested setting // contains filtered or unexported fields }
func (*GetSettingRequest) Descriptor
deprecated
func (*GetSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingRequest.ProtoReflect.Descriptor instead.
func (*GetSettingRequest) GetSetting ¶
func (x *GetSettingRequest) GetSetting() *Setting
func (*GetSettingRequest) ProtoMessage ¶
func (*GetSettingRequest) ProtoMessage()
func (*GetSettingRequest) ProtoReflect ¶
func (x *GetSettingRequest) ProtoReflect() protoreflect.Message
func (*GetSettingRequest) Reset ¶
func (x *GetSettingRequest) Reset()
func (*GetSettingRequest) String ¶
func (x *GetSettingRequest) String() string
type GetSettingResponse ¶
type GetSettingResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` Setting *Setting `protobuf:"bytes,2,opt,name=setting,proto3" json:"setting,omitempty"` // Setting // contains filtered or unexported fields }
func (*GetSettingResponse) Descriptor
deprecated
func (*GetSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingResponse.ProtoReflect.Descriptor instead.
func (*GetSettingResponse) GetCameraResult ¶
func (x *GetSettingResponse) GetCameraResult() *CameraResult
func (*GetSettingResponse) GetSetting ¶
func (x *GetSettingResponse) GetSetting() *Setting
func (*GetSettingResponse) ProtoMessage ¶
func (*GetSettingResponse) ProtoMessage()
func (*GetSettingResponse) ProtoReflect ¶
func (x *GetSettingResponse) ProtoReflect() protoreflect.Message
func (*GetSettingResponse) Reset ¶
func (x *GetSettingResponse) Reset()
func (*GetSettingResponse) String ¶
func (x *GetSettingResponse) String() string
type Information ¶
type Information struct { VendorName string `protobuf:"bytes,1,opt,name=vendor_name,json=vendorName,proto3" json:"vendor_name,omitempty"` // Name of the camera vendor ModelName string `protobuf:"bytes,2,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` // Name of the camera model FocalLengthMm float32 `protobuf:"fixed32,3,opt,name=focal_length_mm,json=focalLengthMm,proto3" json:"focal_length_mm,omitempty"` // Focal length HorizontalSensorSizeMm float32 `` // Horizontal sensor size /* 133-byte string literal not displayed */ VerticalSensorSizeMm float32 `` // Vertical sensor size /* 127-byte string literal not displayed */ HorizontalResolutionPx uint32 `` // Horizontal image resolution in pixels /* 130-byte string literal not displayed */ VerticalResolutionPx uint32 `protobuf:"varint,7,opt,name=vertical_resolution_px,json=verticalResolutionPx,proto3" json:"vertical_resolution_px,omitempty"` // Vertical image resolution in pixels // contains filtered or unexported fields }
Type to represent a camera information.
func (*Information) Descriptor
deprecated
func (*Information) Descriptor() ([]byte, []int)
Deprecated: Use Information.ProtoReflect.Descriptor instead.
func (*Information) GetFocalLengthMm ¶
func (x *Information) GetFocalLengthMm() float32
func (*Information) GetHorizontalResolutionPx ¶
func (x *Information) GetHorizontalResolutionPx() uint32
func (*Information) GetHorizontalSensorSizeMm ¶
func (x *Information) GetHorizontalSensorSizeMm() float32
func (*Information) GetModelName ¶
func (x *Information) GetModelName() string
func (*Information) GetVendorName ¶
func (x *Information) GetVendorName() string
func (*Information) GetVerticalResolutionPx ¶
func (x *Information) GetVerticalResolutionPx() uint32
func (*Information) GetVerticalSensorSizeMm ¶
func (x *Information) GetVerticalSensorSizeMm() float32
func (*Information) ProtoMessage ¶
func (*Information) ProtoMessage()
func (*Information) ProtoReflect ¶
func (x *Information) ProtoReflect() protoreflect.Message
func (*Information) Reset ¶
func (x *Information) Reset()
func (*Information) String ¶
func (x *Information) String() string
type InformationResponse ¶
type InformationResponse struct { Information *Information `protobuf:"bytes,1,opt,name=information,proto3" json:"information,omitempty"` // Camera information // contains filtered or unexported fields }
func (*InformationResponse) Descriptor
deprecated
func (*InformationResponse) Descriptor() ([]byte, []int)
Deprecated: Use InformationResponse.ProtoReflect.Descriptor instead.
func (*InformationResponse) GetInformation ¶
func (x *InformationResponse) GetInformation() *Information
func (*InformationResponse) ProtoMessage ¶
func (*InformationResponse) ProtoMessage()
func (*InformationResponse) ProtoReflect ¶
func (x *InformationResponse) ProtoReflect() protoreflect.Message
func (*InformationResponse) Reset ¶
func (x *InformationResponse) Reset()
func (*InformationResponse) String ¶
func (x *InformationResponse) String() string
type ListPhotosRequest ¶
type ListPhotosRequest struct { PhotosRange PhotosRange `` // Which photos should be listed (all or since connection) /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListPhotosRequest) Descriptor
deprecated
func (*ListPhotosRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPhotosRequest.ProtoReflect.Descriptor instead.
func (*ListPhotosRequest) GetPhotosRange ¶
func (x *ListPhotosRequest) GetPhotosRange() PhotosRange
func (*ListPhotosRequest) ProtoMessage ¶
func (*ListPhotosRequest) ProtoMessage()
func (*ListPhotosRequest) ProtoReflect ¶
func (x *ListPhotosRequest) ProtoReflect() protoreflect.Message
func (*ListPhotosRequest) Reset ¶
func (x *ListPhotosRequest) Reset()
func (*ListPhotosRequest) String ¶
func (x *ListPhotosRequest) String() string
type ListPhotosResponse ¶
type ListPhotosResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` CaptureInfos []*CaptureInfo `protobuf:"bytes,2,rep,name=capture_infos,json=captureInfos,proto3" json:"capture_infos,omitempty"` // List of capture infos (representing the photos) // contains filtered or unexported fields }
func (*ListPhotosResponse) Descriptor
deprecated
func (*ListPhotosResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPhotosResponse.ProtoReflect.Descriptor instead.
func (*ListPhotosResponse) GetCameraResult ¶
func (x *ListPhotosResponse) GetCameraResult() *CameraResult
func (*ListPhotosResponse) GetCaptureInfos ¶
func (x *ListPhotosResponse) GetCaptureInfos() []*CaptureInfo
func (*ListPhotosResponse) ProtoMessage ¶
func (*ListPhotosResponse) ProtoMessage()
func (*ListPhotosResponse) ProtoReflect ¶
func (x *ListPhotosResponse) ProtoReflect() protoreflect.Message
func (*ListPhotosResponse) Reset ¶
func (x *ListPhotosResponse) Reset()
func (*ListPhotosResponse) String ¶
func (x *ListPhotosResponse) String() string
type Mode ¶
type Mode int32
Camera mode type.
func (Mode) Descriptor ¶
func (Mode) Descriptor() protoreflect.EnumDescriptor
func (Mode) EnumDescriptor
deprecated
func (Mode) Number ¶
func (x Mode) Number() protoreflect.EnumNumber
func (Mode) Type ¶
func (Mode) Type() protoreflect.EnumType
type ModeResponse ¶
type ModeResponse struct { Mode Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=mavsdk.rpc.camera.Mode" json:"mode,omitempty"` // Camera mode // contains filtered or unexported fields }
func (*ModeResponse) Descriptor
deprecated
func (*ModeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModeResponse.ProtoReflect.Descriptor instead.
func (*ModeResponse) GetMode ¶
func (x *ModeResponse) GetMode() Mode
func (*ModeResponse) ProtoMessage ¶
func (*ModeResponse) ProtoMessage()
func (*ModeResponse) ProtoReflect ¶
func (x *ModeResponse) ProtoReflect() protoreflect.Message
func (*ModeResponse) Reset ¶
func (x *ModeResponse) Reset()
func (*ModeResponse) String ¶
func (x *ModeResponse) String() string
type Option ¶
type Option struct { OptionId string `protobuf:"bytes,1,opt,name=option_id,json=optionId,proto3" json:"option_id,omitempty"` // Name of the option (machine readable) OptionDescription string `protobuf:"bytes,2,opt,name=option_description,json=optionDescription,proto3" json:"option_description,omitempty"` // Description of the option (human readable) // contains filtered or unexported fields }
Type to represent a setting option.
func (*Option) Descriptor
deprecated
func (*Option) GetOptionDescription ¶
func (*Option) GetOptionId ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
type PhotosRange ¶
type PhotosRange int32
Photos range type.
const ( PhotosRange_PHOTOS_RANGE_ALL PhotosRange = 0 // All the photos present on the camera PhotosRange_PHOTOS_RANGE_SINCE_CONNECTION PhotosRange = 1 // Photos taken since MAVSDK got connected )
func (PhotosRange) Descriptor ¶
func (PhotosRange) Descriptor() protoreflect.EnumDescriptor
func (PhotosRange) Enum ¶
func (x PhotosRange) Enum() *PhotosRange
func (PhotosRange) EnumDescriptor
deprecated
func (PhotosRange) EnumDescriptor() ([]byte, []int)
Deprecated: Use PhotosRange.Descriptor instead.
func (PhotosRange) Number ¶
func (x PhotosRange) Number() protoreflect.EnumNumber
func (PhotosRange) String ¶
func (x PhotosRange) String() string
func (PhotosRange) Type ¶
func (PhotosRange) Type() protoreflect.EnumType
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) GetAbsoluteAltitudeM ¶
func (*Position) GetLatitudeDeg ¶
func (*Position) GetLongitudeDeg ¶
func (*Position) GetRelativeAltitudeM ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
type PossibleSettingOptionsResponse ¶
type PossibleSettingOptionsResponse struct { SettingOptions []*SettingOptions `protobuf:"bytes,1,rep,name=setting_options,json=settingOptions,proto3" json:"setting_options,omitempty"` // List of settings that can be changed // contains filtered or unexported fields }
func (*PossibleSettingOptionsResponse) Descriptor
deprecated
func (*PossibleSettingOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PossibleSettingOptionsResponse.ProtoReflect.Descriptor instead.
func (*PossibleSettingOptionsResponse) GetSettingOptions ¶
func (x *PossibleSettingOptionsResponse) GetSettingOptions() []*SettingOptions
func (*PossibleSettingOptionsResponse) ProtoMessage ¶
func (*PossibleSettingOptionsResponse) ProtoMessage()
func (*PossibleSettingOptionsResponse) ProtoReflect ¶
func (x *PossibleSettingOptionsResponse) ProtoReflect() protoreflect.Message
func (*PossibleSettingOptionsResponse) Reset ¶
func (x *PossibleSettingOptionsResponse) Reset()
func (*PossibleSettingOptionsResponse) String ¶
func (x *PossibleSettingOptionsResponse) String() string
type PrepareRequest ¶
type PrepareRequest struct {
// contains filtered or unexported fields
}
func (*PrepareRequest) Descriptor
deprecated
func (*PrepareRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.
func (*PrepareRequest) ProtoMessage ¶
func (*PrepareRequest) ProtoMessage()
func (*PrepareRequest) ProtoReflect ¶
func (x *PrepareRequest) ProtoReflect() protoreflect.Message
func (*PrepareRequest) Reset ¶
func (x *PrepareRequest) Reset()
func (*PrepareRequest) String ¶
func (x *PrepareRequest) String() string
type PrepareResponse ¶
type PrepareResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*PrepareResponse) Descriptor
deprecated
func (*PrepareResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.
func (*PrepareResponse) GetCameraResult ¶
func (x *PrepareResponse) GetCameraResult() *CameraResult
func (*PrepareResponse) ProtoMessage ¶
func (*PrepareResponse) ProtoMessage()
func (*PrepareResponse) ProtoReflect ¶
func (x *PrepareResponse) ProtoReflect() protoreflect.Message
func (*PrepareResponse) Reset ¶
func (x *PrepareResponse) Reset()
func (*PrepareResponse) String ¶
func (x *PrepareResponse) String() 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 // 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) 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 SelectCameraRequest ¶
type SelectCameraRequest struct { CameraId int32 `protobuf:"varint,1,opt,name=camera_id,json=cameraId,proto3" json:"camera_id,omitempty"` // Id of camera to be selected // contains filtered or unexported fields }
func (*SelectCameraRequest) Descriptor
deprecated
func (*SelectCameraRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectCameraRequest.ProtoReflect.Descriptor instead.
func (*SelectCameraRequest) GetCameraId ¶
func (x *SelectCameraRequest) GetCameraId() int32
func (*SelectCameraRequest) ProtoMessage ¶
func (*SelectCameraRequest) ProtoMessage()
func (*SelectCameraRequest) ProtoReflect ¶
func (x *SelectCameraRequest) ProtoReflect() protoreflect.Message
func (*SelectCameraRequest) Reset ¶
func (x *SelectCameraRequest) Reset()
func (*SelectCameraRequest) String ¶
func (x *SelectCameraRequest) String() string
type SelectCameraResponse ¶
type SelectCameraResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*SelectCameraResponse) Descriptor
deprecated
func (*SelectCameraResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectCameraResponse.ProtoReflect.Descriptor instead.
func (*SelectCameraResponse) GetCameraResult ¶
func (x *SelectCameraResponse) GetCameraResult() *CameraResult
func (*SelectCameraResponse) ProtoMessage ¶
func (*SelectCameraResponse) ProtoMessage()
func (*SelectCameraResponse) ProtoReflect ¶
func (x *SelectCameraResponse) ProtoReflect() protoreflect.Message
func (*SelectCameraResponse) Reset ¶
func (x *SelectCameraResponse) Reset()
func (*SelectCameraResponse) String ¶
func (x *SelectCameraResponse) String() string
type ServiceImpl ¶
type ServiceImpl struct {
Client CameraServiceClient
}
func (*ServiceImpl) CaptureInfo ¶
func (a *ServiceImpl) CaptureInfo(ctx context.Context) (<-chan *CaptureInfo, error)
func (*ServiceImpl) CurrentSettings ¶
func (a *ServiceImpl) CurrentSettings(ctx context.Context) (<-chan []*Setting, error)
func (*ServiceImpl) FormatStorage ¶
func (s *ServiceImpl) FormatStorage(ctx context.Context) (*FormatStorageResponse, error)
func (*ServiceImpl) GetSetting ¶
func (s *ServiceImpl) GetSetting(ctx context.Context, setting *Setting) (*GetSettingResponse, error)
func (*ServiceImpl) Information ¶
func (a *ServiceImpl) Information(ctx context.Context) (<-chan *Information, error)
func (*ServiceImpl) ListPhotos ¶
func (s *ServiceImpl) ListPhotos(ctx context.Context, photosRange *PhotosRange) (*ListPhotosResponse, error)
func (*ServiceImpl) PossibleSettingOptions ¶
func (a *ServiceImpl) PossibleSettingOptions(ctx context.Context) (<-chan []*SettingOptions, error)
func (*ServiceImpl) Prepare ¶
func (s *ServiceImpl) Prepare(ctx context.Context) (*PrepareResponse, error)
func (*ServiceImpl) SelectCamera ¶
func (s *ServiceImpl) SelectCamera(ctx context.Context, cameraId int32) (*SelectCameraResponse, error)
func (*ServiceImpl) SetMode ¶
func (s *ServiceImpl) SetMode(ctx context.Context, mode *Mode) (*SetModeResponse, error)
func (*ServiceImpl) SetSetting ¶
func (s *ServiceImpl) SetSetting(ctx context.Context, setting *Setting) (*SetSettingResponse, error)
func (*ServiceImpl) StartPhotoInterval ¶
func (s *ServiceImpl) StartPhotoInterval(ctx context.Context, intervalS float32) (*StartPhotoIntervalResponse, error)
func (*ServiceImpl) StartVideo ¶
func (s *ServiceImpl) StartVideo(ctx context.Context) (*StartVideoResponse, error)
func (*ServiceImpl) StartVideoStreaming ¶
func (s *ServiceImpl) StartVideoStreaming(ctx context.Context) (*StartVideoStreamingResponse, error)
func (*ServiceImpl) Status ¶
func (a *ServiceImpl) Status(ctx context.Context) (<-chan *Status, error)
func (*ServiceImpl) StopPhotoInterval ¶
func (s *ServiceImpl) StopPhotoInterval(ctx context.Context) (*StopPhotoIntervalResponse, error)
func (*ServiceImpl) StopVideo ¶
func (s *ServiceImpl) StopVideo(ctx context.Context) (*StopVideoResponse, error)
func (*ServiceImpl) StopVideoStreaming ¶
func (s *ServiceImpl) StopVideoStreaming(ctx context.Context) (*StopVideoStreamingResponse, error)
func (*ServiceImpl) TakePhoto ¶
func (s *ServiceImpl) TakePhoto(ctx context.Context) (*TakePhotoResponse, error)
func (*ServiceImpl) VideoStreamInfo ¶
func (a *ServiceImpl) VideoStreamInfo(ctx context.Context) (<-chan *VideoStreamInfo, error)
type SetModeRequest ¶
type SetModeRequest struct { Mode Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=mavsdk.rpc.camera.Mode" json:"mode,omitempty"` // Camera mode to set // contains filtered or unexported fields }
func (*SetModeRequest) Descriptor
deprecated
func (*SetModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetModeRequest.ProtoReflect.Descriptor instead.
func (*SetModeRequest) GetMode ¶
func (x *SetModeRequest) GetMode() Mode
func (*SetModeRequest) ProtoMessage ¶
func (*SetModeRequest) ProtoMessage()
func (*SetModeRequest) ProtoReflect ¶
func (x *SetModeRequest) ProtoReflect() protoreflect.Message
func (*SetModeRequest) Reset ¶
func (x *SetModeRequest) Reset()
func (*SetModeRequest) String ¶
func (x *SetModeRequest) String() string
type SetModeResponse ¶
type SetModeResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*SetModeResponse) Descriptor
deprecated
func (*SetModeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetModeResponse.ProtoReflect.Descriptor instead.
func (*SetModeResponse) GetCameraResult ¶
func (x *SetModeResponse) GetCameraResult() *CameraResult
func (*SetModeResponse) ProtoMessage ¶
func (*SetModeResponse) ProtoMessage()
func (*SetModeResponse) ProtoReflect ¶
func (x *SetModeResponse) ProtoReflect() protoreflect.Message
func (*SetModeResponse) Reset ¶
func (x *SetModeResponse) Reset()
func (*SetModeResponse) String ¶
func (x *SetModeResponse) String() string
type SetSettingRequest ¶
type SetSettingRequest struct { Setting *Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // Desired setting // contains filtered or unexported fields }
func (*SetSettingRequest) Descriptor
deprecated
func (*SetSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSettingRequest.ProtoReflect.Descriptor instead.
func (*SetSettingRequest) GetSetting ¶
func (x *SetSettingRequest) GetSetting() *Setting
func (*SetSettingRequest) ProtoMessage ¶
func (*SetSettingRequest) ProtoMessage()
func (*SetSettingRequest) ProtoReflect ¶
func (x *SetSettingRequest) ProtoReflect() protoreflect.Message
func (*SetSettingRequest) Reset ¶
func (x *SetSettingRequest) Reset()
func (*SetSettingRequest) String ¶
func (x *SetSettingRequest) String() string
type SetSettingResponse ¶
type SetSettingResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*SetSettingResponse) Descriptor
deprecated
func (*SetSettingResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSettingResponse.ProtoReflect.Descriptor instead.
func (*SetSettingResponse) GetCameraResult ¶
func (x *SetSettingResponse) GetCameraResult() *CameraResult
func (*SetSettingResponse) ProtoMessage ¶
func (*SetSettingResponse) ProtoMessage()
func (*SetSettingResponse) ProtoReflect ¶
func (x *SetSettingResponse) ProtoReflect() protoreflect.Message
func (*SetSettingResponse) Reset ¶
func (x *SetSettingResponse) Reset()
func (*SetSettingResponse) String ¶
func (x *SetSettingResponse) String() string
type Setting ¶
type Setting struct { SettingId string `protobuf:"bytes,1,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty"` // Name of a setting (machine readable) SettingDescription string `protobuf:"bytes,2,opt,name=setting_description,json=settingDescription,proto3" json:"setting_description,omitempty"` // Description of the setting (human readable). This field is meant to be read from the drone, ignore it when setting. Option *Option `protobuf:"bytes,3,opt,name=option,proto3" json:"option,omitempty"` // Selected option IsRange bool `protobuf:"varint,4,opt,name=is_range,json=isRange,proto3" json:"is_range,omitempty"` // If option is given as a range. This field is meant to be read from the drone, ignore it when setting. // contains filtered or unexported fields }
Type to represent a setting with a selected option.
func (*Setting) Descriptor
deprecated
func (*Setting) GetIsRange ¶
func (*Setting) GetSettingDescription ¶
func (*Setting) GetSettingId ¶
func (*Setting) ProtoMessage ¶
func (*Setting) ProtoMessage()
func (*Setting) ProtoReflect ¶
func (x *Setting) ProtoReflect() protoreflect.Message
type SettingOptions ¶
type SettingOptions struct { SettingId string `protobuf:"bytes,1,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty"` // Name of the setting (machine readable) SettingDescription string `protobuf:"bytes,2,opt,name=setting_description,json=settingDescription,proto3" json:"setting_description,omitempty"` // Description of the setting (human readable) Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` // List of options or if range [min, max] or [min, max, interval] IsRange bool `protobuf:"varint,4,opt,name=is_range,json=isRange,proto3" json:"is_range,omitempty"` // If option is given as a range // contains filtered or unexported fields }
Type to represent a setting with a list of options to choose from.
func (*SettingOptions) Descriptor
deprecated
func (*SettingOptions) Descriptor() ([]byte, []int)
Deprecated: Use SettingOptions.ProtoReflect.Descriptor instead.
func (*SettingOptions) GetIsRange ¶
func (x *SettingOptions) GetIsRange() bool
func (*SettingOptions) GetOptions ¶
func (x *SettingOptions) GetOptions() []*Option
func (*SettingOptions) GetSettingDescription ¶
func (x *SettingOptions) GetSettingDescription() string
func (*SettingOptions) GetSettingId ¶
func (x *SettingOptions) GetSettingId() string
func (*SettingOptions) ProtoMessage ¶
func (*SettingOptions) ProtoMessage()
func (*SettingOptions) ProtoReflect ¶
func (x *SettingOptions) ProtoReflect() protoreflect.Message
func (*SettingOptions) Reset ¶
func (x *SettingOptions) Reset()
func (*SettingOptions) String ¶
func (x *SettingOptions) String() string
type StartPhotoIntervalRequest ¶
type StartPhotoIntervalRequest struct { IntervalS float32 `protobuf:"fixed32,1,opt,name=interval_s,json=intervalS,proto3" json:"interval_s,omitempty"` // Interval between photos (in seconds) // contains filtered or unexported fields }
func (*StartPhotoIntervalRequest) Descriptor
deprecated
func (*StartPhotoIntervalRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartPhotoIntervalRequest.ProtoReflect.Descriptor instead.
func (*StartPhotoIntervalRequest) GetIntervalS ¶
func (x *StartPhotoIntervalRequest) GetIntervalS() float32
func (*StartPhotoIntervalRequest) ProtoMessage ¶
func (*StartPhotoIntervalRequest) ProtoMessage()
func (*StartPhotoIntervalRequest) ProtoReflect ¶
func (x *StartPhotoIntervalRequest) ProtoReflect() protoreflect.Message
func (*StartPhotoIntervalRequest) Reset ¶
func (x *StartPhotoIntervalRequest) Reset()
func (*StartPhotoIntervalRequest) String ¶
func (x *StartPhotoIntervalRequest) String() string
type StartPhotoIntervalResponse ¶
type StartPhotoIntervalResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*StartPhotoIntervalResponse) Descriptor
deprecated
func (*StartPhotoIntervalResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartPhotoIntervalResponse.ProtoReflect.Descriptor instead.
func (*StartPhotoIntervalResponse) GetCameraResult ¶
func (x *StartPhotoIntervalResponse) GetCameraResult() *CameraResult
func (*StartPhotoIntervalResponse) ProtoMessage ¶
func (*StartPhotoIntervalResponse) ProtoMessage()
func (*StartPhotoIntervalResponse) ProtoReflect ¶
func (x *StartPhotoIntervalResponse) ProtoReflect() protoreflect.Message
func (*StartPhotoIntervalResponse) Reset ¶
func (x *StartPhotoIntervalResponse) Reset()
func (*StartPhotoIntervalResponse) String ¶
func (x *StartPhotoIntervalResponse) String() string
type StartVideoRequest ¶
type StartVideoRequest struct {
// contains filtered or unexported fields
}
func (*StartVideoRequest) Descriptor
deprecated
func (*StartVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartVideoRequest.ProtoReflect.Descriptor instead.
func (*StartVideoRequest) ProtoMessage ¶
func (*StartVideoRequest) ProtoMessage()
func (*StartVideoRequest) ProtoReflect ¶
func (x *StartVideoRequest) ProtoReflect() protoreflect.Message
func (*StartVideoRequest) Reset ¶
func (x *StartVideoRequest) Reset()
func (*StartVideoRequest) String ¶
func (x *StartVideoRequest) String() string
type StartVideoResponse ¶
type StartVideoResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*StartVideoResponse) Descriptor
deprecated
func (*StartVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartVideoResponse.ProtoReflect.Descriptor instead.
func (*StartVideoResponse) GetCameraResult ¶
func (x *StartVideoResponse) GetCameraResult() *CameraResult
func (*StartVideoResponse) ProtoMessage ¶
func (*StartVideoResponse) ProtoMessage()
func (*StartVideoResponse) ProtoReflect ¶
func (x *StartVideoResponse) ProtoReflect() protoreflect.Message
func (*StartVideoResponse) Reset ¶
func (x *StartVideoResponse) Reset()
func (*StartVideoResponse) String ¶
func (x *StartVideoResponse) String() string
type StartVideoStreamingRequest ¶
type StartVideoStreamingRequest struct {
// contains filtered or unexported fields
}
func (*StartVideoStreamingRequest) Descriptor
deprecated
func (*StartVideoStreamingRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartVideoStreamingRequest.ProtoReflect.Descriptor instead.
func (*StartVideoStreamingRequest) ProtoMessage ¶
func (*StartVideoStreamingRequest) ProtoMessage()
func (*StartVideoStreamingRequest) ProtoReflect ¶
func (x *StartVideoStreamingRequest) ProtoReflect() protoreflect.Message
func (*StartVideoStreamingRequest) Reset ¶
func (x *StartVideoStreamingRequest) Reset()
func (*StartVideoStreamingRequest) String ¶
func (x *StartVideoStreamingRequest) String() string
type StartVideoStreamingResponse ¶
type StartVideoStreamingResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*StartVideoStreamingResponse) Descriptor
deprecated
func (*StartVideoStreamingResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartVideoStreamingResponse.ProtoReflect.Descriptor instead.
func (*StartVideoStreamingResponse) GetCameraResult ¶
func (x *StartVideoStreamingResponse) GetCameraResult() *CameraResult
func (*StartVideoStreamingResponse) ProtoMessage ¶
func (*StartVideoStreamingResponse) ProtoMessage()
func (*StartVideoStreamingResponse) ProtoReflect ¶
func (x *StartVideoStreamingResponse) ProtoReflect() protoreflect.Message
func (*StartVideoStreamingResponse) Reset ¶
func (x *StartVideoStreamingResponse) Reset()
func (*StartVideoStreamingResponse) String ¶
func (x *StartVideoStreamingResponse) String() string
type Status ¶
type Status struct { VideoOn bool `protobuf:"varint,1,opt,name=video_on,json=videoOn,proto3" json:"video_on,omitempty"` // Whether video recording is currently in process PhotoIntervalOn bool `protobuf:"varint,2,opt,name=photo_interval_on,json=photoIntervalOn,proto3" json:"photo_interval_on,omitempty"` // Whether a photo interval is currently in process UsedStorageMib float32 `protobuf:"fixed32,3,opt,name=used_storage_mib,json=usedStorageMib,proto3" json:"used_storage_mib,omitempty"` // Used storage (in MiB) AvailableStorageMib float32 `protobuf:"fixed32,4,opt,name=available_storage_mib,json=availableStorageMib,proto3" json:"available_storage_mib,omitempty"` // Available storage (in MiB) TotalStorageMib float32 `protobuf:"fixed32,5,opt,name=total_storage_mib,json=totalStorageMib,proto3" json:"total_storage_mib,omitempty"` // Total storage (in MiB) RecordingTimeS float32 `protobuf:"fixed32,6,opt,name=recording_time_s,json=recordingTimeS,proto3" json:"recording_time_s,omitempty"` // Elapsed time since starting the video recording (in seconds) MediaFolderName string `protobuf:"bytes,7,opt,name=media_folder_name,json=mediaFolderName,proto3" json:"media_folder_name,omitempty"` // Current folder name where media are saved StorageStatus Status_StorageStatus `` // Storage status /* 145-byte string literal not displayed */ StorageId uint32 `protobuf:"varint,9,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"` // Storage ID starting at 1 StorageType Status_StorageType `` // Storage type /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
Information about the camera status.
func (*Status) Descriptor
deprecated
func (*Status) GetAvailableStorageMib ¶
func (*Status) GetMediaFolderName ¶
func (*Status) GetPhotoIntervalOn ¶
func (*Status) GetRecordingTimeS ¶
func (*Status) GetStorageId ¶
func (*Status) GetStorageStatus ¶
func (x *Status) GetStorageStatus() Status_StorageStatus
func (*Status) GetStorageType ¶
func (x *Status) GetStorageType() Status_StorageType
func (*Status) GetTotalStorageMib ¶
func (*Status) GetUsedStorageMib ¶
func (*Status) GetVideoOn ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type StatusResponse ¶
type StatusResponse struct { CameraStatus *Status `protobuf:"bytes,1,opt,name=camera_status,json=cameraStatus,proto3" json:"camera_status,omitempty"` // Camera status // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetCameraStatus ¶
func (x *StatusResponse) GetCameraStatus() *Status
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type Status_StorageStatus ¶
type Status_StorageStatus int32
Storage status type.
const ( Status_STORAGE_STATUS_NOT_AVAILABLE Status_StorageStatus = 0 // Status not available Status_STORAGE_STATUS_UNFORMATTED Status_StorageStatus = 1 // Storage is not formatted (i.e. has no recognized file system) Status_STORAGE_STATUS_FORMATTED Status_StorageStatus = 2 // Storage is formatted (i.e. has recognized a file system) Status_STORAGE_STATUS_NOT_SUPPORTED Status_StorageStatus = 3 // Storage status is not supported )
func (Status_StorageStatus) Descriptor ¶
func (Status_StorageStatus) Descriptor() protoreflect.EnumDescriptor
func (Status_StorageStatus) Enum ¶
func (x Status_StorageStatus) Enum() *Status_StorageStatus
func (Status_StorageStatus) EnumDescriptor
deprecated
func (Status_StorageStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Status_StorageStatus.Descriptor instead.
func (Status_StorageStatus) Number ¶
func (x Status_StorageStatus) Number() protoreflect.EnumNumber
func (Status_StorageStatus) String ¶
func (x Status_StorageStatus) String() string
func (Status_StorageStatus) Type ¶
func (Status_StorageStatus) Type() protoreflect.EnumType
type Status_StorageType ¶
type Status_StorageType int32
Storage type.
const ( Status_STORAGE_TYPE_UNKNOWN Status_StorageType = 0 // Storage type unknown Status_STORAGE_TYPE_USB_STICK Status_StorageType = 1 // Storage type USB stick Status_STORAGE_TYPE_SD Status_StorageType = 2 // Storage type SD card Status_STORAGE_TYPE_MICROSD Status_StorageType = 3 // Storage type MicroSD card Status_STORAGE_TYPE_HD Status_StorageType = 7 // Storage type HD mass storage Status_STORAGE_TYPE_OTHER Status_StorageType = 254 // Storage type other, not listed )
func (Status_StorageType) Descriptor ¶
func (Status_StorageType) Descriptor() protoreflect.EnumDescriptor
func (Status_StorageType) Enum ¶
func (x Status_StorageType) Enum() *Status_StorageType
func (Status_StorageType) EnumDescriptor
deprecated
func (Status_StorageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Status_StorageType.Descriptor instead.
func (Status_StorageType) Number ¶
func (x Status_StorageType) Number() protoreflect.EnumNumber
func (Status_StorageType) String ¶
func (x Status_StorageType) String() string
func (Status_StorageType) Type ¶
func (Status_StorageType) Type() protoreflect.EnumType
type StopPhotoIntervalRequest ¶
type StopPhotoIntervalRequest struct {
// contains filtered or unexported fields
}
func (*StopPhotoIntervalRequest) Descriptor
deprecated
func (*StopPhotoIntervalRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopPhotoIntervalRequest.ProtoReflect.Descriptor instead.
func (*StopPhotoIntervalRequest) ProtoMessage ¶
func (*StopPhotoIntervalRequest) ProtoMessage()
func (*StopPhotoIntervalRequest) ProtoReflect ¶
func (x *StopPhotoIntervalRequest) ProtoReflect() protoreflect.Message
func (*StopPhotoIntervalRequest) Reset ¶
func (x *StopPhotoIntervalRequest) Reset()
func (*StopPhotoIntervalRequest) String ¶
func (x *StopPhotoIntervalRequest) String() string
type StopPhotoIntervalResponse ¶
type StopPhotoIntervalResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*StopPhotoIntervalResponse) Descriptor
deprecated
func (*StopPhotoIntervalResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopPhotoIntervalResponse.ProtoReflect.Descriptor instead.
func (*StopPhotoIntervalResponse) GetCameraResult ¶
func (x *StopPhotoIntervalResponse) GetCameraResult() *CameraResult
func (*StopPhotoIntervalResponse) ProtoMessage ¶
func (*StopPhotoIntervalResponse) ProtoMessage()
func (*StopPhotoIntervalResponse) ProtoReflect ¶
func (x *StopPhotoIntervalResponse) ProtoReflect() protoreflect.Message
func (*StopPhotoIntervalResponse) Reset ¶
func (x *StopPhotoIntervalResponse) Reset()
func (*StopPhotoIntervalResponse) String ¶
func (x *StopPhotoIntervalResponse) String() string
type StopVideoRequest ¶
type StopVideoRequest struct {
// contains filtered or unexported fields
}
func (*StopVideoRequest) Descriptor
deprecated
func (*StopVideoRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopVideoRequest.ProtoReflect.Descriptor instead.
func (*StopVideoRequest) ProtoMessage ¶
func (*StopVideoRequest) ProtoMessage()
func (*StopVideoRequest) ProtoReflect ¶
func (x *StopVideoRequest) ProtoReflect() protoreflect.Message
func (*StopVideoRequest) Reset ¶
func (x *StopVideoRequest) Reset()
func (*StopVideoRequest) String ¶
func (x *StopVideoRequest) String() string
type StopVideoResponse ¶
type StopVideoResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*StopVideoResponse) Descriptor
deprecated
func (*StopVideoResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopVideoResponse.ProtoReflect.Descriptor instead.
func (*StopVideoResponse) GetCameraResult ¶
func (x *StopVideoResponse) GetCameraResult() *CameraResult
func (*StopVideoResponse) ProtoMessage ¶
func (*StopVideoResponse) ProtoMessage()
func (*StopVideoResponse) ProtoReflect ¶
func (x *StopVideoResponse) ProtoReflect() protoreflect.Message
func (*StopVideoResponse) Reset ¶
func (x *StopVideoResponse) Reset()
func (*StopVideoResponse) String ¶
func (x *StopVideoResponse) String() string
type StopVideoStreamingRequest ¶
type StopVideoStreamingRequest struct {
// contains filtered or unexported fields
}
func (*StopVideoStreamingRequest) Descriptor
deprecated
func (*StopVideoStreamingRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopVideoStreamingRequest.ProtoReflect.Descriptor instead.
func (*StopVideoStreamingRequest) ProtoMessage ¶
func (*StopVideoStreamingRequest) ProtoMessage()
func (*StopVideoStreamingRequest) ProtoReflect ¶
func (x *StopVideoStreamingRequest) ProtoReflect() protoreflect.Message
func (*StopVideoStreamingRequest) Reset ¶
func (x *StopVideoStreamingRequest) Reset()
func (*StopVideoStreamingRequest) String ¶
func (x *StopVideoStreamingRequest) String() string
type StopVideoStreamingResponse ¶
type StopVideoStreamingResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*StopVideoStreamingResponse) Descriptor
deprecated
func (*StopVideoStreamingResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopVideoStreamingResponse.ProtoReflect.Descriptor instead.
func (*StopVideoStreamingResponse) GetCameraResult ¶
func (x *StopVideoStreamingResponse) GetCameraResult() *CameraResult
func (*StopVideoStreamingResponse) ProtoMessage ¶
func (*StopVideoStreamingResponse) ProtoMessage()
func (*StopVideoStreamingResponse) ProtoReflect ¶
func (x *StopVideoStreamingResponse) ProtoReflect() protoreflect.Message
func (*StopVideoStreamingResponse) Reset ¶
func (x *StopVideoStreamingResponse) Reset()
func (*StopVideoStreamingResponse) String ¶
func (x *StopVideoStreamingResponse) String() string
type SubscribeCaptureInfoRequest ¶
type SubscribeCaptureInfoRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeCaptureInfoRequest) Descriptor
deprecated
func (*SubscribeCaptureInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeCaptureInfoRequest.ProtoReflect.Descriptor instead.
func (*SubscribeCaptureInfoRequest) ProtoMessage ¶
func (*SubscribeCaptureInfoRequest) ProtoMessage()
func (*SubscribeCaptureInfoRequest) ProtoReflect ¶
func (x *SubscribeCaptureInfoRequest) ProtoReflect() protoreflect.Message
func (*SubscribeCaptureInfoRequest) Reset ¶
func (x *SubscribeCaptureInfoRequest) Reset()
func (*SubscribeCaptureInfoRequest) String ¶
func (x *SubscribeCaptureInfoRequest) String() string
type SubscribeCurrentSettingsRequest ¶
type SubscribeCurrentSettingsRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeCurrentSettingsRequest) Descriptor
deprecated
func (*SubscribeCurrentSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeCurrentSettingsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeCurrentSettingsRequest) ProtoMessage ¶
func (*SubscribeCurrentSettingsRequest) ProtoMessage()
func (*SubscribeCurrentSettingsRequest) ProtoReflect ¶
func (x *SubscribeCurrentSettingsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeCurrentSettingsRequest) Reset ¶
func (x *SubscribeCurrentSettingsRequest) Reset()
func (*SubscribeCurrentSettingsRequest) String ¶
func (x *SubscribeCurrentSettingsRequest) String() string
type SubscribeInformationRequest ¶
type SubscribeInformationRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeInformationRequest) Descriptor
deprecated
func (*SubscribeInformationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeInformationRequest.ProtoReflect.Descriptor instead.
func (*SubscribeInformationRequest) ProtoMessage ¶
func (*SubscribeInformationRequest) ProtoMessage()
func (*SubscribeInformationRequest) ProtoReflect ¶
func (x *SubscribeInformationRequest) ProtoReflect() protoreflect.Message
func (*SubscribeInformationRequest) Reset ¶
func (x *SubscribeInformationRequest) Reset()
func (*SubscribeInformationRequest) String ¶
func (x *SubscribeInformationRequest) String() string
type SubscribeModeRequest ¶
type SubscribeModeRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeModeRequest) Descriptor
deprecated
func (*SubscribeModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeModeRequest.ProtoReflect.Descriptor instead.
func (*SubscribeModeRequest) ProtoMessage ¶
func (*SubscribeModeRequest) ProtoMessage()
func (*SubscribeModeRequest) ProtoReflect ¶
func (x *SubscribeModeRequest) ProtoReflect() protoreflect.Message
func (*SubscribeModeRequest) Reset ¶
func (x *SubscribeModeRequest) Reset()
func (*SubscribeModeRequest) String ¶
func (x *SubscribeModeRequest) String() string
type SubscribePossibleSettingOptionsRequest ¶
type SubscribePossibleSettingOptionsRequest struct {
// contains filtered or unexported fields
}
func (*SubscribePossibleSettingOptionsRequest) Descriptor
deprecated
func (*SubscribePossibleSettingOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribePossibleSettingOptionsRequest.ProtoReflect.Descriptor instead.
func (*SubscribePossibleSettingOptionsRequest) ProtoMessage ¶
func (*SubscribePossibleSettingOptionsRequest) ProtoMessage()
func (*SubscribePossibleSettingOptionsRequest) ProtoReflect ¶
func (x *SubscribePossibleSettingOptionsRequest) ProtoReflect() protoreflect.Message
func (*SubscribePossibleSettingOptionsRequest) Reset ¶
func (x *SubscribePossibleSettingOptionsRequest) Reset()
func (*SubscribePossibleSettingOptionsRequest) String ¶
func (x *SubscribePossibleSettingOptionsRequest) String() string
type SubscribeStatusRequest ¶
type SubscribeStatusRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeStatusRequest) Descriptor
deprecated
func (*SubscribeStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeStatusRequest.ProtoReflect.Descriptor instead.
func (*SubscribeStatusRequest) ProtoMessage ¶
func (*SubscribeStatusRequest) ProtoMessage()
func (*SubscribeStatusRequest) ProtoReflect ¶
func (x *SubscribeStatusRequest) ProtoReflect() protoreflect.Message
func (*SubscribeStatusRequest) Reset ¶
func (x *SubscribeStatusRequest) Reset()
func (*SubscribeStatusRequest) String ¶
func (x *SubscribeStatusRequest) String() string
type SubscribeVideoStreamInfoRequest ¶
type SubscribeVideoStreamInfoRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeVideoStreamInfoRequest) Descriptor
deprecated
func (*SubscribeVideoStreamInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeVideoStreamInfoRequest.ProtoReflect.Descriptor instead.
func (*SubscribeVideoStreamInfoRequest) ProtoMessage ¶
func (*SubscribeVideoStreamInfoRequest) ProtoMessage()
func (*SubscribeVideoStreamInfoRequest) ProtoReflect ¶
func (x *SubscribeVideoStreamInfoRequest) ProtoReflect() protoreflect.Message
func (*SubscribeVideoStreamInfoRequest) Reset ¶
func (x *SubscribeVideoStreamInfoRequest) Reset()
func (*SubscribeVideoStreamInfoRequest) String ¶
func (x *SubscribeVideoStreamInfoRequest) String() string
type TakePhotoRequest ¶
type TakePhotoRequest struct {
// contains filtered or unexported fields
}
func (*TakePhotoRequest) Descriptor
deprecated
func (*TakePhotoRequest) Descriptor() ([]byte, []int)
Deprecated: Use TakePhotoRequest.ProtoReflect.Descriptor instead.
func (*TakePhotoRequest) ProtoMessage ¶
func (*TakePhotoRequest) ProtoMessage()
func (*TakePhotoRequest) ProtoReflect ¶
func (x *TakePhotoRequest) ProtoReflect() protoreflect.Message
func (*TakePhotoRequest) Reset ¶
func (x *TakePhotoRequest) Reset()
func (*TakePhotoRequest) String ¶
func (x *TakePhotoRequest) String() string
type TakePhotoResponse ¶
type TakePhotoResponse struct { CameraResult *CameraResult `protobuf:"bytes,1,opt,name=camera_result,json=cameraResult,proto3" json:"camera_result,omitempty"` // contains filtered or unexported fields }
func (*TakePhotoResponse) Descriptor
deprecated
func (*TakePhotoResponse) Descriptor() ([]byte, []int)
Deprecated: Use TakePhotoResponse.ProtoReflect.Descriptor instead.
func (*TakePhotoResponse) GetCameraResult ¶
func (x *TakePhotoResponse) GetCameraResult() *CameraResult
func (*TakePhotoResponse) ProtoMessage ¶
func (*TakePhotoResponse) ProtoMessage()
func (*TakePhotoResponse) ProtoReflect ¶
func (x *TakePhotoResponse) ProtoReflect() protoreflect.Message
func (*TakePhotoResponse) Reset ¶
func (x *TakePhotoResponse) Reset()
func (*TakePhotoResponse) String ¶
func (x *TakePhotoResponse) String() string
type UnimplementedCameraServiceServer ¶
type UnimplementedCameraServiceServer struct { }
UnimplementedCameraServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCameraServiceServer) FormatStorage ¶
func (UnimplementedCameraServiceServer) FormatStorage(context.Context, *FormatStorageRequest) (*FormatStorageResponse, error)
func (UnimplementedCameraServiceServer) GetSetting ¶
func (UnimplementedCameraServiceServer) GetSetting(context.Context, *GetSettingRequest) (*GetSettingResponse, error)
func (UnimplementedCameraServiceServer) ListPhotos ¶
func (UnimplementedCameraServiceServer) ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error)
func (UnimplementedCameraServiceServer) Prepare ¶
func (UnimplementedCameraServiceServer) Prepare(context.Context, *PrepareRequest) (*PrepareResponse, error)
func (UnimplementedCameraServiceServer) SelectCamera ¶
func (UnimplementedCameraServiceServer) SelectCamera(context.Context, *SelectCameraRequest) (*SelectCameraResponse, error)
func (UnimplementedCameraServiceServer) SetMode ¶
func (UnimplementedCameraServiceServer) SetMode(context.Context, *SetModeRequest) (*SetModeResponse, error)
func (UnimplementedCameraServiceServer) SetSetting ¶
func (UnimplementedCameraServiceServer) SetSetting(context.Context, *SetSettingRequest) (*SetSettingResponse, error)
func (UnimplementedCameraServiceServer) StartPhotoInterval ¶
func (UnimplementedCameraServiceServer) StartPhotoInterval(context.Context, *StartPhotoIntervalRequest) (*StartPhotoIntervalResponse, error)
func (UnimplementedCameraServiceServer) StartVideo ¶
func (UnimplementedCameraServiceServer) StartVideo(context.Context, *StartVideoRequest) (*StartVideoResponse, error)
func (UnimplementedCameraServiceServer) StartVideoStreaming ¶
func (UnimplementedCameraServiceServer) StartVideoStreaming(context.Context, *StartVideoStreamingRequest) (*StartVideoStreamingResponse, error)
func (UnimplementedCameraServiceServer) StopPhotoInterval ¶
func (UnimplementedCameraServiceServer) StopPhotoInterval(context.Context, *StopPhotoIntervalRequest) (*StopPhotoIntervalResponse, error)
func (UnimplementedCameraServiceServer) StopVideo ¶
func (UnimplementedCameraServiceServer) StopVideo(context.Context, *StopVideoRequest) (*StopVideoResponse, error)
func (UnimplementedCameraServiceServer) StopVideoStreaming ¶
func (UnimplementedCameraServiceServer) StopVideoStreaming(context.Context, *StopVideoStreamingRequest) (*StopVideoStreamingResponse, error)
func (UnimplementedCameraServiceServer) SubscribeCaptureInfo ¶
func (UnimplementedCameraServiceServer) SubscribeCaptureInfo(*SubscribeCaptureInfoRequest, CameraService_SubscribeCaptureInfoServer) error
func (UnimplementedCameraServiceServer) SubscribeCurrentSettings ¶
func (UnimplementedCameraServiceServer) SubscribeCurrentSettings(*SubscribeCurrentSettingsRequest, CameraService_SubscribeCurrentSettingsServer) error
func (UnimplementedCameraServiceServer) SubscribeInformation ¶
func (UnimplementedCameraServiceServer) SubscribeInformation(*SubscribeInformationRequest, CameraService_SubscribeInformationServer) error
func (UnimplementedCameraServiceServer) SubscribeMode ¶
func (UnimplementedCameraServiceServer) SubscribeMode(*SubscribeModeRequest, CameraService_SubscribeModeServer) error
func (UnimplementedCameraServiceServer) SubscribePossibleSettingOptions ¶
func (UnimplementedCameraServiceServer) SubscribePossibleSettingOptions(*SubscribePossibleSettingOptionsRequest, CameraService_SubscribePossibleSettingOptionsServer) error
func (UnimplementedCameraServiceServer) SubscribeStatus ¶
func (UnimplementedCameraServiceServer) SubscribeStatus(*SubscribeStatusRequest, CameraService_SubscribeStatusServer) error
func (UnimplementedCameraServiceServer) SubscribeVideoStreamInfo ¶
func (UnimplementedCameraServiceServer) SubscribeVideoStreamInfo(*SubscribeVideoStreamInfoRequest, CameraService_SubscribeVideoStreamInfoServer) error
func (UnimplementedCameraServiceServer) TakePhoto ¶
func (UnimplementedCameraServiceServer) TakePhoto(context.Context, *TakePhotoRequest) (*TakePhotoResponse, error)
type UnsafeCameraServiceServer ¶
type UnsafeCameraServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCameraServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CameraServiceServer will result in compilation errors.
type VideoStreamInfo ¶
type VideoStreamInfo struct { Settings *VideoStreamSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // Video stream settings Status VideoStreamInfo_VideoStreamStatus `protobuf:"varint,2,opt,name=status,proto3,enum=mavsdk.rpc.camera.VideoStreamInfo_VideoStreamStatus" json:"status,omitempty"` // Current status of video streaming Spectrum VideoStreamInfo_VideoStreamSpectrum `` // Light-spectrum of the video stream /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Information about the video stream.
func (*VideoStreamInfo) Descriptor
deprecated
func (*VideoStreamInfo) Descriptor() ([]byte, []int)
Deprecated: Use VideoStreamInfo.ProtoReflect.Descriptor instead.
func (*VideoStreamInfo) GetSettings ¶
func (x *VideoStreamInfo) GetSettings() *VideoStreamSettings
func (*VideoStreamInfo) GetSpectrum ¶
func (x *VideoStreamInfo) GetSpectrum() VideoStreamInfo_VideoStreamSpectrum
func (*VideoStreamInfo) GetStatus ¶
func (x *VideoStreamInfo) GetStatus() VideoStreamInfo_VideoStreamStatus
func (*VideoStreamInfo) ProtoMessage ¶
func (*VideoStreamInfo) ProtoMessage()
func (*VideoStreamInfo) ProtoReflect ¶
func (x *VideoStreamInfo) ProtoReflect() protoreflect.Message
func (*VideoStreamInfo) Reset ¶
func (x *VideoStreamInfo) Reset()
func (*VideoStreamInfo) String ¶
func (x *VideoStreamInfo) String() string
type VideoStreamInfoResponse ¶
type VideoStreamInfoResponse struct { VideoStreamInfo *VideoStreamInfo `protobuf:"bytes,1,opt,name=video_stream_info,json=videoStreamInfo,proto3" json:"video_stream_info,omitempty"` // Video stream info // contains filtered or unexported fields }
func (*VideoStreamInfoResponse) Descriptor
deprecated
func (*VideoStreamInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use VideoStreamInfoResponse.ProtoReflect.Descriptor instead.
func (*VideoStreamInfoResponse) GetVideoStreamInfo ¶
func (x *VideoStreamInfoResponse) GetVideoStreamInfo() *VideoStreamInfo
func (*VideoStreamInfoResponse) ProtoMessage ¶
func (*VideoStreamInfoResponse) ProtoMessage()
func (*VideoStreamInfoResponse) ProtoReflect ¶
func (x *VideoStreamInfoResponse) ProtoReflect() protoreflect.Message
func (*VideoStreamInfoResponse) Reset ¶
func (x *VideoStreamInfoResponse) Reset()
func (*VideoStreamInfoResponse) String ¶
func (x *VideoStreamInfoResponse) String() string
type VideoStreamInfo_VideoStreamSpectrum ¶
type VideoStreamInfo_VideoStreamSpectrum int32
Video stream light spectrum type
const ( VideoStreamInfo_VIDEO_STREAM_SPECTRUM_UNKNOWN VideoStreamInfo_VideoStreamSpectrum = 0 // Unknown VideoStreamInfo_VIDEO_STREAM_SPECTRUM_VISIBLE_LIGHT VideoStreamInfo_VideoStreamSpectrum = 1 // Visible light VideoStreamInfo_VIDEO_STREAM_SPECTRUM_INFRARED VideoStreamInfo_VideoStreamSpectrum = 2 // Infrared )
func (VideoStreamInfo_VideoStreamSpectrum) Descriptor ¶
func (VideoStreamInfo_VideoStreamSpectrum) Descriptor() protoreflect.EnumDescriptor
func (VideoStreamInfo_VideoStreamSpectrum) Enum ¶
func (x VideoStreamInfo_VideoStreamSpectrum) Enum() *VideoStreamInfo_VideoStreamSpectrum
func (VideoStreamInfo_VideoStreamSpectrum) EnumDescriptor
deprecated
func (VideoStreamInfo_VideoStreamSpectrum) EnumDescriptor() ([]byte, []int)
Deprecated: Use VideoStreamInfo_VideoStreamSpectrum.Descriptor instead.
func (VideoStreamInfo_VideoStreamSpectrum) Number ¶
func (x VideoStreamInfo_VideoStreamSpectrum) Number() protoreflect.EnumNumber
func (VideoStreamInfo_VideoStreamSpectrum) String ¶
func (x VideoStreamInfo_VideoStreamSpectrum) String() string
func (VideoStreamInfo_VideoStreamSpectrum) Type ¶
func (VideoStreamInfo_VideoStreamSpectrum) Type() protoreflect.EnumType
type VideoStreamInfo_VideoStreamStatus ¶
type VideoStreamInfo_VideoStreamStatus int32
Video stream status type.
const ( VideoStreamInfo_VIDEO_STREAM_STATUS_NOT_RUNNING VideoStreamInfo_VideoStreamStatus = 0 // Video stream is not running VideoStreamInfo_VIDEO_STREAM_STATUS_IN_PROGRESS VideoStreamInfo_VideoStreamStatus = 1 // Video stream is running )
func (VideoStreamInfo_VideoStreamStatus) Descriptor ¶
func (VideoStreamInfo_VideoStreamStatus) Descriptor() protoreflect.EnumDescriptor
func (VideoStreamInfo_VideoStreamStatus) Enum ¶
func (x VideoStreamInfo_VideoStreamStatus) Enum() *VideoStreamInfo_VideoStreamStatus
func (VideoStreamInfo_VideoStreamStatus) EnumDescriptor
deprecated
func (VideoStreamInfo_VideoStreamStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use VideoStreamInfo_VideoStreamStatus.Descriptor instead.
func (VideoStreamInfo_VideoStreamStatus) Number ¶
func (x VideoStreamInfo_VideoStreamStatus) Number() protoreflect.EnumNumber
func (VideoStreamInfo_VideoStreamStatus) String ¶
func (x VideoStreamInfo_VideoStreamStatus) String() string
func (VideoStreamInfo_VideoStreamStatus) Type ¶
func (VideoStreamInfo_VideoStreamStatus) Type() protoreflect.EnumType
type VideoStreamSettings ¶
type VideoStreamSettings struct { FrameRateHz float32 `protobuf:"fixed32,1,opt,name=frame_rate_hz,json=frameRateHz,proto3" json:"frame_rate_hz,omitempty"` // Frames per second HorizontalResolutionPix uint32 `` // Horizontal resolution (in pixels) /* 133-byte string literal not displayed */ VerticalResolutionPix uint32 `` // Vertical resolution (in pixels) /* 127-byte string literal not displayed */ BitRateBS uint32 `protobuf:"varint,4,opt,name=bit_rate_b_s,json=bitRateBS,proto3" json:"bit_rate_b_s,omitempty"` // Bit rate (in bits per second) RotationDeg uint32 `protobuf:"varint,5,opt,name=rotation_deg,json=rotationDeg,proto3" json:"rotation_deg,omitempty"` // Video image rotation (clockwise, 0-359 degrees) Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"` // Video stream URI HorizontalFovDeg float32 `protobuf:"fixed32,7,opt,name=horizontal_fov_deg,json=horizontalFovDeg,proto3" json:"horizontal_fov_deg,omitempty"` // Horizontal fov in degrees // contains filtered or unexported fields }
Type for video stream settings.
func (*VideoStreamSettings) Descriptor
deprecated
func (*VideoStreamSettings) Descriptor() ([]byte, []int)
Deprecated: Use VideoStreamSettings.ProtoReflect.Descriptor instead.
func (*VideoStreamSettings) GetBitRateBS ¶
func (x *VideoStreamSettings) GetBitRateBS() uint32
func (*VideoStreamSettings) GetFrameRateHz ¶
func (x *VideoStreamSettings) GetFrameRateHz() float32
func (*VideoStreamSettings) GetHorizontalFovDeg ¶
func (x *VideoStreamSettings) GetHorizontalFovDeg() float32
func (*VideoStreamSettings) GetHorizontalResolutionPix ¶
func (x *VideoStreamSettings) GetHorizontalResolutionPix() uint32
func (*VideoStreamSettings) GetRotationDeg ¶
func (x *VideoStreamSettings) GetRotationDeg() uint32
func (*VideoStreamSettings) GetUri ¶
func (x *VideoStreamSettings) GetUri() string
func (*VideoStreamSettings) GetVerticalResolutionPix ¶
func (x *VideoStreamSettings) GetVerticalResolutionPix() uint32
func (*VideoStreamSettings) ProtoMessage ¶
func (*VideoStreamSettings) ProtoMessage()
func (*VideoStreamSettings) ProtoReflect ¶
func (x *VideoStreamSettings) ProtoReflect() protoreflect.Message
func (*VideoStreamSettings) Reset ¶
func (x *VideoStreamSettings) Reset()
func (*VideoStreamSettings) String ¶
func (x *VideoStreamSettings) String() string