mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-23 06:43:55 +08:00
* update cereal * run but not use * log distraction type * regression scaling * clean up naming * add calib buf * add to header * fake model * no calib model * adjust threshs * 018a305f * fix bn * tweak1 * tweak2 * 0ff2/666 * tweak3 * t4 * t5 * fix out of bound * skip when replaying old segments * update ref * fix onnxmodel * get calib * update model replay refs * up ref
16 lines
558 B
C++
16 lines
558 B
C++
#pragma once
|
|
class RunModel {
|
|
public:
|
|
virtual ~RunModel() {}
|
|
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 addCalib(float *state, int state_size) {}
|
|
virtual void addImage(float *image_buf, int buf_size) {}
|
|
virtual void addExtra(float *image_buf, int buf_size) {}
|
|
virtual void execute() {}
|
|
virtual void* getInputBuf() { return nullptr; }
|
|
virtual void* getExtraBuf() { return nullptr; }
|
|
};
|
|
|