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="ChFilterONNX")
 Class constructor.
 
virtual void Apply ()
 Apply function runs data through neural network.
 
virtual void Initialize (std::shared_ptr< ChSensor > pSensor, std::shared_ptr< SensorBuffer > &bufferInOut)
 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...
 
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.
 

Member Function Documentation

◆ Initialize()

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

Initialize function for generating any information or structures needed once.

Parameters
pSensorThe sensor used for processing
bufferInOutA shared pointer for passing data between filters

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