Rtk

class mavsdk.rtk.RtcmData(data_base64)

Bases: object

RTCM data type

Parameters:

data_base64 (std::string) – The data encoded as a base64 string

class mavsdk.rtk.Rtk(async_plugin_manager)

Bases: AsyncBase

Service to send RTK corrections to the vehicle.

Generated by dcsdkgen - MAVSDK Rtk API

name = 'Rtk'
async send_rtcm_data(rtcm_data)

Send RTCM data.

Parameters:

rtcm_data (RtcmData) – The data

Raises:

RtkError – If the request fails. The error contains the reason for the failure.

exception mavsdk.rtk.RtkError(result, origin, *params)

Bases: Exception

Raised when a RtkResult is a fail code

class mavsdk.rtk.RtkResult(result, result_str)

Bases: object

Parameters:
  • result (Result) – Result enum value

  • result_str (std::string) – Human-readable English string describing the result

class Result(value)

Bases: Enum

Possible results returned for rtk requests.

Values

UNKNOWN

Unknown result

SUCCESS

Request succeeded

TOO_LONG

Passed data is too long

NO_SYSTEM

No system connected

CONNECTION_ERROR

Connection error

CONNECTION_ERROR = 4
NO_SYSTEM = 3
SUCCESS = 1
TOO_LONG = 2
UNKNOWN = 0