chrono::sensor::ChFilterMagnetometerUpdate Class Reference

Description

Class for generating IMU data.

#include <ChFilterIMUUpdate.h>

Inheritance diagram for chrono::sensor::ChFilterMagnetometerUpdate:
Collaboration diagram for chrono::sensor::ChFilterMagnetometerUpdate:

Public Member Functions

 ChFilterMagnetometerUpdate (std::shared_ptr< ChNoiseModel > noise_model, ChVector< double > gps_reference)
 Class constructor. More...
 
virtual void Apply ()
 Apply function. More...
 
virtual void Initialize (std::shared_ptr< ChSensor > pSensor, std::shared_ptr< SensorBuffer > &bufferInOut)
 Initializes all data needed by the filter access apply function. More...
 
- Public Member Functions inherited from chrono::sensor::ChFilter
virtual ~ChFilter ()
 Virtual class desctructor.
 
std::string & Name ()
 Accesses the name of the filter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from chrono::sensor::ChFilter
 ChFilter (std::string name)
 protected constructor for the filter which requires a name as input. More...
 
void InvalidFilterGraphNullBuffer (std::shared_ptr< ChSensor > pSensor)
 Error function for invalid filter graph: null buffer found.
 
void InvalidFilterGraphBufferTypeMismatch (std::shared_ptr< ChSensor > pSensor)
 Error function for invalid filter graph: type mismatch in graph.
 
void InvalidFilterGraphSensorTypeMismatch (std::shared_ptr< ChSensor > pSensor)
 Error function for invalid filter graph: type mismatch in graph.
 

Constructor & Destructor Documentation

◆ ChFilterMagnetometerUpdate()

chrono::sensor::ChFilterMagnetometerUpdate::ChFilterMagnetometerUpdate ( std::shared_ptr< ChNoiseModel noise_model,
ChVector< double >  gps_reference 
)

Class constructor.

Parameters
noise_modelThe noise model to use when augmenting the IMU data
gps_referenceThe GPS reference location for the simulation origin

Member Function Documentation

◆ Apply()

CH_SENSOR_API void chrono::sensor::ChFilterMagnetometerUpdate::Apply ( )
virtual

Apply function.

Generates IMU data.

Parameters
pSensorA pointer to the sensor on which the filter is attached.
bufferInOutA buffer that is passed into the filter.

Implements chrono::sensor::ChFilter.

◆ Initialize()

CH_SENSOR_API void chrono::sensor::ChFilterMagnetometerUpdate::Initialize ( std::shared_ptr< ChSensor pSensor,
std::shared_ptr< SensorBuffer > &  bufferInOut 
)
virtual

Initializes all data needed by the filter access apply function.

Parameters
pSensorA pointer to the sensor.
bufferInOutpointer to the process buffer

Implements chrono::sensor::ChFilter.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterIMUUpdate.h
  • /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterIMUUpdate.cpp