CARLA
 
载入中...
搜索中...
未找到
RadarMeasurement.h
浏览该文件的文档.
1// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include "carla/Debug.h"
13
14namespace carla {
15namespace sensor {
16namespace data {
17
18 /// Measurement produced by a Radar. Consists of an array of RadarDetection.
19 /// A RadarDetection contains 4 floats: velocity, azimuth, altitude and depth
20 class RadarMeasurement : public Array<data::RadarDetection> {
22 protected:
23
25
26 friend Serializer;
27
29 : Super(0u, std::move(data)) {}
30
31 public:
32
34 return Super::size();
35 }
36 };
37
38} // namespace data
39} // namespace sensor
40} // 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 sensor data consisting of an array of items.
Definition Array.h:23
Measurement produced by a Radar.
Super::size_type GetDetectionAmount() const
Serializes the data generated by Radar sensors.
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133