mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-02 13:29:30 +08:00
b4adcd2e56
* completely untested
* it builds now
* bug fixes, save 1ms
* using a kernel to copy works
* more sane API to loadyuv
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 83ff9ca331
11 lines
342 B
C++
11 lines
342 B
C++
#pragma once
|
|
class RunModel {
|
|
public:
|
|
virtual void addRecurrent(float *state, int state_size) {}
|
|
virtual void addDesire(float *state, int state_size) {}
|
|
virtual void addTrafficConvention(float *state, int state_size) {}
|
|
virtual void execute(float *net_input_buf, int buf_size) {}
|
|
virtual void* getInputBuf() { return nullptr; }
|
|
};
|
|
|