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 //由雷达探测出来的雷达测量结果类。由一个RadarDetection数组的数据组成
19 ///一个RadarDetection包含四个浮点变量: 速度、朝向方位角、 海拔以及深度
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
包装一个传感器生成的原始数据以及一些有用的元信息。
Definition RawData.h:20
所有传感器数据的基类,包含一个项目数组。
Definition Array.h:23
一个RadarDetection包含四个浮点变量: 速度、朝向方位角、 海拔以及深度
Super::size_type GetDetectionAmount() const
Serializes the data generated by Radar sensors.
CARLA模拟器的主命名空间。
Definition Carla.cpp:139