CARLA
Loading...
Searching...
No Matches
carla::sensor::data::RadarMeasurement Class Reference

Measurement produced by a Radar. More...

#include <RadarMeasurement.h>

Inheritance diagram for carla::sensor::data::RadarMeasurement:

Public Member Functions

Super::size_type GetDetectionAmount () const
Public Member Functions inherited from carla::sensor::data::Array< data::RadarDetection >
reference at (size_type pos)
const_reference at (size_type pos) const
iterator begin ()
const_iterator begin () const
const_iterator cbegin () const
const_iterator cend () const
const_reverse_iterator crbegin () const
const_reverse_iterator crend () const
value_type * data ()
const value_type * data () const
bool empty () const
iterator end ()
const_iterator end () const
reference operator[] (size_type pos)
const_reference operator[] (size_type pos) const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
Public Member Functions inherited from carla::sensor::SensorData
size_t GetFrame () const
 Frame count when the data was generated.
const rpc::Transform & GetSensorTransform () const
 Sensor's transform when the data was generated.
double GetTimestamp () const
 Simulation-time when the data was generated.
virtual ~SensorData ()=default

Protected Types

using Serializer = s11n::RadarSerializer

Protected Member Functions

 RadarMeasurement (RawData &&data)
Protected Member Functions inherited from carla::sensor::data::Array< data::RadarDetection >
 Array (RawData &&data, FuncT get_offset)
 Array (size_t offset, RawData &&data)
const RawData & GetRawData () const
Protected Member Functions inherited from carla::sensor::SensorData
const auto & GetEpisode () const
 SensorData (const RawData &data)
 SensorData (size_t frame, double timestamp, const rpc::Transform &sensor_transform)

Protected Attributes

friend Serializer

Private Types

using Super = Array<data::RadarDetection>

Additional Inherited Members

Public Types inherited from carla::sensor::data::Array< data::RadarDetection >
using const_iterator
using const_pointer
using const_reference
using const_reverse_iterator
using iterator
using pointer
using reference
using reverse_iterator
using size_type
using value_type

Detailed Description

Measurement produced by a Radar.

Consists of an array of RadarDetection. A RadarDetection contains 4 floats: velocity, azimuth, altitude and depth

Definition at line 20 of file RadarMeasurement.h.

Member Typedef Documentation

◆ Serializer

◆ Super

Constructor & Destructor Documentation

◆ RadarMeasurement()

carla::sensor::data::RadarMeasurement::RadarMeasurement ( RawData && data)
inlineexplicitprotected

Member Function Documentation

◆ GetDetectionAmount()

Super::size_type carla::sensor::data::RadarMeasurement::GetDetectionAmount ( ) const
inline

Member Data Documentation

◆ Serializer

Definition at line 26 of file RadarMeasurement.h.


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