Trait mav_sdk::grpc::calibration::CalibrationService[][src]

pub trait CalibrationService: Send + Sync + 'static {
    type SubscribeCalibrateGyroStream: Stream<Item = Result<CalibrateGyroResponse, Status>> + Send + Sync + 'static;
    type SubscribeCalibrateAccelerometerStream: Stream<Item = Result<CalibrateAccelerometerResponse, Status>> + Send + Sync + 'static;
    type SubscribeCalibrateMagnetometerStream: Stream<Item = Result<CalibrateMagnetometerResponse, Status>> + Send + Sync + 'static;
    type SubscribeCalibrateLevelHorizonStream: Stream<Item = Result<CalibrateLevelHorizonResponse, Status>> + Send + Sync + 'static;
    type SubscribeCalibrateGimbalAccelerometerStream: Stream<Item = Result<CalibrateGimbalAccelerometerResponse, Status>> + Send + Sync + 'static;
    fn subscribe_calibrate_gyro<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SubscribeCalibrateGyroRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeCalibrateGyroStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn subscribe_calibrate_accelerometer<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SubscribeCalibrateAccelerometerRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeCalibrateAccelerometerStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn subscribe_calibrate_magnetometer<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SubscribeCalibrateMagnetometerRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeCalibrateMagnetometerStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn subscribe_calibrate_level_horizon<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SubscribeCalibrateLevelHorizonRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeCalibrateLevelHorizonStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn subscribe_calibrate_gimbal_accelerometer<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SubscribeCalibrateGimbalAccelerometerRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeCalibrateGimbalAccelerometerStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn cancel<'life0, 'async_trait>(
        &'life0 self,
        request: Request<CancelRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<CancelResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with CalibrationServiceServer.

Associated Types

Server streaming response type for the SubscribeCalibrateGyro method.

Server streaming response type for the SubscribeCalibrateAccelerometer method.

Server streaming response type for the SubscribeCalibrateMagnetometer method.

Server streaming response type for the SubscribeCalibrateLevelHorizon method.

Server streaming response type for the SubscribeCalibrateGimbalAccelerometer method.

Required methods

Perform gyro calibration.

Perform accelerometer calibration.

Perform magnetometer calibration.

Perform board level horizon calibration.

Perform gimbal accelerometer calibration.

Cancel ongoing calibration process.

Implementors