mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 05:52:12 +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: 83ff9ca3314b3d551949c822a98290713a0917bf
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; }
|
|
};
|
|
|