CARLA
 
载入中...
搜索中...
未找到
GnssMeasurement.h
浏览该文件的文档.
1// Copyright (c) 2019 Intel Labs.
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
10
12
13namespace carla {
14namespace sensor {
15namespace data {
16
17 /// A change of GNSS Measurement.
18 class GnssMeasurement : public SensorData {
19
21
22 protected:
23
25
26 friend Serializer;
27
28 explicit GnssMeasurement(const RawData &&data)
29 : Super(data){
30
32 _geo_location = gnss_data;
33
34 }
35
36 public:
37
41
42 double GetLongitude() const {
44 }
45
46 double GetLatitude() const {
48 }
49
50 double GetAltitude() const {
52 }
53
54 private:
55
57
58 };
59
60} // namespace data
61} // namespace sensor
62} // namespace carla
Wrapper around the raw data generated by a sensor plus some useful meta-information.
Definition RawData.h:21
Base class for all the objects containing data generated by a sensor.
Definition SensorData.h:22
SensorData(size_t frame, double timestamp, const rpc::Transform &sensor_transform)
Definition SensorData.h:25
A change of GNSS Measurement.
geom::GeoLocation GetGeoLocation() const
static geom::GeoLocation DeserializeRawData(const RawData &message)
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133