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.
  overloaded (Ts...)-> overloaded< Ts... > Template deduction helper for overloaded

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.

overloaded()

#include: plugin_base.h
mavsdk::overloaded(Ts...) -> overloaded< Ts... >

Template deduction helper for overloaded

Parameters

  • Ts... -
© MAVSDK Development Team 2017-2023. License: CC BY 4.0            Updated: 2023-12-27 03:58:12

results matching ""

    No results matching ""