mavsdk::Offboard::PositionGlobalYaw Struct Reference

#include: offboard.h


Type for position commands in Global (Latitude, Longitude, Altitude) coordinates and yaw.

Public Types

Type Description
enum AltitudeType Possible altitude options.

Data Fields

double lat_deg {} - Latitude (in degrees)

double lon_deg {} - Longitude (in degrees)

float alt_m {} - altitude (in metres)

float yaw_deg {} - Yaw in degrees (0 North, positive is clock-wise looking from above)

AltitudeType altitude_type {} - altitude type for this position

Member Enumeration Documentation

enum AltitudeType

Possible altitude options.

Value Description
RelHome Altitude relative to the Home position.
Amsl Altitude above mean sea level (AMSL).
Agl Altitude above ground level (AGL).

Field Documentation

lat_deg

double mavsdk::Offboard::PositionGlobalYaw::lat_deg {}

Latitude (in degrees)

lon_deg

double mavsdk::Offboard::PositionGlobalYaw::lon_deg {}

Longitude (in degrees)

alt_m

float mavsdk::Offboard::PositionGlobalYaw::alt_m {}

altitude (in metres)

yaw_deg

float mavsdk::Offboard::PositionGlobalYaw::yaw_deg {}

Yaw in degrees (0 North, positive is clock-wise looking from above)

altitude_type

AltitudeType mavsdk::Offboard::PositionGlobalYaw::altitude_type {}

altitude type for this position

© MAVSDK Development Team 2017-2023. License: CC BY 4.0            Updated: 2023-12-27 03:10:20

results matching ""

    No results matching ""