mavsdk Namespace Reference
Namespace for all mavsdk types.
Data Structures
- mavsdk::CallbackListImpl
- mavsdk::CallbackList
- mavsdk::FakeHandle
- mavsdk::Handle
- mavsdk::Mavsdk
- mavsdk::overloaded
- mavsdk::PluginBase
- mavsdk::Action
- mavsdk::ActionServer
- mavsdk::Calibration
- mavsdk::Camera
- mavsdk::CameraServer
- mavsdk::ComponentInformation
- mavsdk::ComponentInformationServer
- mavsdk::Failure
- mavsdk::FollowMe
- mavsdk::Ftp
- mavsdk::FtpServer
- mavsdk::Geofence
- mavsdk::Gimbal
- mavsdk::Gripper
- mavsdk::Info
- mavsdk::LogFiles
- mavsdk::ManualControl
- mavsdk::MavlinkPassthrough
- mavsdk::Mission
- mavsdk::MissionRaw
- mavsdk::MissionRawServer
- mavsdk::Mocap
- mavsdk::Offboard
- mavsdk::Param
- mavsdk::ParamServer
- mavsdk::Rtk
- mavsdk::ServerUtility
- mavsdk::Shell
- mavsdk::Telemetry
- mavsdk::TelemetryServer
- mavsdk::TrackingServer
- mavsdk::Transponder
- mavsdk::Tune
- mavsdk::Winch
- mavsdk::ServerComponent
- mavsdk::ServerPluginBase
- mavsdk::System
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
- std::ostream& str -
- const ConnectionResult& result -
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... -