Struct mav_sdk::grpc::camera::CameraServiceClient[][src]

pub struct CameraServiceClient<T> { /* fields omitted */ }
Expand description

Can be used to manage cameras that implement the MAVLink Camera Protocol: https://mavlink.io/en/protocol/camera.html.

Currently only a single camera is supported. When multiple cameras are supported the plugin will need to be instantiated separately for every camera and the camera selected using select_camera.

Implementations

Attempt to create a new client by connecting to a given endpoint.

Compress requests with gzip.

This requires the server to support it otherwise it might respond with an error.

Enable decompressing responses with gzip.

Take one photo.

Start photo timelapse with a given interval.

Stop a running photo timelapse.

Start a video recording.

Stop a running video recording.

Start video streaming.

Stop current video streaming.

Set camera mode.

Subscribe to camera mode updates.

Subscribe to camera information updates.

Subscribe to video stream info updates.

Subscribe to capture info updates.

Subscribe to camera status updates.

Get the list of current camera settings.

Get the list of settings that can be changed.

Set a setting to some value.

Only setting_id of setting and option_id of option needs to be set.

Get a setting.

Only setting_id of setting needs to be set.

Format storage (e.g. SD card) in camera.

This will delete all content of the camera storage!

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.