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

Measurement produced by a Radar. More...

#include <RadarMeasurement.h>

+ Inheritance diagram for carla::sensor::data::RadarMeasurement:
+ Collaboration 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_typedata ()
const value_typedata () 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. 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::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 RawDataGetRawData () const
- 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 = Array< data::RadarDetection >

Additional Inherited Members

- Public Types inherited from carla::sensor::data::Array< data::RadarDetection >
using const_iterator = typename std::add_const< value_type >::type *
using const_pointer = typename std::add_const< value_type >::type *
using const_reference = typename std::add_const< value_type >::type &
using const_reverse_iterator = std::reverse_iterator< const_iterator >
using iterator = value_type *
using pointer = value_type *
using reference = value_type &
using reverse_iterator = std::reverse_iterator< iterator >
using size_type = size_t
using value_type = data::RadarDetection

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

Definition at line 24 of file RadarMeasurement.h.

◆ Super

Definition at line 21 of file RadarMeasurement.h.

Constructor & Destructor Documentation

◆ RadarMeasurement()

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

Definition at line 28 of file RadarMeasurement.h.

Member Function Documentation

◆ GetDetectionAmount()

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

Definition at line 33 of file RadarMeasurement.h.

References carla::sensor::data::Array< data::RadarDetection >::size().

+ Here is the call graph for this function:

Member Data Documentation

◆ Serializer

Definition at line 26 of file RadarMeasurement.h.

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