Open 3D Engine ROS2 Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ROS2::GeoreferenceRequests Class Referenceabstract

Interface that allows to convert between level and WGS84 coordinates. More...

#include <GeoreferenceBus.h>

Public Member Functions

virtual WGS::WGS84Coordinate ConvertFromLevelToWGS84 (const AZ::Vector3 &xyz)=0
 
virtual AZ::Vector3 ConvertFromWGS84ToLevel (const WGS::WGS84Coordinate &latLon)=0
 
virtual AZ::Quaternion GetRotationFromLevelToENU ()=0
 

Detailed Description

Interface that allows to convert between level and WGS84 coordinates.

Member Function Documentation

◆ ConvertFromWGS84ToLevel()

virtual AZ::Vector3 ROS2::GeoreferenceRequests::ConvertFromWGS84ToLevel ( const WGS::WGS84Coordinate latLon)
pure virtual

Function converts from WGS84 coordinate system to Level's.

Parameters
latLonVector3 in WGS84 coordinate system, where x is latitude, y is longitude and z is altitude.
Returns
Vector3 in Level's coordinate system.

◆ GetRotationFromLevelToENU()

virtual AZ::Quaternion ROS2::GeoreferenceRequests::GetRotationFromLevelToENU ( )
pure virtual

Function returns rotation from Level's frame to ENU's (East-North-Up) rotation. Function is useful to fin georeference rotation of the level.

Returns
Quaternion in ENU coordinate system.

The documentation for this class was generated from the following file: