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

#include <IMUMeasurement.h>

+ Inheritance diagram for carla::sensor::data::IMUMeasurement:
+ Collaboration diagram for carla::sensor::data::IMUMeasurement:

Public Member Functions

geom::Vector3D GetAccelerometer () const
 
float GetCompass () const
 
geom::Vector3D GetGyroscope () 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::IMUSerializer
 
using Super = SensorData
 

Protected Member Functions

 IMUMeasurement (const RawData &data)
 
- 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 Attributes

geom::Vector3D _accelerometer
 
float _compass
 
geom::Vector3D _gyroscope
 

Detailed Description

Definition at line 17 of file IMUMeasurement.h.

Member Typedef Documentation

◆ Serializer

Definition at line 22 of file IMUMeasurement.h.

◆ Super

Definition at line 20 of file IMUMeasurement.h.

Constructor & Destructor Documentation

◆ IMUMeasurement()

carla::sensor::data::IMUMeasurement::IMUMeasurement ( const RawData data)
inlineexplicitprotected

Definition at line 26 of file IMUMeasurement.h.

Member Function Documentation

◆ GetAccelerometer()

geom::Vector3D carla::sensor::data::IMUMeasurement::GetAccelerometer ( ) const
inline

Definition at line 34 of file IMUMeasurement.h.

References _accelerometer.

◆ GetCompass()

float carla::sensor::data::IMUMeasurement::GetCompass ( ) const
inline

Definition at line 42 of file IMUMeasurement.h.

References _compass.

◆ GetGyroscope()

geom::Vector3D carla::sensor::data::IMUMeasurement::GetGyroscope ( ) const
inline

Definition at line 38 of file IMUMeasurement.h.

References _gyroscope.

Member Data Documentation

◆ _accelerometer

geom::Vector3D carla::sensor::data::IMUMeasurement::_accelerometer
private

Definition at line 48 of file IMUMeasurement.h.

Referenced by GetAccelerometer().

◆ _compass

float carla::sensor::data::IMUMeasurement::_compass
private

Definition at line 50 of file IMUMeasurement.h.

Referenced by GetCompass().

◆ _gyroscope

geom::Vector3D carla::sensor::data::IMUMeasurement::_gyroscope
private

Definition at line 49 of file IMUMeasurement.h.

Referenced by GetGyroscope().

◆ Serializer

Definition at line 24 of file IMUMeasurement.h.


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