GeostorePoseProto

GoogleApi.ContentWarehouse.V1.Model.GeostorePoseProto


Table of Contents ▼

Jump to a specific part of the page:

Description

A pose is an object's position in space, as well as its orientation. All fields except lat and lng are optional. All fields are in the WGS-84 ellipsoid, and rotations are right-hand rule (i.e. if the right hand thumb points along a vector, curled fingers indicate positive rotation direction). An un-rotated pose would be pointing due North, along the surface of the ellipsoid. Rotations are applied in the order: yaw, pitch, roll. Note that the rotation axes are rotated along with the model for each rotation step. WARNING: This proto is not meant to be used directly. Please use the provided libraries: //geostore/base/public/pose.h //java/com/google/geostore/base/Pose.java

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. altitude (type: float(), default: nil)
    - The height of the pose. A positive height is above the WGS-84 ellipsoid in meters; negative is below.
  2. index (type: integer(), default: nil)
    - The index of the PoseProto in a list of PoseProtos.
  3. lat (type: float(), default: nil)
    - The latitude of the pose in degrees [-90, 90].
  4. lng (type: float(), default: nil)
    - The longitude of the pose in degrees (-180,180].
  5. pitch (type: float(), default: nil)
    - The rotation around the longitude line East tangent in degrees [-90, 90].
  6. roll (type: float(), default: nil)
    - The rotation around the latitude line North tangent in degrees (-180, 180].
  7. yaw (type: float(), default: nil)
    - The rotation around the Up vector, from North, in degrees (-180, 180].

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostorePoseProto{
altitude: float() | nil,
index: integer() | nil,
lat: float() | nil,
lng: float() | nil,
pitch: float() | nil,
roll: float() | nil,
yaw: float() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostorePoseProto