chrono::sensor::ChFilterGPSUpdate Class Reference
Description
Class for generating GPS data for a GPS sensor.
#include <ChFilterGPSUpdate.h>
Inheritance diagram for chrono::sensor::ChFilterGPSUpdate:

Collaboration diagram for chrono::sensor::ChFilterGPSUpdate:

Public Member Functions | |
| ChFilterGPSUpdate (ChVector3d gps_reference, std::shared_ptr< ChNoiseModel > noise_model) | |
| Class constructor. | |
| virtual void | Apply () |
| Apply function. Generates GPS data. | |
| virtual void | Initialize (std::shared_ptr< ChSensor > pSensor, std::shared_ptr< SensorBuffer > &bufferInOut) |
| Initializes all data needed by the filter access apply function. | |
Public Member Functions inherited from chrono::sensor::ChFilter | |
| virtual | ~ChFilter () |
| Virtual class desctructor. | |
| std::string & | Name () |
| Accesses the name of the filter. | |
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. | |
| 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
◆ ChFilterGPSUpdate()
| chrono::sensor::ChFilterGPSUpdate::ChFilterGPSUpdate | ( | ChVector3d | gps_reference, |
| std::shared_ptr< ChNoiseModel > | noise_model ) |
Class constructor.
- Parameters
-
gps_reference The GPS location of the simulation origin noise_model The noise model for augmenting the GPS data
Member Function Documentation
◆ Apply()
|
virtual |
Apply function. Generates GPS data.
Implements chrono::sensor::ChFilter.
◆ Initialize()
|
virtual |
Initializes all data needed by the filter access apply function.
- Parameters
-
pSensor A pointer to the sensor on which the filter is attached. bufferInOut A buffer that is passed into the filter.
Implements chrono::sensor::ChFilter.
The documentation for this class was generated from the following files:
- C:/M/B/src/chrono-9.0.1/src/chrono_sensor/filters/ChFilterGPSUpdate.h
- C:/M/B/src/chrono-9.0.1/src/chrono_sensor/filters/ChFilterGPSUpdate.cpp
Public Member Functions inherited from