CARLA
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types | Private Attributes | List of all members
carla::sensor::data::GnssMeasurement Class Reference

A change of GNSS Measurement. More...

#include <GnssMeasurement.h>

+ Inheritance diagram for carla::sensor::data::GnssMeasurement:
+ Collaboration diagram for carla::sensor::data::GnssMeasurement:

Public Member Functions

double GetAltitude () const
 
geom::GeoLocation GetGeoLocation () const
 
double GetLatitude () const
 
double GetLongitude () const
 
- Public Member Functions inherited from carla::sensor::SensorData
size_t GetFrame () const
 Frame count when the data was generated. More...
 
const rpc::TransformGetSensorTransform () const
 Sensor's transform when the data was generated. More...
 
double GetTimestamp () const
 Simulation-time when the data was generated. More...
 
virtual ~SensorData ()=default
 

Protected Types

using Serializer = s11n::GnssSerializer
 

Protected Member Functions

 GnssMeasurement (const RawData &&data)
 
- Protected Member Functions inherited from carla::sensor::SensorData
const auto & GetEpisode () const
 
 SensorData (size_t frame, double timestamp, const rpc::Transform &sensor_transform)
 
 SensorData (const RawData &data)
 

Protected Attributes

friend Serializer
 

Private Types

using Super = SensorData
 

Private Attributes

geom::GeoLocation _geo_location
 

Detailed Description

A change of GNSS Measurement.

Definition at line 18 of file GnssMeasurement.h.

Member Typedef Documentation

◆ Serializer

Definition at line 24 of file GnssMeasurement.h.

◆ Super

Definition at line 20 of file GnssMeasurement.h.

Constructor & Destructor Documentation

◆ GnssMeasurement()

carla::sensor::data::GnssMeasurement::GnssMeasurement ( const RawData &&  data)
inlineexplicitprotected

Definition at line 28 of file GnssMeasurement.h.

References _geo_location, and carla::sensor::s11n::GnssSerializer::DeserializeRawData().

+ Here is the call graph for this function:

Member Function Documentation

◆ GetAltitude()

double carla::sensor::data::GnssMeasurement::GetAltitude ( ) const
inline

Definition at line 50 of file GnssMeasurement.h.

References _geo_location, and carla::geom::GeoLocation::altitude.

◆ GetGeoLocation()

geom::GeoLocation carla::sensor::data::GnssMeasurement::GetGeoLocation ( ) const
inline

Definition at line 38 of file GnssMeasurement.h.

References _geo_location.

◆ GetLatitude()

double carla::sensor::data::GnssMeasurement::GetLatitude ( ) const
inline

Definition at line 46 of file GnssMeasurement.h.

References _geo_location, and carla::geom::GeoLocation::latitude.

◆ GetLongitude()

double carla::sensor::data::GnssMeasurement::GetLongitude ( ) const
inline

Definition at line 42 of file GnssMeasurement.h.

References _geo_location, and carla::geom::GeoLocation::longitude.

Member Data Documentation

◆ _geo_location

geom::GeoLocation carla::sensor::data::GnssMeasurement::_geo_location
private

◆ Serializer

Definition at line 26 of file GnssMeasurement.h.


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