diff --git a/pkg/dialects/all/enum_mav_frame.go b/pkg/dialects/all/enum_mav_frame.go index a13515768..247dca144 100644 --- a/pkg/dialects/all/enum_mav_frame.go +++ b/pkg/dialects/all/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/ardupilotmega/enum_mav_frame.go b/pkg/dialects/ardupilotmega/enum_mav_frame.go index bbc195183..e5185c94a 100644 --- a/pkg/dialects/ardupilotmega/enum_mav_frame.go +++ b/pkg/dialects/ardupilotmega/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/asluav/enum_mav_frame.go b/pkg/dialects/asluav/enum_mav_frame.go index 6f5d6cf79..01f1cc6a1 100644 --- a/pkg/dialects/asluav/enum_mav_frame.go +++ b/pkg/dialects/asluav/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/avssuas/enum_mav_frame.go b/pkg/dialects/avssuas/enum_mav_frame.go index 255283e62..136dc0eb0 100644 --- a/pkg/dialects/avssuas/enum_mav_frame.go +++ b/pkg/dialects/avssuas/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/common/enum_mav_frame.go b/pkg/dialects/common/enum_mav_frame.go index 6a42c6f87..4d75a150e 100644 --- a/pkg/dialects/common/enum_mav_frame.go +++ b/pkg/dialects/common/enum_mav_frame.go @@ -22,21 +22,19 @@ import ( type MAV_FRAME uint64 const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = 0 // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = 1 // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = 2 // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = 3 // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = 4 - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = 5 // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = 6 // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = 7 @@ -44,9 +42,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = 8 // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = 9 - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = 10 - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = 11 // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = 12 diff --git a/pkg/dialects/common/message_position_target_global_int.go b/pkg/dialects/common/message_position_target_global_int.go index 99a1ce7b2..e879aa3de 100644 --- a/pkg/dialects/common/message_position_target_global_int.go +++ b/pkg/dialects/common/message_position_target_global_int.go @@ -6,13 +6,13 @@ package common type MessagePositionTargetGlobalInt struct { // Timestamp (time since system boot). The rationale for the timestamp in the setpoint is to allow the system to compensate for the transport delay of the setpoint. This allows the system to compensate processing latency. TimeBootMs uint32 - // Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 + // Valid options are: MAV_FRAME_GLOBAL = 0, MAV_FRAME_GLOBAL_RELATIVE_ALT = 3, MAV_FRAME_GLOBAL_TERRAIN_ALT = 10 (MAV_FRAME_GLOBAL_INT, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT are allowed synonyms, but have been deprecated) CoordinateFrame MAV_FRAME `mavenum:"uint8"` // Bitmap to indicate which dimensions should be ignored by the vehicle. TypeMask POSITION_TARGET_TYPEMASK `mavenum:"uint16"` - // X Position in WGS84 frame + // Latitude in WGS84 frame LatInt int32 - // Y Position in WGS84 frame + // Longitude in WGS84 frame LonInt int32 // Altitude (MSL, AGL or relative to home altitude, depending on frame) Alt float32 diff --git a/pkg/dialects/common/message_set_position_target_global_int.go b/pkg/dialects/common/message_set_position_target_global_int.go index 17d6e94b0..8cde7435d 100644 --- a/pkg/dialects/common/message_set_position_target_global_int.go +++ b/pkg/dialects/common/message_set_position_target_global_int.go @@ -10,13 +10,13 @@ type MessageSetPositionTargetGlobalInt struct { TargetSystem uint8 // Component ID TargetComponent uint8 - // Valid options are: MAV_FRAME_GLOBAL_INT = 5, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT = 6, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT = 11 + // Valid options are: MAV_FRAME_GLOBAL = 0, MAV_FRAME_GLOBAL_RELATIVE_ALT = 3, MAV_FRAME_GLOBAL_TERRAIN_ALT = 10 (MAV_FRAME_GLOBAL_INT, MAV_FRAME_GLOBAL_RELATIVE_ALT_INT, MAV_FRAME_GLOBAL_TERRAIN_ALT_INT are allowed synonyms, but have been deprecated) CoordinateFrame MAV_FRAME `mavenum:"uint8"` // Bitmap to indicate which dimensions should be ignored by the vehicle. TypeMask POSITION_TARGET_TYPEMASK `mavenum:"uint16"` - // X Position in WGS84 frame + // Latitude in WGS84 frame LatInt int32 - // Y Position in WGS84 frame + // Longitude in WGS84 frame LonInt int32 // Altitude (MSL, Relative to home, or AGL - depending on frame) Alt float32 diff --git a/pkg/dialects/cubepilot/enum_mav_frame.go b/pkg/dialects/cubepilot/enum_mav_frame.go index 633a00ff5..bedbec025 100644 --- a/pkg/dialects/cubepilot/enum_mav_frame.go +++ b/pkg/dialects/cubepilot/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/development/enum_mav_frame.go b/pkg/dialects/development/enum_mav_frame.go index d9ae26cc7..eb3739f07 100644 --- a/pkg/dialects/development/enum_mav_frame.go +++ b/pkg/dialects/development/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/matrixpilot/enum_mav_frame.go b/pkg/dialects/matrixpilot/enum_mav_frame.go index 6645cf26c..1b3de9186 100644 --- a/pkg/dialects/matrixpilot/enum_mav_frame.go +++ b/pkg/dialects/matrixpilot/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/paparazzi/enum_mav_frame.go b/pkg/dialects/paparazzi/enum_mav_frame.go index a8bfe5b5b..30dc85bb8 100644 --- a/pkg/dialects/paparazzi/enum_mav_frame.go +++ b/pkg/dialects/paparazzi/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/pythonarraytest/enum_mav_frame.go b/pkg/dialects/pythonarraytest/enum_mav_frame.go index cb35e3b06..f7961855e 100644 --- a/pkg/dialects/pythonarraytest/enum_mav_frame.go +++ b/pkg/dialects/pythonarraytest/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/storm32/enum_mav_frame.go b/pkg/dialects/storm32/enum_mav_frame.go index 7160cff6d..2c821c7f7 100644 --- a/pkg/dialects/storm32/enum_mav_frame.go +++ b/pkg/dialects/storm32/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/ualberta/enum_mav_frame.go b/pkg/dialects/ualberta/enum_mav_frame.go index aec710ac8..fd4d3db51 100644 --- a/pkg/dialects/ualberta/enum_mav_frame.go +++ b/pkg/dialects/ualberta/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD diff --git a/pkg/dialects/uavionix/enum_mav_frame.go b/pkg/dialects/uavionix/enum_mav_frame.go index 884cd08d0..b268ca6a6 100644 --- a/pkg/dialects/uavionix/enum_mav_frame.go +++ b/pkg/dialects/uavionix/enum_mav_frame.go @@ -21,21 +21,19 @@ import ( type MAV_FRAME = common.MAV_FRAME const ( - // Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL MAV_FRAME = common.MAV_FRAME_GLOBAL // NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth. MAV_FRAME_LOCAL_NED MAV_FRAME = common.MAV_FRAME_LOCAL_NED // NOT a coordinate frame, indicates a mission command. MAV_FRAME_MISSION MAV_FRAME = common.MAV_FRAME_MISSION // Global (WGS84) coordinate frame + altitude relative to the home position. - // First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT // ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth. MAV_FRAME_LOCAL_ENU MAV_FRAME = common.MAV_FRAME_LOCAL_ENU - // Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL). + // Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL). MAV_FRAME_GLOBAL_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_INT // Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. - // First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home position. MAV_FRAME_GLOBAL_RELATIVE_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT // NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle. MAV_FRAME_LOCAL_OFFSET_NED MAV_FRAME = common.MAV_FRAME_LOCAL_OFFSET_NED @@ -43,9 +41,9 @@ const ( MAV_FRAME_BODY_NED MAV_FRAME = common.MAV_FRAME_BODY_NED // This is the same as MAV_FRAME_BODY_FRD. MAV_FRAME_BODY_OFFSET_NED MAV_FRAME = common.MAV_FRAME_BODY_OFFSET_NED - // Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT - // Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. + // Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level). MAV_FRAME_GLOBAL_TERRAIN_ALT_INT MAV_FRAME = common.MAV_FRAME_GLOBAL_TERRAIN_ALT_INT // FRD local frame aligned to the vehicle's attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle. MAV_FRAME_BODY_FRD MAV_FRAME = common.MAV_FRAME_BODY_FRD