mavsdk Namespace Reference


Namespace for all mavsdk types.

Data Structures

Enumerations

Type Description
enum ConnectionResult Result type returned when adding a connection.
enum ComponentType Component Types.

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 ComponentType

#include: system.h

Component Types.

Value Description
UNKNOWN
AUTOPILOT
CAMERA
GIMBAL

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-2019. License: CC BY 4.0            Updated: 2020-06-05 09:10:43

results matching ""

    No results matching ""