chrono::sensor::ChFilterONNX Class Reference

Description

A filter that processes data through a pre-trained neural network, based on ONNX format.

#include <ChFilterONNX.h>

Inheritance diagram for chrono::sensor::ChFilterONNX:
Collaboration diagram for chrono::sensor::ChFilterONNX:

Public Member Functions

 ChFilterONNX (std::string name={})
 Class constructor.
 
virtual void Apply (std::shared_ptr< ChSensor > pSensor, std::shared_ptr< SensorBuffer > &bufferInOut)
 Apply function runs data through neural network. More...
 
virtual void Initialize (std::shared_ptr< ChSensor > pSensor)
 Initialize function for generating any information or structures needed once. 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...
 

Member Function Documentation

◆ Apply()

void chrono::sensor::ChFilterONNX::Apply ( std::shared_ptr< ChSensor pSensor,
std::shared_ptr< SensorBuffer > &  bufferInOut 
)
virtual

Apply function runs data through neural network.

Parameters
pSensorThe sensor used for processing @bufferInOut A shared pointer for passing data between filters

Implements chrono::sensor::ChFilter.

◆ Initialize()

void chrono::sensor::ChFilterONNX::Initialize ( std::shared_ptr< ChSensor pSensor)
virtual

Initialize function for generating any information or structures needed once.

Parameters
pSensorThe sensor used for processing

Implements chrono::sensor::ChFilter.


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