mavsdk Namespace Reference
Namespace for all mavsdk types.
Data Structures
- mavsdk::Action
- mavsdk::Calibration
- mavsdk::Camera
- mavsdk::FollowMe
- mavsdk::Ftp
- mavsdk::Geofence
- mavsdk::Gimbal
- mavsdk::Info
- mavsdk::LogFiles
- mavsdk::MavlinkPassthrough
- mavsdk::Mavsdk
- mavsdk::Mission
- mavsdk::MissionRaw
- mavsdk::Mocap
- mavsdk::Offboard
- mavsdk::Param
- mavsdk::PluginBase
- mavsdk::Shell
- mavsdk::System
- mavsdk::Telemetry
- mavsdk::Tune
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
- std::ostream& str -
- const ConnectionResult& result -
Returns
std::ostream & - A reference to the stream.