mavsdk Namespace Reference


Namespace for all mavsdk types.

Data Structures

Enumerations

Type Description
enum ConnectionResult Result type returned when adding a connection.
enum ForwardingOption ForwardingOption for Connection, used to set message forwarding option.

Functions

Type Name Description
std::ostream & operator<< (std::ostream & str, const ConnectionResult & result) Stream operator to print information about a ConnectionResult.

Enumeration Type Documentation

enum ConnectionResult

#include: connection_result.h

Result type returned when adding a connection.

Note: Mavsdk does not throw exceptions. Instead a result of this type will be returned when you add a connection: add_udp_connection().

Value Description
Success Connection succeeded.
Timeout Connection timed out.
SocketError Socket error.
BindError Bind error.
SocketConnectionError Socket connection error.
ConnectionError Connection error.
NotImplemented Connection type not implemented.
SystemNotConnected No system is connected.
SystemBusy System is busy.
CommandDenied Command is denied.
DestinationIpUnknown Connection IP is unknown.
ConnectionsExhausted Connections exhausted.
ConnectionUrlInvalid URL invalid.
BaudrateUnknown Baudrate unknown.

enum ForwardingOption

#include: mavsdk.h

ForwardingOption for Connection, used to set message forwarding option.

Value Description
ForwardingOff
ForwardingOn

Function Documentation

operator<<()

#include: connection_result.h
std::ostream& mavsdk::operator<<(std::ostream &str, const ConnectionResult &result)

Stream operator to print information about a ConnectionResult.

Parameters

Returns

 std::ostream & - A reference to the stream.

© Dronecode 2017-2020. License: CC BY 4.0            Updated: 2021-04-14 07:04:25

results matching ""

    No results matching ""